SAP FORM TABLES ABAP Statements

Get Example source ABAP code based on a different SAP table
  



FORM - table_parameters

Short Reference

ABAP Syntax(Obsolete)... t1 [{TYPE itab_type}|{LIKE itab}|{STRUCTURE struc}]
t2 [{TYPE itab_type}|{LIKE itab}|{STRUCTURE struc}]
... .

What does it do? Defines table parameters t1 t2 ... for subroutines

A table type table_type or an internal table itab from the table category standard table can be specified after the additions TYPE and LIKE.

The additions TYPE and LIKE type the row type of the formal parameter with the row type of the specified internal table. The other obsolete addition, STRUCTURE, stamps the row type with the flat structure struc.

When TABLES parameters are accessed that are not bound to any type-compliant actual parameters, the same exception situation can arise as in function modules.



Latest notes:The definition of table parameters is obsolete and can be
replaced by general formal parameters defined using USING and CHANGING.

Return to menu