BAPI2001_COMP SAP (PS@BBP: Component (Master Data)) Structure details
Description: PS@BBP: Component (Master Data)
Related tables to BAPI2001_COMP
Access table BAPI2001_COMP
Structure field list including key, data, relationships and ABAP select examples
BAPI2001_COMP 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 "PS@BBP: Component (Master Data)" 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_BAPI2001_COMP TYPE BAPI2001_COMP.
The BAPI2001_COMP table consists of various fields, each holding specific information or linking keys about PS@BBP: Component (Master Data) data available in SAP. These include RES_ITEM (Item Number of Reservation/Dependent Requirement), ITM_NUMBER (BOM item number), MATERIAL (Material Number), REQ_QUAN (Requirement Quantity).. 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 BAPI2001_COMP 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 |
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 | BOM item number | BBP_APOSN | CHAR | 4 | NUMCV | BBP_SPOSN | |||
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
REQ_QUAN | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ORDERID | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
ACTIVITY | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
ITEM_TEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
OBJECT_NO | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
COMP_INDEX | Natural Number | INT4 | INT4 | 10 | INT4 | ||||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
MATL_DESC | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
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 | ||
VAL_PRICE | Cumulative planned value | BBP_KTWRT | CURR | 15(2) | WERT15 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
GL_ACCOUNT | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
GR_RCPT | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
UNLOAD_PT | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
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 | ||
PRICE_UNIT | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
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 | ||
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 | ||||
PREQ_NAME | Name of Requisitioner/Requester | AFNAM | CHAR | 12 | AFNAM | ||||
TRACKINGNO | Requirement Tracking Number | BEDNR | CHAR | 10 | CHAR10 | ||||
VEND_MAT | Material Number used by Supplier | BBP_IDNLF | CHAR | 35 | BBP_IDNEX | ||||
PRODUCT_ID | Product Name Entered | BBP_ORDERED_PROD | CHAR | 54 | CRM_ORDERED_PROD |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI2001_COMP using ABAP code?
As BAPI2001_COMP 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 BAPI2001_COMP as there is no data to select.How to access SAP table BAPI2001_COMP
Within an ECC or HANA version of SAP you can also view further information about BAPI2001_COMP 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