SAP NetWeaver AS ABAP Release 750, ©Copyright 2016 SAP AG. All rights reserved.
ABAP - Keyword Documentation → ABAP - Reference → Calling and leaving program units → Calling Processing Blocks → Calling Procedures → Method Calls → Dynamic Method Call → CALL METHOD →
CALL METHOD - parameter_tables
Syntax
... [PARAMETER-TABLE ptab]
[EXCEPTION-TABLE etab].
Additions
1. ... PARAMETER-TABLE ptab
2. ... EXCEPTION-TABLE etab
Effect
In the dynamic method call these additions assign
actual parameters and exceptions to the formal parameters and non-class-based exceptions, respectively, using the special internal tables ptab and etab.
... PARAMETER-TABLE ptab
Effect
Use PARAMETER-TABLE to assign actual parameters to all formal parameters of a dynamically called method. ptab expects a hashed table of table type ABAP_PARMBIND_TAB or of row type ABAP_PARMBIND from the type group ABAP. When the statement CALL METHOD is executed, the table must contain exactly one row for each non-optional formal parameter; this row is optional for each optional formal parameter. The table columns are:
The column NAME is the unique key of table ptab.
... EXCEPTION-TABLE etab
Effect
Use EXCEPTION-TABLE to assign return values to all non-class-based exceptions of a dynamically called method. etab expects 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.