COMPCOMP SAP (Order components for order comparison) Structure details

Dictionary Type: Structure
Description: Order components for order comparison




ABAP Code to SELECT data from COMPCOMP
Related tables to COMPCOMP
Access table COMPCOMP




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_AUFNRLeading order in current processing CO_LAUFNRCHAR12Assigned to domainALPHAAUFNR
VSNMRNumber or description of a version VSNMRCHAR12VSNMRVS2
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
RSARTRecord type RSARTCHAR1RSART
XLOEKItem is Deleted XLOEKCHAR1XFELD
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
POSNRBOM item number APOSNCHAR4NUMCVSPOSN
SCHGTIndicator: Bulk Material SCHGTCHAR1XFELD
STLTYBOM category STLTYCHAR1STLTY
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLKNBOM item node number STLKNNUMC8KNTNR
STVKNInherited node number of BOM item STVKNNUMC8KNTNR
RELMNGUsage quantity per order unit of measure ESMNGFLTP16(16) ESMNG
BDMNGRequirement Quantity BDMNGQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ESMNGUsage quantity per order unit of measure ESMNGFLTP16(16) ESMNG
FMENGQuantity is Fixed FMENGCHAR1XFELD
BDARTRequirement type BDARTCHAR2BDARTBDA
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
POTX1BOM Item Text (Line 1) POTX1CHAR40TEXT40
DUMPSPhantom item indicator DUMPSCHAR1XFELD
DBSKZDirect procurement indicator DBSKZCHAR1DBSKZ
AUFSTOrder level AUFSTNUMC2AUFST
FLGEXIndicator: External procurement FLGEXCHAR1XFELD
MATXTMaterial Description (Short Text) MAKTXCHAR40TEXT40
RGEKZIndicator: Backflush RGEKZCHAR1XFELD
XFIELDCheckbox XFELDCHAR1XFELD
ALPGRAlternative item: group CS_ALPGRCHAR2CHAR2
ALPRFAlternative item: ranking order CS_ALPRFNUMC2NUM2
ALPSTAlternative item: strategy CS_ALPSTCHAR1CS_ALPST
EWAHRUsage probability in % (alternative item) EWAHRDEC3DEC3
OBJTYPEChange indicator OCM_OBJ_TYPECHAR1OCM_OBJ_TYPE
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
LTXSPLanguage: The long text was stored in this language LTXSPLANG1Assigned to domainISOLASPRAS
.INCLU--AP 0
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!