ABAPCALL_METHOD_SHORTREF - CALL METHOD SHORTREF
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up General Data in Customer MasterThis documentation is copyright by SAP AG.
CALL METHOD
Syntax Forms
Static form
[CALL METHOD] {meth
|oref->meth
|super->meth
|class=>meth}( { }
| { a }
| p1 = a1 p2 = a2 ...
| { [EXPORTING p1 = a1 p2 = a2 ...]
{{[IMPORTING p1 = a1 p2 = a2 ...]
[CHANGING p1 = a1 p2 = a2 ...]}
| [RECEIVING r = a ]}
[EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
[OTHERS = n_others]] } ).
Dynamische Form
CALL METHOD {(meth_name)
|oref->(meth_name)
|(class_name)=>(meth_name)
|class=>(meth_name)
|(class_name)=>meth}
[PARAMETER-TABLE ptab]
[EXCEPTION-TABLE etab].
Effect
Calls a method. In the static form, all forms of the parameter list can be placed in brackets; in bracketedparameter lists, you can omit CALL METHOD. In the dynamic form, certain static specifications are possible.
Additions
Specify the Method:
- meth - Method meth of the same class.
- oref->meth -Instance method meth of the object referenced by oref.
- super->meth - Method of same name meth in the direct superclass.
- class=>meth -Static method meth of class class.
- (meth_name) - Method contained in meth_name.
- (class_name) - Class contained in class_name.
Specify the Parameters:
- ( )
Short form for the call of a method without passing a parameter. - ( a )
Short form for the call of a method, thereby passing a single parameter
a. - ( p1 = a1 p2 = a2 ... )
Short form for the call of a method, thereby passing several parameters
a1, a2, ... - EXPORTING p1 = a1 p2 = a2 ...
Passes actual parameters a1, a2, ... to input parameters p1, p2, ... - IMPORTING p1 = a1 p2 = a2 ...
Copies output parameters p1, p2, ... into actual parameters a1, a2, ... - CHANGING p1 = a1 p2 = a2 ...
Assigns actual parameters a1, a2, ... to input/output parameters p1, p2, ... - RECEIVING r = a
Copies the return value r into the actual parameter a.
Specify the Exceptions:
- EXCEPTIONS
Allows handling of non-class-based exceptions:
exc1 = n1 exc2 = n2 ... - Assigns to the classic exceptions
exc1, exc2, ... numbers n1, n2, ... for the return value sy-subrc.
OTHERS = n_others - Assigns to all not explicitly named exceptions a number n_others for the return value sy-subrc.
Specify Parameters and Exceptions in Tables:
- PARAMETER-TABLE ptab
Assigns dynamic actual parameters to formal parameters using an internal table ptab of type ABAP_ PARMBIND_TAB. - EXCEPTION-TABLE etab
Assigns dynamic return values to non-class-based exceptions using an internal table etab of type ABAP_EXCPBIND_TAB.
rdisp/max_wprun_time - Maximum work process run time General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 7542 Date: 20120518 Time: 201457 triton ( 150 ms )






