BAPI2001_COMP SAP (PS@BBP: Component (Master Data)) Structure details

Dictionary Type: Structure
Description: PS@BBP: Component (Master Data)




ABAP Code to SELECT data from BAPI2001_COMP
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_NONumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RES_ITEMItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
ITM_NUMBERBOM item number BBP_APOSNCHAR4NUMCVBBP_SPOSN
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
REQ_QUANRequirement Quantity BDMNGQUAN13(3) MENG13
BASE_UOMBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ORDERIDOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ACTIVITYOperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
OBJECT_NOObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
COMP_INDEXNatural Number INT4INT410INT4
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
MATL_DESCMaterial Description (Short Text) MAKTXCHAR40TEXT40
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
VAL_PRICECumulative planned value BBP_KTWRTCURR15(2) WERT15
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
GL_ACCOUNTG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
GR_RCPTGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
UNLOAD_PTUnloading Point ABLADCHAR25TEXT25
PREQ_NOPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
PREQ_ITEMItem Number of Purchase Requisition BNFPONUMC5Assigned to domainBNFPOBAP
PRICE_UNITPrice Unit PEINHDEC5PACK3
MATL_GROUPMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
PUR_GROUPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
PURCH_ORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
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
PREQ_NAMEName of Requisitioner/Requester AFNAMCHAR12AFNAM
TRACKINGNORequirement Tracking Number BEDNRCHAR10CHAR10
VEND_MATMaterial Number used by Supplier BBP_IDNLFCHAR35BBP_IDNEX
PRODUCT_IDProduct Name Entered BBP_ORDERED_PRODCHAR54CRM_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 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!