Ansicht
Dokumentation

ABAPCALL_METHOD_SHORTREF - CALL METHOD SHORTREF

ABAPCALL_METHOD_SHORTREF - CALL METHOD SHORTREF

Vendor Master (General Section)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

CALL METHOD

Reference



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

Dynamic method call.

Additions

Specifies the method:

Specifies the parameters:

  • 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 codes to non-class-based exceptions using an internal table etab of type abap_excpbind_tab.





Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.

Length: 4106 Date: 20240517 Time: 132511     sap01-206 ( 30 ms )