COMS_ATTRIBUTE_ML SAP (Attribute and Language) Structure details
Description: Attribute and Language
Related tables to COMS_ATTRIBUTE_ML
Access table COMS_ATTRIBUTE_ML
Structure field list including key, data, relationships and ABAP select examples
COMS_ATTRIBUTE_ML 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 "Attribute and Language" 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_COMS_ATTRIBUTE_ML TYPE COMS_ATTRIBUTE_ML.
The COMS_ATTRIBUTE_ML table consists of various fields, each holding specific information or linking keys about Attribute and Language data available in SAP. These include ATTR_DATATYPE (Data Type of Attribute), ATTR_DECIMALS (Number of Allowed Decimal Places for the Attribute), ATTR_GUID (GUID of an Attribute (16 Characters)), ATTR_ID (Attribute).. 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: Cannot Be Enhanced
SAP COMS_ATTRIBUTE_ML 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 |
ATTR_DATATYPE | Data Type of Attribute | COMT_ATTR_DATATYPE | CHAR | 4 | COMC_ATTRTYPES | ATTR_DATATYPE | |||
ATTR_DECIMALS | Number of Allowed Decimal Places for the Attribute | COMT_ATTR_DECIMALS | NUMC | 6 | DDLENG | ||||
ATTR_GUID | GUID of an Attribute (16 Characters) | COMT_ATTRIBUTE_GUID | RAW | 16 | SYSUUID | ||||
ATTR_ID | Attribute | COMT_ATTR_ID_30 | CHAR | 30 | ATTR_ID_30 | COM_ATTRIBUT | COM_ATTRIBUTE_SH | ||
ATTR_LENGTH | Attribute Length | COMT_ATTR_LENGTH | NUMC | 6 | DDLENG | ||||
ATTR_TEXT | Attribute Description | COMT_ATTR_TEXT | CHAR | 40 | COMT_TXT40 | ||||
ATTR_MV_POSSIBLE | Prepare Attribute for Multiple Values | COMT_MULTIVALUE_OPTION | CHAR | 1 | COM_BOOLEAN | ||||
ATTR_CHECKBOX | Checkbox | COMT_CHECKBOX | CHAR | 1 | CHAR1_X | ||||
ATTR_TABNAME | Value Table for Attributes | COMT_ATTR_TABNAME | CHAR | 16 | DBOBJ_NAME | DTB | DD_DBTB_16 | ||
DB_TABLE | Database Table for Multi-Value Attributes | COMT_ATTR_DB_TABLE | CHAR | 30 | DDOBJNAME | ||||
DB_HIST_TABLE | Table for Historical Values of Multi-Value Attributes | COMT_ATTR_DB_HIST_TABLE | CHAR | 30 | DDOBJNAME | ||||
ATTR_DB_CLASS | Class Name for Multi-Value Attributes | COMT_ATTR_DB_CLASS | CHAR | 30 | CLASSNAME | ||||
LOWER_CASE | Lowercase Permitted/Not Permitted for Attributes | COMT_ATTR_LOWER_CASE | CHAR | 1 | AS4FLAG | ||||
INTERNAL_ONLY | Attribute May Only Be Used Internally in SAP | COMT_ATTR_INTERNAL | CHAR | 1 | COM_BOOLEAN | ||||
LANGUAGE | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
Key field | Non-key field |
How do I retrieve data from SAP structure COMS_ATTRIBUTE_ML using ABAP code?
As COMS_ATTRIBUTE_ML 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 COMS_ATTRIBUTE_ML as there is no data to select.How to access SAP table COMS_ATTRIBUTE_ML
Within an ECC or HANA version of SAP you can also view further information about COMS_ATTRIBUTE_ML 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