COMT_BSP_PRD_ODC_ATTRHIST SAP (BSP Attribute history structure) Structure details
Description: BSP Attribute history structure
Related tables to COMT_BSP_PRD_ODC_ATTRHIST
Access table COMT_BSP_PRD_ODC_ATTRHIST
Structure field list including key, data, relationships and ABAP select examples
COMT_BSP_PRD_ODC_ATTRHIST 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 "BSP Attribute history 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_COMT_BSP_PRD_ODC_ATTRHIST TYPE COMT_BSP_PRD_ODC_ATTRHIST.
The COMT_BSP_PRD_ODC_ATTRHIST table consists of various fields, each holding specific information or linking keys about BSP Attribute history structure data available in SAP. These include SEGMENT_ID (Identification of a Set Type), SEGMENT_TEXT (Set Type Description), COMPONENT_TYPE (Product Component Type), 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: Can be enhanced (character-type or numeric)
SAP COMT_BSP_PRD_ODC_ATTRHIST 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 |
OBJECT_KEY | Object Key | CRMT_BSP_OBJECTKEY | CHAR | 100 | |||||
SEGMENT_ID | Identification of a Set Type | COMT_FRGTYPE_ID | CHAR | 16 | CHAR16 | COM_SETTYPE_GENERATED | |||
SEGMENT_TEXT | Set Type Description | COMT_FRGTYPE_TEXT | CHAR | 40 | COMT_TXT40 | ||||
COMPONENT_TYPE | Product Component Type | COMT_PROD_COMP_TYPE | CHAR | 2 | COM_PROD_COMP_TYPE | ||||
ATTR_ID | Attribute | COMT_ATTR_ID_30 | CHAR | 30 | ATTR_ID_30 | COM_ATTRIBUT | COM_ATTRIBUTE_SH | ||
ATTR_TEXT | Attribute Description | COMT_ATTR_TEXT | CHAR | 40 | COMT_TXT40 | ||||
FIELD_NAME | Field name | NAME_FELD | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
ATTR_DATATYPE | Data Type of Attribute | COMT_ATTR_DATATYPE | CHAR | 4 | Assigned to domain | ATTR_DATATYPE | |||
ATTR_LENGTH | Attribute Length | COMT_ATTR_LENGTH | NUMC | 6 | DDLENG | ||||
ATTR_DECIMALS | Number of Allowed Decimal Places for the Attribute | COMT_ATTR_DECIMALS | NUMC | 6 | DDLENG | ||||
VALUE_CONTEXT | Key Values for an Attribute Value | COMT_ATTR_CONTEXT | CHAR | 45 | TEXT45 | ||||
VALUE_OLD | Old Value of an Attribute | COMT_ATTRIBUTE_VALUE_OLD | CHAR | 255 | COM_ATTRIBUTE_VALUE | ||||
VALUE_NEW | New Value of an Attribute | COMT_ATTRIBUTE_VALUE_NEW | CHAR | 255 | COM_ATTRIBUTE_VALUE | ||||
PR_ORG_TYPE | Indicator for Organizational Dependency | COMT_PR_ORG_TYPE | CHAR | 10 | Assigned to domain | COM_PR_ORG_TYPE | |||
PR_ORG_ID | Identification of an Organizational Unit | COMT_PR_ORG_ID | CHAR | 32 | CHAR32 | ||||
VALID_FROM | Valid From (Time Stamp) | COMT_VALID_FROM | DEC | 15 | TSTPS | BCOS_TSTMP | |||
UPNAME | Name of the User Who Last Changed the Set | COMT_UPNAME | CHAR | 12 | UNAME | ||||
LOGSYS | Original System | COMT_LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | COM_LOGSYS | COM_PRODUCT_LOGSYS |
UPDATE_TYPE | Type of Change | UPDATE_TYPE | CHAR | 1 | UPDATE_TYPE | ||||
VALID_FROM_DATE | Valid from date | COMT_VALID_FROM_DATE | DATS | 8 | DATS | ||||
VALID_FROM_TIME | Valid from time | COMT_VALID_FROM_TIME | TIMS | 6 | TIME |
Key field | Non-key field |
How do I retrieve data from SAP structure COMT_BSP_PRD_ODC_ATTRHIST using ABAP code?
As COMT_BSP_PRD_ODC_ATTRHIST 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 COMT_BSP_PRD_ODC_ATTRHIST as there is no data to select.How to access SAP table COMT_BSP_PRD_ODC_ATTRHIST
Within an ECC or HANA version of SAP you can also view further information about COMT_BSP_PRD_ODC_ATTRHIST 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