Ansicht
Dokumentation

ABAPFORM_TABLES - FORM TABLES

ABAPFORM_TABLES - FORM TABLES

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

FORM, table_parameters

Short Reference



... t1 $[${TYPE itab_type$}$|${LIKE itab$}$|${STRUCTURE struc$}$]
    t2 $[${TYPE itab_type$}$|${LIKE itab$}$|${STRUCTURE struc$}$]
    ...

Effect

Defines table parameters t1 t2 ... for subroutines. A table parameter is typed as follows:

  • A table type itab_type of the table category standard table can be specified after the addition TYPE. Both complete and generic table types are possible, as well as the built-in generic type STANDARD TABLE.
  • An internal table itab of the table category standard table can be specified after the addition LIKE. The technical properties of this internal type are applied completely.
  • If nothing is specified explicitly, TYPE STANDARD TABLE is used implicitly as the typing.

The additions TYPE and LIKE type the formal parameter either generically or completely. The addition STRUCTURE applies the structure struc to the line type. The table key remains generic. In generic typings, the formal parameter takes the non-fixed technical type properties from the actual parameter and the usual typing rules apply.

When TABLES parameters are accessed to which no type-friendly actual parameters are bound, the same exception situation can occur as in function modules.

Notes

  • The definition of table parameters is obsolete and can be replaced by general formal parameters defined using USING and CHANGING.
  • The table key of a table parameter is either defined completely in the typing or it is taken from the actual parameter in the case of generic typing. This means that the table key of a table parameter is not necessarily the standard key.





RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 3020 Date: 20240420 Time: 153746     sap01-206 ( 48 ms )