14 Şubat 2014 Cuma

Object Oriented - Multiple Inheritance in SAP


You have to use SE24 for  creating multiple Inheritence Object oriented  Class.
Step-1 : Select a name and press "Create" button. 


Step-2: For values, go to "Attribute".
IT_Result -> List of table record.
Gv_MBLNR-> for selecting the record.

Step-2: Go to "Methods". 
For selecting the record of table - SELECT_IT, 
For displaying the record - DISPLAY_IT. 


Step-3: Double click the SELECT_IT and write this code. 


Step-4: Double click the DISPLAY_IT and write this code.

Step-5: Then write a report to call the methods. 


Step-6: This is screen for running report with a parameter 

Final screen is as follows. 

Look at the table, for MJAHR = 2012 




Hiç yorum yok:

Yorum Gönder