COMPCOMP SAP (Order components for order comparison) Structure details
Description: Order components for order comparison
Structure field list including key, data, relationships and ABAP select examples
COMPCOMP 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 "Order components for order comparison" 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_COMPCOMP TYPE COMPCOMP.
The COMPCOMP table consists of various fields, each holding specific information or linking keys about Order components for order comparison data available in SAP. These include VSNMR (Number or description of a version), AUFPL (Routing number of operations in the order), APLZL (Internal counter), RSNUM (Number of Reservation/Dependent Requirement).. 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 COMPCOMP 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 |
LEAD_AUFNR | Leading order in current processing | CO_LAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
VSNMR | Number or description of a version | VSNMR | CHAR | 12 | VSNMR | VS2 | |||
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
RSART | Record type | RSART | CHAR | 1 | RSART | ||||
XLOEK | Item is Deleted | XLOEK | CHAR | 1 | XFELD | ||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
POSNR | BOM item number | APOSN | CHAR | 4 | NUMCV | SPOSN | |||
SCHGT | Indicator: Bulk Material | SCHGT | CHAR | 1 | XFELD | ||||
STLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STLKN | BOM item node number | STLKN | NUMC | 8 | KNTNR | ||||
STVKN | Inherited node number of BOM item | STVKN | NUMC | 8 | KNTNR | ||||
RELMNG | Usage quantity per order unit of measure | ESMNG | FLTP | 16(16) | ESMNG | ||||
BDMNG | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ESMNG | Usage quantity per order unit of measure | ESMNG | FLTP | 16(16) | ESMNG | ||||
FMENG | Quantity is Fixed | FMENG | CHAR | 1 | XFELD | ||||
BDART | Requirement type | BDART | CHAR | 2 | BDART | BDA | |||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
POTX1 | BOM Item Text (Line 1) | POTX1 | CHAR | 40 | TEXT40 | ||||
DUMPS | Phantom item indicator | DUMPS | CHAR | 1 | XFELD | ||||
DBSKZ | Direct procurement indicator | DBSKZ | CHAR | 1 | DBSKZ | ||||
AUFST | Order level | AUFST | NUMC | 2 | AUFST | ||||
FLGEX | Indicator: External procurement | FLGEX | CHAR | 1 | XFELD | ||||
MATXT | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
RGEKZ | Indicator: Backflush | RGEKZ | CHAR | 1 | XFELD | ||||
XFIELD | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
ALPGR | Alternative item: group | CS_ALPGR | CHAR | 2 | CHAR2 | ||||
ALPRF | Alternative item: ranking order | CS_ALPRF | NUMC | 2 | NUM2 | ||||
ALPST | Alternative item: strategy | CS_ALPST | CHAR | 1 | CS_ALPST | ||||
EWAHR | Usage probability in % (alternative item) | EWAHR | DEC | 3 | DEC3 | ||||
OBJTYPE | Change indicator | OCM_OBJ_TYPE | CHAR | 1 | OCM_OBJ_TYPE | ||||
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
LTXSP | Language: The long text was stored in this language | LTXSP | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
.INCLU--AP | 0 | ||||||||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure COMPCOMP using ABAP code?
As COMPCOMP 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 COMPCOMP as there is no data to select.How to access SAP table COMPCOMP
Within an ECC or HANA version of SAP you can also view further information about COMPCOMP 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