ORDCOMP SAP (Component for Order) Structure details

Dictionary Type: Structure
Description: Component for Order




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




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

ORDCOMP 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 "Component for Order" 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_ORDCOMP TYPE ORDCOMP.

The ORDCOMP table consists of various fields, each holding specific information or linking keys about Component for Order data available in SAP. These include ORDERID (Order Number), COMP_INDEX (Natural Number), ACTIVITY (Operation/Activity Number), APLZL (Internal counter).. 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 ORDCOMP 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
ORDERIDOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
COMP_INDEXNatural Number INT4INT410INT4
ACTIVITYOperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
REQNORequirement Coverage Request Document Number EC_REQNOCHAR10Assigned to domainALPHAEC_REQNO
REQLLINEAdministrative line number of requirement coverage request REQLLINENUMC10NUM10
CATALOGIDCatalog ID from which the line was selected CATALOGCHAR20BBP_WS_SERVICE_ID
CATALOGITMCatalog Item (Unique Key) CATALOGITEMCHAR40CATALOGITEM
INDBTNatural Number INT4INT410INT4
RESERV_NONumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RES_ITEMItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
ITM_NUMBERItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
MATERIALField length 18 CHAR18CHAR18CHAR18
MATL_DESCMaterial Description (Short Text) MAKTXCHAR40TEXT40
ITEM_TEXTBOM Item Text (Line 1) POTX1CHAR40TEXT40
REQ_QUANRequirement Quantity BDMNGQUAN13(3) MENG13
BASE_UOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PLANTPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
STGE_LOCStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SPEC_STOCKSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
FIXED_QUANQuantity is Fixed FMENGCHAR1XFELD
ITEM_CATItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
REQ_DATERequirement Date for the Component BDTERDATS8DATUM
MOVEMENTGoods Movement for Reservation Allowed XWAOKCHAR1XFELD
MOVE_TYPEMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
WITHD_QUANQuantity in Order Unit BBP_MNGQUAN13(3) MENG13
DELIV_QTYQuantity in Order Unit BBP_MNGQUAN13(3) MENG13
PREQ_NOPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
PREQ_ITEMItem Number of Purchase Requisition BNFPONUMC5Assigned to domainBNFPOBAP
VAL_PRICENet Value BBP_VALUECURR15(2) WERT8
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
PRICE_UNITPrice Unit PEINHDEC5PACK3
GL_ACCOUNTG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
MATL_GROUPMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
PUR_GROUPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
PURCH_ORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
GR_RCPTGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
UNLOAD_PTUnloading Point ABLADCHAR25TEXT25
LEAD_TIMEGeneral work field with a length of 3 spaces DEC03DEC3DEC03
VENDOR_NOAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
AGREEMENTNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
AGMT_ITEMItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
INFO_RECNumber of Purchasing Info Record INFNRCHAR10Assigned to domainALPHAINFNRINFMEIN_C
GR_PR_TIMEGoods Receipt Processing Time in Days WEBAZDEC3DEC3
POCharacter Field Length 1 CHAR01CHAR1CHAR1
RES_PURCRQCharacter Field Length 1 CHAR01CHAR1CHAR1
PREQ_NAMEName of Requisitioner/Requester AFNAMCHAR12AFNAM
TRACKINGNORequirement Tracking Number BEDNRCHAR10CHAR10
DELETE_INDItem is Deleted XLOEKCHAR1XFELD
ERRORTEXTChar 80 CHAR80CHAR80CHAR80
VENDORMATMaterial Number used by Supplier BBP_IDNLFCHAR35BBP_IDNEX
MANUFACMATManufacturer Part Number of the Shopping Cart Line OCI_MANUFACT_MATCHAR40CHAR40
MANUFACCODManufacturer of the Shopping Cart Line OCI_MANUFACT_CODECHAR10CHAR10
PRODUCT_GUIDInternal Unique ID of Product COMT_PRODUCT_GUIDRAW16SYSUUID
PRODUCT_IDProduct Name Entered BBP_ORDERED_PRODCHAR54CRM_ORDERED_PROD
PRODUCT_SRC_SYSBusiness Document Service: ID of Logical System BBP_LOGSYSCHAR10CHAR10
CATEGORYCategory GUID COMT_CATEGORY_GUIDRAW16SYSUUID
CATEGORY_IDCategory ID COMT_CATEGORY_IDCHAR20COM_CATEGORY_IDCOM_CATEGORY_IDCOM_CAT_HIER
CATEGORY_DESCCategory Description COMT_CATEGORY_TEXTCHAR80TEXT80
OFFSET_FINLead-time offset for operation BBP_CS_NLFZVDEC3BBP_NLFZT
OFFSET_FIN_UUnit for lead-time offset for operation BBP_CS_NLFMVUNIT3Assigned to domainCUNITMEINS
TYP_REQ_DATEPS@BBP: Requirement Date BAPI2001_TYP_REQ_DATECHAR1BAPI2001_TYP_REQ_DATE
PS_ACCTYPEPS@BBP: Account Assignment Category BAPI2001_KNTTPCHAR1BAPI2001_KNTTP
LOG_SYSLogical System of Logistics Backend BE_LOG_SYSTEMCHAR10Assigned to domainALPHALOGSYS
EXT_QUOTE_IDNumber of an External RFx Response BBP_EXT_QUOTE_IDCHAR35
EXT_QUOTE_ITEMItem of an External RFx Response BBP_EXT_QUOTE_ITEMNUMC10

Key field Non-key field



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

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

How to access SAP table ORDCOMP

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