Understanding ‘me’ Variable in OO ABAP

Often times you might have come across me variable in OO ABAP today with an small example we will see how it is being used in the programs *&---------------------------------------------------------------------**& Report y_class_basics*&---------------------------------------------------------------------**&*&---------------------------------------------------------------------*report y_class_basics.class abap_basics definition.public section. data : num type i value '10'. methods display.endclass.class abap_basics implementation. method display. data : num type i value '200'. … Continue reading Understanding ‘me’ Variable in OO ABAP

OO ALV FACTORY METHOD

CL_SALV_TABLE is the class used for this purpose When ever we use ALV factory methods to display ALV, we don`t need to create any field catalog, we can directly add our user defined tables instance as it automatically determine fields and displays. Below demonstrate a nice example REPORT ZSAPN_ALV_MARA_FACTORY. TYPES: BEGIN OF TY_MARA, MATNR TYPE … Continue reading OO ALV FACTORY METHOD