BAPI_ORDER_COMPONENT SAP (Order Components) Structure details

Dictionary Type: Structure
Description: Order Components




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




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

BAPI_ORDER_COMPONENT 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" 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_BAPI_ORDER_COMPONENT TYPE BAPI_ORDER_COMPONENT.

The BAPI_ORDER_COMPONENT table consists of various fields, each holding specific information or linking keys about Order Components data available in SAP. These include RESERVATION_ITEM (Item Number of Reservation/Dependent Requirement), RESERVATION_TYPE (Record type), DELETION_INDICATOR (Item is Deleted), MATERIAL (Material Number).. 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 BAPI_ORDER_COMPONENT 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
RESERVATION_NUMBERNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RESERVATION_ITEMItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
RESERVATION_TYPERecord type RSARTCHAR1RSART
DELETION_INDICATORItem is Deleted XLOEKCHAR1XFELD
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
PROD_PLANTPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
STORAGE_LOCATIONStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
SUPPLY_AREAProduction Supply Area PRVBECHAR10Assigned to domainPRVBEPVB
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SPECIAL_STOCKSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
REQ_DATERequirement Date for the Component BDTERDATS8DATUM
REQ_QUANRequirement Quantity BDMNGQUAN13(3) MENG13
BASE_UOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
BASE_UOM_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
WITHDRAWN_QUANTITYQuantity Withdrawn ENMNGQUAN13(3) MENG13
ENTRY_QUANTITYQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
ENTRY_UOMUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
ENTRY_UOM_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
ORDER_NUMBEROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
MOVEMENT_TYPEMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
ITEM_CATEGORYItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
ITEM_NUMBERBOM item number APOSNCHAR4NUMCVSPOSN
SEQUENCESequence PLNFOLGECHAR6ALPHAPLNFOLGE
OPERATIONOperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
BACKFLUSHIndicator: Backflush RGEKZCHAR1XFELD
VALUATION_SPEC_STOCKValuation of Special Stock KZBWSCHAR1KZBWS
SYSTEM_STATUSEdited status text STATXTCHAR40TEXT40
MATERIAL_DESCRIPTIONMaterial Description (Short Text) MAKTXCHAR40TEXT40
COMMITED_QUANTITYCommitted quantity CO_VMENGQUAN13(3) MENGV13
SHORTAGEShortfage CO_FMENGQUAN13(3) MENGV13
PURCHASE_REQ_NOPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
PURCHASE_REQ_ITEMItem Number of Purchase Requisition BNFPONUMC5Assigned to domainBNFPOBAP
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS

Key field Non-key field



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

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

How to access SAP table BAPI_ORDER_COMPONENT

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