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

Calls a method. In the static form, all forms of the parameter list can be placed in brackets; in bracketed parameter lists, you can omit CALL METHOD. In the dynamic form, certain static specifications are possible.

Additions

Specify the Method:

Specify the Parameters:

Specify the Exceptions:

Specify Parameters and Exceptions in Tables: