BAPI_ORDER_COMPONENT SAP (Order Components) Structure details
Description: Order Components
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_NUMBER | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RESERVATION_ITEM | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
RESERVATION_TYPE | Record type | RSART | CHAR | 1 | RSART | ||||
DELETION_INDICATOR | Item is Deleted | XLOEK | CHAR | 1 | XFELD | ||||
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
PROD_PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
STORAGE_LOCATION | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
SUPPLY_AREA | Production Supply Area | PRVBE | CHAR | 10 | Assigned to domain | PRVBE | PVB | ||
BATCH | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
SPECIAL_STOCK | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
REQ_DATE | Requirement Date for the Component | BDTER | DATS | 8 | DATUM | ||||
REQ_QUAN | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BASE_UOM_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
WITHDRAWN_QUANTITY | Quantity Withdrawn | ENMNG | QUAN | 13(3) | MENG13 | ||||
ENTRY_QUANTITY | Quantity in Unit of Entry | ERFMG | QUAN | 13(3) | MENG13 | ||||
ENTRY_UOM | Unit of Entry | ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ENTRY_UOM_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
ORDER_NUMBER | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
MOVEMENT_TYPE | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
ITEM_CATEGORY | Item Category (Bill of Material) | POSTP | CHAR | 1 | Assigned to domain | POSTP | |||
ITEM_NUMBER | BOM item number | APOSN | CHAR | 4 | NUMCV | SPOSN | |||
SEQUENCE | Sequence | PLNFOLGE | CHAR | 6 | ALPHA | PLNFOLGE | |||
OPERATION | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
BACKFLUSH | Indicator: Backflush | RGEKZ | CHAR | 1 | XFELD | ||||
VALUATION_SPEC_STOCK | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
SYSTEM_STATUS | Edited status text | STATXT | CHAR | 40 | TEXT40 | ||||
MATERIAL_DESCRIPTION | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
COMMITED_QUANTITY | Committed quantity | CO_VMENG | QUAN | 13(3) | MENGV13 | ||||
SHORTAGE | Shortfage | CO_FMENG | QUAN | 13(3) | MENGV13 | ||||
PURCHASE_REQ_NO | Purchase Requisition Number | BANFN | CHAR | 10 | ALPHA | BANFN | BAN | MBAN_C | |
PURCHASE_REQ_ITEM | Item Number of Purchase Requisition | BNFPO | NUMC | 5 | Assigned to domain | BNFPO | BAP | ||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_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 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