SAP Tutorials Blog


 

 


Report ZMEOperator1. 

CLASS class1 Definition.

   PUBLIC Section. 

odData text1 Type char25 Value 'This is CLASS Attribute'.

   Meths method1. 

ENDCLASS. 


CLASS class1 Implementation.

   Method method1. 

Data text1 Type char25 Value 'This is METHOD Attribute'.

   Write: / ME→text1,

          / text1.

   ENDMethod.

ENDCLASS. 


Start-Of-Selection.

   Data objectx Type Ref To class1.

   Create Object objectx.

   CALL Method objectx→method1.


Serkan AKKAVAK

Computer Engineer BSc

Head of SAP & Software Department

Contact : serkurumsal@yandex.com