SAP ABAP Data Element CGDATRFB (Function Module for Reading Attributes)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       KC (Package) Cost Accounting Controlling EIS
Basic Data
Data Element CGDATRFB
Short Description Function Module for Reading Attributes  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
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 FM Attrib. 
Medium 17 FunctMod. Attribs 
Long 40 Function module to read attributes 
Heading 17 FunctMod. Attribs 
Documentation

Definition

Here you store the name of a function module, with which you read display attributes for a characteristic. You can choose any name, for example, Z_XX_ATTRIBUTES_GET. The function module must support the following interface. It receives the parameters FIENM and ATTRI. Parameter FIENM contains the name of the characteristic for which the attributes are to be read. Parameter ATTRI contains the attribute. If all attributes are to be read, a '*' is transferred.

Also, the table ICFAKEYS with the characteristic values to be read is transferred. The values of the attributes are to be returned in table ICFDSATR.

The parameters have the following types:

  1. The parameter FIENM is of the field type CDIFIE-FIENM.
  2. The parameter ATTRI is of the field type CDIFIE-FIENM.
  3. The table ICFAKEYS has the structure CFAKEYS.
  4. The table ICFDSATR has the structure CFDSATR.

The function module is called up from the function module RKC_DISP_ATR_GET. You are recommended to look at this function module.

Another example for calling up the function module:

call function Z_XX_ATTRIBUTES_GET
exporting
fienm = fienm
attri = attri
tables
icfakeys = icfakeys
icfdsatr = icfdsatr.

History
Last changed by/on SAP  19980331 
SAP Release Created in