Entering content frameInternal Tables as Interface Parameters Locate the document in its SAP Library structure

Like other data objects, you can pass internal tables by value or reference to parameter interfaces of procedures. If an internal table has a header line, you must indicate that you want to address the body of the table by placing two brackets ([ ]) after the table name.

You can define the formal parameters of the parameter interfaces of procedures as internal tables. When you do this, you can use both the predefined generic types in the TYPE addition and the generic internal table types.

To ensure compatibility with previous releases, you can also specify formal parameters in subroutines and function modules as TABLES parameters. This defines a formal parameter as a standard table with default key and header line. Whenever you pass a table without a header line as an actual parameter to a formal parameter with a header line (TABLES), the system automatically creates the corresponding header line in the routine.

 

 

 

 

 

 

Leaving content frame