SAP METHODS - Syntax ABAP Statements

Get Example source ABAP code based on a different SAP table
  


ABAP Code Snippet


ABAP Syntax METHODS meth [ABSTRACT|FINAL]

[FOR EVENT evt OF {class|intf}]
[ IMPORTING {{VALUE(p1)|REFERENCE(p1)|p1} typing [OPTIONAL|DEFAULT def1]
{VALUE(p2)|REFERENCE(p2)|p2} typing [OPTIONAL|DEFAULT def2]
... }
[PREFERRED PARAMETER p] ]
[ EXPORTING {{VALUE(p1)|REFERENCE(p1)|p1} typing
{VALUE(p2)|REFERENCE(p2)|p2} typing
... } ]
[ CHANGING {{VALUE(p1)|REFERENCE(p1)|p1} typing [OPTIONAL|DEFAULT def1]
{VALUE(p2)|REFERENCE(p2)|p2} typing [OPTIONAL|DEFAULT def2]
... } ]
[ RETURNING {VALUE(r)} typing ]
[ {RAISING exc1|RESUMABLE(exc1) exc2|RESUMABLE(exc2) ...}
| {EXCEPTIONS exc1 exc2 ...} ].

Return to menu