CGDATR SAP (SAP-EIS: Characteristic attributes output structure) Structure details
Description: SAP-EIS: Characteristic attributes output structure
Structure field list including key, data, relationships and ABAP select examples
CGDATR is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "SAP-EIS: Characteristic attributes output structure" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_CGDATR TYPE CGDATR.
The CGDATR table consists of various fields, each holding specific information or linking keys about SAP-EIS: Characteristic attributes output structure data available in SAP. These include FIENM (Field Name), POSIT (Item), ATTRI (EC-EIS/EC-BP: Characteristic attribute), ROLNM (Data element (semantic domain)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP CGDATR structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
FIENM | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
POSIT | Item | CGSPOSIT | NUMC | 4 | AS4POS | ||||
ATTRI | EC-EIS/EC-BP: Characteristic attribute | CGDATTRI | CHAR | 30 | Assigned to domain | FDNAME | |||
ROLNM | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
ATRTP | Type of an attribute | CGDATRTP | CHAR | 3 | CGDATRTP | ||||
DIMFL | Attribute is a characteristic (flag) | CGDDIMFL | CHAR | 1 | XFELD | ||||
NDTEL | Data element navigation attribute | CGDNDTEL | CHAR | 30 | Assigned to domain | ROLLNAME | |||
NFINM | Field name navigation attribute | CGDFINM | CHAR | 30 | Assigned to domain | FDNAME | |||
TRANS | Attribute is multi-level (flag) | CGDTRANS | CHAR | 1 | XFELD | ||||
PHYTB | Physical table | CGDPHYTB | CHAR | 30 | Assigned to domain | AS4TAB | |||
ORFIE | Origin field | CGSORFIE | CHAR | 30 | Assigned to domain | FDNAME | |||
DOMNM | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
DTYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
DIGIT | Number of characters in field | CGSDIGIT | NUMC | 6 | NUM6 | ||||
ILENG | Internal Length in Bytes | INTLEN | NUMC | 6 | DDLENG | ||||
LCASE | Lowercase letters allowed/not allowed | LOWERCASE | CHAR | 1 | AS4FLAG | ||||
TXT_M | Description | CGSTXT_M | CHAR | 20 | TEXT20 | ||||
TXT_S | Short text | CGSTXT_S | CHAR | 10 | TEXT10 | ||||
TXT_R | Heading | CGSTXT_R | CHAR | 20 | TEXT20 | ||||
NTXT_M | Description | CGSTXT_M | CHAR | 20 | TEXT20 | ||||
NTXT_S | Short text | CGSTXT_S | CHAR | 10 | TEXT10 | ||||
OLDF | Flag: Old field | CGDOLDF | CHAR | 1 | XFELD | ||||
FCAT | Field catalog flag | CGSFCAT | CHAR | 1 | XFELD | ||||
MARK | Selection Indicator | CGSMARK | CHAR | 1 | XFELD | ||||
TXTFL | Indicator: Text changed | CGDTXTFLAG | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure CGDATR using ABAP code?
As CGDATR is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on CGDATR as there is no data to select.How to access SAP table CGDATR
Within an ECC or HANA version of SAP you can also view further information about CGDATR and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects