ORDCOMP SAP (Component for Order) Structure details
Description: Component for Order
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 |
ORDERID | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
COMP_INDEX | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
ACTIVITY | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
REQNO | Requirement Coverage Request Document Number | EC_REQNO | CHAR | 10 | Assigned to domain | ALPHA | EC_REQNO | ||
REQLLINE | Administrative line number of requirement coverage request | REQLLINE | NUMC | 10 | NUM10 | ||||
CATALOGID | Catalog ID from which the line was selected | CATALOG | CHAR | 20 | BBP_WS_SERVICE_ID | ||||
CATALOGITM | Catalog Item (Unique Key) | CATALOGITEM | CHAR | 40 | CATALOGITEM | ||||
INDBT | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
RESERV_NO | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RES_ITEM | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
ITM_NUMBER | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
MATERIAL | Field length 18 | CHAR18 | CHAR | 18 | CHAR18 | ||||
MATL_DESC | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
ITEM_TEXT | BOM Item Text (Line 1) | POTX1 | CHAR | 40 | TEXT40 | ||||
REQ_QUAN | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
STGE_LOC | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
BATCH | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
SPEC_STOCK | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
FIXED_QUAN | Quantity is Fixed | FMENG | CHAR | 1 | XFELD | ||||
ITEM_CAT | Item Category (Bill of Material) | POSTP | CHAR | 1 | Assigned to domain | POSTP | |||
REQ_DATE | Requirement Date for the Component | BDTER | DATS | 8 | DATUM | ||||
MOVEMENT | Goods Movement for Reservation Allowed | XWAOK | CHAR | 1 | XFELD | ||||
MOVE_TYPE | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
WITHD_QUAN | Quantity in Order Unit | BBP_MNG | QUAN | 13(3) | MENG13 | ||||
DELIV_QTY | Quantity in Order Unit | BBP_MNG | QUAN | 13(3) | MENG13 | ||||
PREQ_NO | Purchase Requisition Number | BANFN | CHAR | 10 | ALPHA | BANFN | BAN | MBAN_C | |
PREQ_ITEM | Item Number of Purchase Requisition | BNFPO | NUMC | 5 | Assigned to domain | BNFPO | BAP | ||
VAL_PRICE | Net Value | BBP_VALUE | CURR | 15(2) | WERT8 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
PRICE_UNIT | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
GL_ACCOUNT | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
MATL_GROUP | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
PUR_GROUP | Purchasing Group | EKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
PURCH_ORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
GR_RCPT | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
UNLOAD_PT | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
LEAD_TIME | General work field with a length of 3 spaces | DEC03 | DEC | 3 | DEC03 | ||||
VENDOR_NO | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
AGREEMENT | Number of Principal Purchase Agreement | KONNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | KTR | |
AGMT_ITEM | Item Number of Principal Purchase Agreement | KTPNR | NUMC | 5 | Assigned to domain | EBELP | |||
INFO_REC | Number of Purchasing Info Record | INFNR | CHAR | 10 | Assigned to domain | ALPHA | INFNR | INF | MEIN_C |
GR_PR_TIME | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
PO | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
RES_PURCRQ | Character Field Length 1 | CHAR01 | CHAR | 1 | CHAR1 | ||||
PREQ_NAME | Name of Requisitioner/Requester | AFNAM | CHAR | 12 | AFNAM | ||||
TRACKINGNO | Requirement Tracking Number | BEDNR | CHAR | 10 | CHAR10 | ||||
DELETE_IND | Item is Deleted | XLOEK | CHAR | 1 | XFELD | ||||
ERRORTEXT | Char 80 | CHAR80 | CHAR | 80 | CHAR80 | ||||
VENDORMAT | Material Number used by Supplier | BBP_IDNLF | CHAR | 35 | BBP_IDNEX | ||||
MANUFACMAT | Manufacturer Part Number of the Shopping Cart Line | OCI_MANUFACT_MAT | CHAR | 40 | CHAR40 | ||||
MANUFACCOD | Manufacturer of the Shopping Cart Line | OCI_MANUFACT_CODE | CHAR | 10 | CHAR10 | ||||
PRODUCT_GUID | Internal Unique ID of Product | COMT_PRODUCT_GUID | RAW | 16 | SYSUUID | ||||
PRODUCT_ID | Product Name Entered | BBP_ORDERED_PROD | CHAR | 54 | CRM_ORDERED_PROD | ||||
PRODUCT_SRC_SYS | Business Document Service: ID of Logical System | BBP_LOGSYS | CHAR | 10 | CHAR10 | ||||
CATEGORY | Category GUID | COMT_CATEGORY_GUID | RAW | 16 | SYSUUID | ||||
CATEGORY_ID | Category ID | COMT_CATEGORY_ID | CHAR | 20 | COM_CATEGORY_ID | COM_CATEGORY_ID | COM_CAT_HIER | ||
CATEGORY_DESC | Category Description | COMT_CATEGORY_TEXT | CHAR | 80 | TEXT80 | ||||
OFFSET_FIN | Lead-time offset for operation | BBP_CS_NLFZV | DEC | 3 | BBP_NLFZT | ||||
OFFSET_FIN_U | Unit for lead-time offset for operation | BBP_CS_NLFMV | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
TYP_REQ_DATE | PS@BBP: Requirement Date | BAPI2001_TYP_REQ_DATE | CHAR | 1 | BAPI2001_TYP_REQ_DATE | ||||
PS_ACCTYPE | PS@BBP: Account Assignment Category | BAPI2001_KNTTP | CHAR | 1 | BAPI2001_KNTTP | ||||
LOG_SYS | Logical System of Logistics Backend | BE_LOG_SYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
EXT_QUOTE_ID | Number of an External RFx Response | BBP_EXT_QUOTE_ID | CHAR | 35 | |||||
EXT_QUOTE_ITEM | Item of an External RFx Response | BBP_EXT_QUOTE_ITEM | NUMC | 10 |
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 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