BAPIBOMSTP SAP (BAPI CRS Structure for STPO (BOM)) Structure details
Description: BAPI CRS Structure for STPO (BOM)
Structure field list including key, data, relationships and ABAP select examples
BAPIBOMSTP 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 "BAPI CRS Structure for STPO (BOM)" 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_BAPIBOMSTP TYPE BAPIBOMSTP.
The BAPIBOMSTP table consists of various fields, each holding specific information or linking keys about BAPI CRS Structure for STPO (BOM) data available in SAP. These include BOM_CATEGO (BOM category), NBR_ST (Bill of material), ITEM_NODE (BOM item node number), BOM_NO (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 BAPIBOMSTP 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 |
OPERATION | Function | MSGFN | CHAR | 3 | MSGFN | ||||
BOM_CATEGO | BOM category | STLTY | CHAR | 1 | STLTY | ||||
NBR_ST | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
ITEM_NODE | BOM item node number | STLKN | NUMC | 8 | KNTNR | ||||
BOM_NO | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
VALID_FROM | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
TECHSTATUS | Technical status from | TECHV | CHAR | 12 | TECHS | ||||
CHANGE_NO | Change Number | AENNR | CHAR | 12 | AENR | AENNR | AENNR | AEN | |
DEL_IND | Deletion Indicator | LKENZ | CHAR | 1 | XFELD | ||||
PREV_NODE | Predecessor Node | VGKNT | NUMC | 8 | KNTNR | ||||
PREV_POS | Previous item counter | VGPZL | NUMC | 8 | CIM_COUNT | ||||
CREATE_DAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
CREATOR | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
CH_ON | Changed On | AEDAT | DATS | 8 | DATUM | ||||
CHANGED_BY | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
COMPONENT | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
ISSUEPLANT | Issuing plant | PSWRK | CHAR | 4 | T001W | WERKS | |||
ITEM_CAT | Item Category (Bill of Material) | POSTP | CHAR | 1 | T418 | POSTP | |||
BOM_ITM_NO | BOM Item Number | SPOSN | CHAR | 4 | NUMCV | SPOSN | |||
SORT_STR | Sort String | SORTP | CHAR | 10 | CHAR10 | ||||
UNCOMP | Component unit of measure | KMPME | UNIT | 3 | T006 | CUNIT | MEINS | ||
UNCOMP_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
COMPON_QTY | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
FIXED_QTY | Fixed qty | FMNGE | CHAR | 1 | XFELD | ||||
COMP_SCRAP | Component scrap in percent | KAUSF | DEC | 5(2) | DEC3_2 | ||||
OPSCRAP | Operation scrap | AVOAU | DEC | 5(2) | DEC3_2 | ||||
NET_SCRAP | Indicator: Net scrap | NETAU | CHAR | 1 | XFELD | ||||
BULK_MAT | Indicator: Bulk Material | SCHGT | CHAR | 1 | XFELD | ||||
MATPROVIND | Material Provision Indicator | BEIKZ | CHAR | 1 | T417 | BEIKZ | |||
SPARE_PART | Indicator: spare part | ERSKZ | CHAR | 1 | T413 | ERSKZ | |||
SALES_REL | Indicator: item relevant to sales | RVREL | CHAR | 1 | TVRL | RVREL | |||
PROD_REL | Indicator: item relevant to production | SANFE | CHAR | 1 | XFELD | ||||
PM_REL | Indicator: item relevant to plant maintenance | SANIN | CHAR | 1 | XFELD | ||||
COST_REL | Indicator for relevancy to costing | CS_SANKA | CHAR | 1 | TCK08 | CK_SELKZ | |||
ENG_REL | Indicator: item relevant to engineering | SANKO | CHAR | 1 | XFELD | ||||
HLCONF_IND | Indicator: high-level configuration | SANVS | CHAR | 1 | XFELD | ||||
PM_ASM_IND | PM assembly indicator | STKKZ | CHAR | 1 | XFELD | ||||
REC_BOM | Indicator: BOM is recursive | REKRI | CHAR | 1 | XFELD | ||||
REC_ALLOWD | Indicator: recursiveness allowed | REKRS | CHAR | 1 | XFELD | ||||
CAD_ID | CAD Indicator | CADPO | CHAR | 1 | XFELD | ||||
NEXT_MAT | Follow-up material in BOM item - NOT IN USE | CS_NFMAT | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
LDTIMEOFFS | Lead-time offset | NLFZT | DEC | 3 | NLFZT | ||||
DISTRKEYCM | Distribution key for component consumption | SA_VERTI | CHAR | 4 | T437V | SA_VERTL | |||
ALT_ITEM | Indicator: alternative item | ALPOS | CHAR | 1 | XFELD | ||||
USAGE_PROB | Usage probability in % (alternative item) | EWAHR | DEC | 3 | DEC3 | ||||
PUR_GROUP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
DELVRY_DAY | Delivery time in days | LIFZT | DEC | 3 | DEC3 | ||||
VENDOR_NO | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
PRICE | Currency amount for BAPIS (with 9 decimal places) | BAPICUREXT | DEC | 28(9) | BAPICUREXT | ||||
PRICE_UNIT | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
CURR | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
CURR_ISO | ISO currency code | ISOCD | CHAR | 3 | ISOCD | ||||
COST_ELEM | Cost element | SAKTO | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
VARSZ_ITEM | Number of variable-size items | ROANZ | QUAN | 13(3) | MENG13 | ||||
SIZE1 | Size 1 | ROMS1 | QUAN | 13(3) | MENG13 | ||||
SIZE2 | Size 2 | ROMS2 | QUAN | 13(3) | MENG13 | ||||
SIZE3 | Size 3 | ROMS3 | QUAN | 13(3) | MENG13 | ||||
UNMEAS | Unit of measure for sizes 1 to 3 | ROMEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
UNMEAS_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
QTY_VSI | Quantity of variable-size item | ROMEN | QUAN | 13(3) | MENG13 | ||||
FORMULAKEY | Formula key | RFORM | CHAR | 2 | T418F | RFORM | |||
SUB_ITEM | Indicator: sub-items exist | UPSKZ | CHAR | 1 | XFELD | ||||
ALT_IND | Indicator: item in more than one alternative | VALKZ | CHAR | 1 | XFELD | ||||
LTXLAN | Language: The long text was stored in this language | LTXSP | LANG | 1 | T002 | ISOLA | SPRAS | ||
LTXLAN_ISO | 2-Character SAP Language Code | LAISO | CHAR | 2 | LAISO | ||||
ITEM_TEXT2 | BOM item text (line 2) | POTX2 | CHAR | 40 | TEXT40 | ||||
OBJ_TYPE | Object type (BOM item) | OBJTY | CHAR | 1 | Assigned to domain | OBJTY | |||
MATL_GROUP | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
GR_PR_TIME | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
DOC_TYPE | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOC_NO | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOC_VERS | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOC_PART | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
PURITY | Average material purity in % | CSSTR | DEC | 5(2) | DEC3_2 | ||||
CLASS_NUM | Class number | KLASSE_D | CHAR | 18 | KLASSE | KLA | |||
CLASS_TYPE | Class Type | KLASSENART | CHAR | 3 | TCLA | KLASSENART | KAR | ||
RES_ITMCAT | Resulting item category | POTPR | CHAR | 1 | T418 | POSTP | |||
SEL_IND | Selection indicator for configurable BOMs | AWAKZ | CHAR | 1 | AWAKZ | ||||
INSTANCE | Instance indicator | INSKZ | CHAR | 1 | X | ||||
N_DIS_CONF | Indicator: not displayed in configuration editor | VCEKZ | CHAR | 1 | X | ||||
N_DIS_SLC | Indicator: not displayed in single-level configuration | VSTKZ | CHAR | 1 | X | ||||
N_DIS_AC | Indicator: not displayed in automatic configuration | VACKZ | CHAR | 1 | X | ||||
PURCH_ORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
REQD_COMP | Required Component | CLOBK | CHAR | 1 | XFELD | ||||
MULTSELECT | Multiple Selection Allowed | CLMULT | CHAR | 1 | XFELD | ||||
ALT_DISP | Alternative Display Format | CLALT | CHAR | 1 | XFELD | ||||
DEP_VIEW | Organizational Area | ABTEILUNG | CHAR | 10 | CHAR10 | VIEW | |||
ALLOC_NO | Number of Object with Assigned Dependencies | KNOBJ | NUMC | 18 | KNOBJ | ||||
STOR_LOC | Issue location for production order | CSLGO | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CO_PRODUCT | Indicator: co-product | KZKUP | CHAR | 1 | XFELD | ||||
INTRA_MAT | Intra Material | INTRM | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
REST_EXIST | Indicator: restrictions exist | TPEKZ | CHAR | 1 | XFELD | ||||
INHER_NODE | Inherited node number of BOM item | STVKN | NUMC | 8 | KNTNR | ||||
SCHED_ON | Date of last date shift | DVDAT | DATS | 8 | DATUM | ||||
SCHED_BY | Name of the user who carried out the date shift | DVNAM | CHAR | 12 | USNAM | ||||
EXPL_TYPE | Explosion type | CS_DISPO | CHAR | 2 | T414 | CS_DISPO | |||
ALT_STRAT | Alternative item: strategy | CS_ALPST | CHAR | 1 | CS_ALPST | ||||
ALT_PRIO | Alternative item: ranking order | CS_ALPRF | NUMC | 2 | NUM2 | ||||
ALT_GROUP | Alternative item: group | CS_ALPGR | CHAR | 2 | CHAR2 | ||||
NEXT_IND | Indicator: Follow-Up Item | CS_KZNFP | CHAR | 1 | XFELD | ||||
NEXT_GRP | Follow-up group | CS_NFGRP | CHAR | 2 | CHAR2 | ||||
DISC_GRP | Discontinuation group | CS_NFEAG | CHAR | 2 | CHAR2 | ||||
MANUAL_CHG | Indicator: manual change to sales order BOM | CS_KNDVB | CHAR | 1 | CHAR1 | ||||
OB_DEP_CHG | Indicator: BOM item changed/selected via obj. dependencies | CS_KNDBZ | CHAR | 1 | CHAR1 | ||||
SO_BOM_CAT | BOM category of original sales order BOM item | CS_KSTTY | CHAR | 1 | STLTY | ||||
ORIGSO_BOM | Bill of material for original sales order BOM item | CS_KSTNR | CHAR | 8 | NUMCV | STNUM | |||
ORIGSO_NOD | Node number of original sales order BOM item | CS_KSTKN | NUMC | 8 | KNTNR | ||||
ORIGSO_NO | Counter for original sales order BOM item | CS_KSTPZ | NUMC | 8 | CIM_COUNT | ||||
CLASSIF | Classification number | CS_CLSZU | NUMC | 8 | NUM8 | ||||
SEL_COND | Indicator: classification as selection condition | CS_KZCLB | CHAR | 1 | XFELD | ||||
SCHED_HLPF | Date Shift Hierarchy Indicator | CC_AEHLP | NUMC | 2 | CC_AEHLP | ||||
SUPPLYAREA | Production Supply Area | PRVBE | CHAR | 10 | Assigned to domain | PRVBE | PVB | ||
LTOFFSETOP | Lead-time offset for operation | CS_NLFZV | DEC | 3 | NLFZT | ||||
LTOFSU | Unit for lead-time offset for operation | CS_NLFMV | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LTOFSU_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
ITEM_GRP | Item group | CS_IDPOS | CHAR | 20 | CS_IDPOS | ||||
HISTRY_CNT | History counter | CS_IDHIS | NUMC | 5 | NUMC5 | ||||
ITEM_VAR | Component Variant | CS_IDVAR | CHAR | 5 | CS_IDVAR | ||||
ALE_IND | ALE indicator | CS_ALEKZ | CHAR | 1 | XFELD | ||||
ITEM_ID | External identification of an item | CS_ITMID | CHAR | 8 | CHAR8 | ||||
ITEM_TEXT1 | BOM Item Text (Line 1) | POTX1 | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIBOMSTP using ABAP code?
As BAPIBOMSTP 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 BAPIBOMSTP as there is no data to select.How to access SAP table BAPIBOMSTP
Within an ECC or HANA version of SAP you can also view further information about BAPIBOMSTP 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