COMPOPER SAP (Order operation for the order comparison) Structure details

Dictionary Type: Structure
Description: Order operation for the order comparison




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




Structure field list including key, data, relationships and ABAP select examples

COMPOPER 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 operation for the 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_COMPOPER TYPE COMPOPER.

The COMPOPER table consists of various fields, each holding specific information or linking keys about Order operation for the order comparison data available in SAP. These include VSNMR (Number or description of a version), AUFPL (Routing number of operations in the order), APLZL (General counter for order), SUMNR (Node number of the superior operation).. 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 COMPOPER 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
APLZLGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
SUMNRNode number of the superior operation SUMKNTNRNUMC8KNTNR
APLFLSequence PLNFOLGECHAR6ALPHAPLNFOLGE
ARBIDObject ID of the resource CR_OBJIDNUMC8Assigned to domainCR_OBJID
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
RELMNGUsage quantity per order unit of measure ESMNGFLTP16(16) ESMNG
MGVRGOperation Quantity MGVRGQUAN13(3) MENG13
MEINHUnit of Measure for Activity/Operation VORMEUNIT3Assigned to domainCUNITMEINS
ASVRGOperation scrap ASVRGQUAN13(3) MENG13
PLNTYTask List Type PLNTYCHAR1Assigned to domainPLNTYPTYH_TCA01
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
PLNALGroup Counter PLNALCHAR2ALPHAALTNRPAL
PLNKNNumber of the task list node PLNKNNUMC8KNTNR
VPLTYType of the referenced task list VPLNTYCHAR1Assigned to domainPLNTY
VPLNRGroup of the referenced task list VPLNNRCHAR8ALPHAPLNNR
VPLALGroup counter of the referenced task list VPLNALCHAR2ALPHAALTNR
STDKNNode of operation within reference operation set STDKNNUMC8KNTNR
STEUSControl key STEUSCHAR4Assigned to domainSTEUS
LTXA1Operation short text LTXA1CHAR40TEXT40
LTXA2Second line of the description LTXA2CHAR40TEXT40
SPLIMMaximum number of splits SPLITTANZDEC3SPLITTANZ
SAKTOCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
KZLGFIndicator: fixed lot external processing KZLGFCHAR1XFELD
KZWRTFIndicator: Fixed price for external processing KZWRTFCHAR1XFELD
VGE01Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW01Standard Value VGWRTQUAN9(3) VGWRT
VGE02Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW02Standard Value VGWRTQUAN9(3) VGWRT
VGE03Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW03Standard Value VGWRTQUAN9(3) VGWRT
VGE04Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW04Standard Value VGWRTQUAN9(3) VGWRT
VGE05Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW05Standard Value VGWRTQUAN9(3) VGWRT
VGE06Unit of measure for the standard value VGWRTEHUNIT3Assigned to domainCUNITMEINS
VGW06Standard Value VGWRTQUAN9(3) VGWRT
LAR01Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LAR02Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LAR03Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LAR04Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LAR05Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LAR06Activity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LOEKZDeletion flag AUFLOEKZCHAR1XFELD
OBJTYPEChange indicator OCM_OBJ_TYPECHAR1OCM_OBJ_TYPE
XFIELDCheckbox XFELDCHAR1XFELD
TXTSPLanguage Key SPRASLANG1Assigned to domainISOLASPRASSPRH_T002

Key field Non-key field



How do I retrieve data from SAP structure COMPOPER using ABAP code?

As COMPOPER 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 COMPOPER as there is no data to select.

How to access SAP table COMPOPER

Within an ECC or HANA version of SAP you can also view further information about COMPOPER 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!