Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

CALL METHOD - Quick reference

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

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