CALL METHOD - parameter_tables

Syntax

... [PARAMETER-TABLE ptab]
    [EXCEPTION-TABLE etab].

Extras:

1. ... PARAMETER-TABLE ptab

2. ... EXCEPTION-TABLE etab

Effect

These additions use the special internal tables ptab and etab to assign actual parameters to the formal parameters of the parameter interface of method meth or to assign return values using non-class-based exceptions.

Addition 1

... PARAMETER-TABLE ptab

Effect

Use PARAMETER-TABLE to assign actual parameters to all formal parameters of a dynamically called method. For ptab, specify a hashed table of table type ABAP_PARMBIND_TAB or of row type ABAP_PARMBIND from the type group ABAP. During execution of the CALL METHOD statement, this table must contain exactly one row for every non-optional formal parameter and can contain exactly one row for every optional formal parameter. The table columns are:

The column NAME is the unique key of table ptab.

Addition 2

... EXCEPTION-TABLE etab

Effect

Use EXCEPTION-TABLE to assign return values to all non-class-based exceptions of a dynamically called method. For etab, specify a hashed table of table type ABAP_EXCPBIND_TAB or of row type ABAP_EXCPBIND from the type group ABAP. During execution of the statement CALL METHOD, this table can contain exactly one row for every non-class-based exception of the method. The table columns are:

The column NAME is the unique key of table etab.