ABAP Keyword Documentation → ABAP - Quick Reference
CALL METHOD - Quick reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
CALL METHOD {(meth_name)
|oref->(meth_name)
|(class_name)=>(meth_name)
|class=>(meth_name)
|(class_name)=>meth}
[PARAMETER-TABLE ptab]
[EXCEPTION-TABLE etab].
Effect
Dynamic method call.
Additions
Specifies the method
-
(meth_name)(method contained inmeth_name) -
(class_name)(class contained inclass_name)
Specifies the parameters
-
PARAMETER-TABLE ptab
Assigns dynamic actual parameters to formal parameters using an internal tableptabof type ABAP_ PARMBIND_TAB. -
EXCEPTION-TABLE etab
Assigns dynamic return values to non-class-based exceptions using an internal tableetabof type ABAP_EXCPBIND_TAB.