Difference between Abstract and Interface in OOPS ABAP
Before going through the differences between Abstract and Interface in Object Oriented ABAP please check below links to get understanding of Abstract and Interface concepts. Abstract and Ab…
Before going through the differences between Abstract and Interface in Object Oriented ABAP please check below links to get understanding of Abstract and Interface concepts. Abstract and Ab…
How to change Short, medium and long text of column Class: CL_SALV_COLUMN_TABLE Methods: SET_LONG_TEXT SET_MEDIUM_TEXT SET_SHORT_TEXT The ALV report by default displays the short, medium …
Optimize Column width, Change color and Hide column in OO ALV To optimize the width, change the color or hide any column we must first get the columns from ALV table using method GET_COLUM…
How to set Title and Zebra Pattern in ALV report To change the display values or settings of ALV report we must use class CL_SALV_DISPLAY_SETTINGS. The following methods are used to set the…
How To Activate functions like Filter, Sort, Layout etc in OO ALV To activate the ALV tool bar functions we have to call get_functions from ALV instance and call method set_all with abap_t…
Header and Footer in Object Oriented ALV The class used for creating texts for Header and Footer in the below program is CL_SALV_FORM_LAYOUT_GRID. The below methods are used to set the text…
Totals and Subtotals in Object Oriented ALV Report The class used for getting the Total of any numeric column is CL_SALV_AGGREGATIONS. To get the aggregation or total value of any column we…
Interactive ALV Report Using Object Oriented Programming To create an interactive ALV report using Object oriented approach we must create events and event handler method to handle user act…
Type casting concept is related to inheritance. There are 2 types of casting Narrow Casting/Up Cast Widening Casting/Down Cast Narrow Casting/Up Cast: In Narrow Casting, the subclass i…
Abstract Class and Abstract Method in ABAP OOPS Abstract Class: It is a class which can’t be instantiated or a class for which objects cannot be created. The instance can be created only f…
Inheritance Concept in ABAP OOPS with Example Inheritance Child Class inheriting the properties of Parent class is known as Inheritance. In ABAP, a subclass can be created for existing clas…
Interface and Polymorphism in ABAP OOPS Interface The Interface is similar to class. Like class an interface also contains attributes, methods, and events but an interface contains only dec…
Understand the difference between Constructors and Static/Class Constructors in ABAP OOPS. Constructor is a special type of method which gets triggered during runtime. Whenever the object…
Events in Local Class Events are used to raise a message if any condition is met. For example, in our program we have a code where we need to fetch vendor details based on vendor entered in…