SAP ABAP Data Element BAPI_COMP (Representation of nested components)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-API (Application Component) BAPI Tools (for BAPIs see Note 813411)
     SBF_BAPI (Package) Business Framework BAPI, Central Modules, Tools
Basic Data
Data Element BAPI_COMP
Short Description Representation of nested components  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR255    
Data Type CHAR   Character String 
Length 255    
Decimal Places 0    
Output Length 255    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Component 
Medium 15 Component 
Long 40 Representation of nested components 
Heading  
Documentation

Definition

This field addresses a component of a complex data type for a variable. The nestings of the structures are represented by a string of component names and a hyphen '-':

P-{TFeld[i]-feld}*

where P: name of the variable

TFeld[i]: component name of the table type in line i

feld: component name

{.}*: can appear more than once

Use this to address the component 'feld' in the table 'TFeld' of line 'i', of variable 'P'.

For example, 'PARAM-RETN-MESSAGE[4]-NUMBER' means that the component 'NUMBER' is a component of the table type 'MESSAGE' in line '4'. 'MESSAGE' is a component of the structure 'RETN' and 'RETN' is a component of the variable 'PARAM'. Where 'PARAM' references a structure with the component 'RETN'.

History
Last changed by/on SAP  20010220 
SAP Release Created in 610