SAP TYPE TABLE FOR ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• TYPE TABLE FOR ABAP_BDEF_DERIV_TYPES
• ACTION IMPORT TYPE TABLE FOR
• ACTION RESULT TYPE TABLE FOR
• INSTANCE AUTHORIZATION KEY TYPE TABLE FOR
• AUTHORIZATION KEY TYPE TABLE FOR
• INSTANCE AUTHORIZATION RESULT TYPE TABLE FOR
• AUTHORIZATION RESULT TYPE TABLE FOR
• CHANGE TYPE TABLE FOR
• CREATE TYPE TABLE FOR
• DELETE TYPE TABLE FOR
• DETERMINATION TYPE TABLE FOR
• EVENT TYPE TABLE FOR
• FAILED TYPE TABLE FOR
• FAILED EARLY TYPE TABLE FOR
• FAILED LATE TYPE TABLE FOR
• HIERARCHY TYPE TABLE FOR
• INSTANCE FEATURES KEY TYPE TABLE FOR
• FEATURES KEY TYPE TABLE FOR
• INSTANCE FEATURES RESULT TYPE TABLE FOR
• FEATURES RESULT TYPE TABLE FOR
• FUNCTION IMPORT TYPE TABLE FOR
• FUNCTION RESULT TYPE TABLE FOR
• KEY OF TYPE TABLE FOR
• MAPPED TYPE TABLE FOR
• MAPPED EARLY TYPE TABLE FOR
• MAPPED LATE TYPE TABLE FOR
• PERMISSIONS KEY TYPE TABLE FOR
• READ IMPORT TYPE TABLE FOR
• READ RESULT TYPE TABLE FOR
• REPORTED TYPE TABLE FOR
• REPORTED EARLY TYPE TABLE FOR
• REPORTED LATE TYPE TABLE FOR
• UPDATE TYPE TABLE FOR
• VALIDATION TYPE TABLE FOR

TYPE TABLE FOR

ABAP_SYNTAX
... TABLE FOR ${ ACTION IMPORT bdef~action $}
$| ${ ACTION RESULT bdef~action $}
$| ${ $[INSTANCE$] AUTHORIZATION KEY bdef $[~group$] $}
$| ${ $[INSTANCE$] AUTHORIZATION RESULT bdef $[~group$] $}
$| ${ CHANGE bdef $}
$| ${ CREATE bdef $[ _assoc$] $}
$| ${ DELETE bdef $}
$| ${ DETERMINATION bdef~det $}
$| ${ EVENT bdef~evt $}
$| ${ FAILED $[EARLY $| LATE$] bdef $}
$| ${ HIERARCHY bdef $}
$| ${ $[INSTANCE$] FEATURES KEY bdef $[~group$] $}
$| ${ $[INSTANCE$] FEATURES RESULT bdef $[~group$] $}
$| ${ FUNCTION IMPORT bdef~function $}
$| ${ FUNCTION RESULT bdef~function $}
$| ${ KEY OF bdef $}
$| ${ MAPPED $[EARLY $| LATE$] bdef $}
$| ${ PERMISSIONS KEY bdef $}
$| ${ READ IMPORT bdef $[ _assoc$] $}
$| ${ READ LINK bdef _assoc $}
$| ${ READ RESULT bdef $[ _assoc$] $}
$| ${ REPORTED $[EARLY $| LATE$] bdef $}
$| ${ UPDATE bdef $}
$| ${ VALIDATION bdef~valid $} ...

What does it do?
Special ABAP type that is used for internal tables in the context of RAP to enable the communication between a RAP BO provider and a RAP BO consumer. These internal tables hold input parameters , or output parameters respectively, to enable mass processing of data by bundling ABAP_EML READ or MODIFY requests in one method call.
For all operations defined in the BDEF, ABAP types can be derived and used with this special syntax. The use is dependent on the definition in the BDEF. For example, if the operation create is not specified in the BDEF, TYPE TABLE FOR CREATE cannot be used.
The internal tables contain various special components, also depending on the BDEF. Generally, the tables are standard tables with an empty primary table key. However, most of the tables have predefined secondary table keys. Find more information in the topic Secondary Keys for BDEF Derived Types.