1.

How To Define A Class Locally?

Answer»

class <cl_name> definition.
Public section.
Methods: m1 IMPORTING p1 TYPE <c>
Exporting p2 type <i>
Changing p3 type <n>
RETURNING p4 type <i>
Exceptions <e1>.
Protected section.
Private section.
Endclass.
Class <c1_name> implementation.
Method m1.­­­­­­
Endmethod.
Endclass

class <cl_name> definition.
Public section.
Methods: m1 importing p1 type <c>
Exporting p2 type <i>
Changing p3 type <n>
Returning p4 type <i>
Exceptions <e1>.
Protected section.
Private section.
Endclass.
Class <c1_name> implementation.
Method m1.­­­­­­
Endmethod.
Endclass



Discussion

No Comment Found