RL0PRE_2 SAP (BOM Item (Enhanced for Preference Determination)) Structure details
Description: BOM Item (Enhanced for Preference Determination)
Structure field list including key, data, relationships and ABAP select examples
RL0PRE_2 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 "BOM Item (Enhanced for Preference Determination)" 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_RL0PRE_2 TYPE RL0PRE_2.
The RL0PRE_2 table consists of various fields, each holding specific information or linking keys about BOM Item (Enhanced for Preference Determination) data available in SAP. These include WEGXX (Path (for multi-level BOM explosions)), BMTYP (BOM category), TTIDX (Index in category table), VWEGX (Path (for multi-level BOM explosions)).. 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: Not classified
SAP RL0PRE_2 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 |
STUFE | Level (in multi-level BOM explosions) | HISTU | DEC | 2 | DEC2 | ||||
WEGXX | Path (for multi-level BOM explosions) | WEGXX | DEC | 4 | DEC4 | ||||
BMTYP | BOM category | STLTY | CHAR | 1 | STLTY | ||||
TTIDX | Index in category table | TTIDX | INT4 | 10 | TABIX | ||||
VWEGX | Path (for multi-level BOM explosions) | WEGXX | DEC | 4 | DEC4 | ||||
OJTXB | Object description (assembly) | OJTXB | CHAR | 40 | TEXT40 | ||||
BAUSF | Assembly scrap in percent | AUSSS | DEC | 5(2) | DEC3_2 | ||||
STLAN | BOM Usage | STLAN | CHAR | 1 | Assigned to domain | STLAN | CSV | ||
STLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
ALTST | Indicator: Alternatives | ALTST | CHAR | 1 | XFELD | ||||
VARST | Indicator: variants | VARST | CHAR | 1 | XFELD | ||||
KBAUS | Indicator: configurable BOM | KBAUS | CHAR | 1 | XFELD | ||||
LOEKZ | Deletion Indicator | LKENZ | CHAR | 1 | XFELD | ||||
OJTXP | Object description (item) | OJTXP | CHAR | 40 | TEXT40 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
VPSTA | Maintenance status of complete material | VPSTA | CHAR | 15 | PSTAT | ||||
FSTAT | Maintenance status | PSTAT_D | CHAR | 15 | PSTAT | ||||
MMEIN | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
STPRS | Standard price | STPRS | CURR | 11(2) | WERT11V | ||||
VERPR | Moving Average Price/Periodic Unit Price | VERPR | CURR | 11(2) | WERT11V | ||||
PREIH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
SBDKZ | Dependent requirements ind. for individual and coll. reqmts | SBDKZ | CHAR | 1 | SBDKZ | ||||
XCHAR | Batch management indicator (internal) | XCHAR | CHAR | 1 | XFELD | ||||
MMSTA | Plant-Specific Material Status | MMSTA | CHAR | 2 | Assigned to domain | MMSTA | |||
ZEINR | Document number (without document management system) | DZEINR | CHAR | 22 | CHAR22 | ||||
DISST | Low-Level Code | DISST | CHAR | 3 | DISST | ||||
MNGLG | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
MNGKO | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
MSIGN | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
AUSSS | Assembly scrap in percent | AUSSS | DEC | 5(2) | DEC3_2 | ||||
KAUSF | Component scrap in percent | KAUSF | DEC | 5(2) | DEC3_2 | ||||
SOBSL | Special procurement type | SOBSL | CHAR | 2 | Assigned to domain | SOBSL | |||
SOBSK | Special Procurement Type for Costing | CK_SOBSL | CHAR | 2 | Assigned to domain | SOBSL | |||
KZAUS | Discontinuation indicator | KZAUS | CHAR | 1 | KZAUS | ||||
AUSDT | Effective-Out Date | AUSDT | DATS | 8 | DATUM | ||||
NFMAT | Follow-Up Material | NFMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
RGEKZ | Indicator: Backflush | RGEKZ | CHAR | 1 | XFELD | ||||
KZDKZ | Documentation required indicator | KZDKZ | CHAR | 1 | XFELD | ||||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
LGPRO | Issue Storage Location | LGPRO | CHAR | 4 | Assigned to domain | LGORT | |||
REVLV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
CUOBJ | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
KZKFG | Configurable Material | KZKFG | CHAR | 1 | XFELD | ||||
FBSKZ | Indicator: procured externally | FBSKZ | CHAR | 1 | XFELD | ||||
STAWN | Commodity Code/Import Code Number for Foreign Trade | STAWN | CHAR | 17 | Assigned to domain | STAWN | |||
PREFE | Preference indicator in export/import | PREFE | CHAR | 1 | PREFE | ||||
PRENE | Indicator: Vendor declaration exists | PRENE | CHAR | 1 | PRENE | PNE | |||
PRENG | Validity date of vendor declaration | PRENG | DATS | 8 | PRENG | PNG | |||
STABK | Status of a document (language-dependent) | STABK | CHAR | 2 | CHAR2 | ||||
DOSTX | Description of document status | DOSTX | CHAR | 16 | TEXT16 | ||||
STLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STLKN | BOM item node number | STLKN | NUMC | 8 | KNTNR | ||||
STPOZ | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
DATUV | Valid-from/to date | DTVON | DATS | 8 | DATUM | ||||
AENNR | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
ANDAT | Date record created on | ANDAT | DATS | 8 | DATUM | ||||
ANNAM | User who created record | ANNAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
IDNRK | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
PSWRK | Issuing plant | PSWRK | CHAR | 4 | Assigned to domain | WERKS | |||
POSTP | Item category | PSITP | CHAR | 1 | Assigned to domain | POSTP | |||
POSNR | BOM Item Number | SPOSN | CHAR | 4 | NUMCV | SPOSN | |||
SORTF | Sort String | SORTP | CHAR | 10 | CHAR10 | ||||
MEINS | Component unit of measure | KMPME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MENGE | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
FMENG | Fixed qty | FMNGE | CHAR | 1 | XFELD | ||||
AUSCH | Assembly scrap in percent | AUSSS | DEC | 5(2) | DEC3_2 | ||||
AVOAU | Operation scrap | AVOAU | DEC | 5(2) | DEC3_2 | ||||
NETAU | Indicator: Net scrap | NETAU | CHAR | 1 | XFELD | ||||
SCHGT | Indicator: Bulk Material | SCHGT | CHAR | 1 | XFELD | ||||
BEIKZ | Material Provision Indicator | BEIKZ | CHAR | 1 | Assigned to domain | BEIKZ | |||
ERSKZ | Indicator: spare part | ERSKZ | CHAR | 1 | Assigned to domain | ERSKZ | |||
RVREL | Indicator: item relevant to sales | RVREL | CHAR | 1 | Assigned to domain | RVREL | |||
SANFE | Indicator: item relevant to production | SANFE | CHAR | 1 | XFELD | ||||
SANIN | Indicator: item relevant to plant maintenance | SANIN | CHAR | 1 | XFELD | ||||
SANKA | Indicator for Relevancy to Costing | CK_SELKZ | CHAR | 1 | Assigned to domain | CK_SELKZ | |||
SANKO | Indicator: item relevant to engineering | SANKO | CHAR | 1 | XFELD | ||||
SANVS | Indicator: high-level configuration | SANVS | CHAR | 1 | XFELD | ||||
STKKZ | PM assembly indicator | STKKZ | CHAR | 1 | XFELD | ||||
REKRI | Indicator: BOM is recursive | REKRI | CHAR | 1 | XFELD | ||||
REKRS | Indicator: recursiveness allowed | REKRS | CHAR | 1 | XFELD | ||||
CADPO | CAD Indicator | CADPO | CHAR | 1 | XFELD | ||||
NLFZT | Lead-time offset | NLFZT | DEC | 3 | NLFZT | ||||
VERTI | Distribution key for component consumption | SA_VERTI | CHAR | 4 | Assigned to domain | SA_VERTL | |||
ALPOS | Indicator: alternative item | ALPOS | CHAR | 1 | XFELD | ||||
EWAHR | Usage probability in % (alternative item) | EWAHR | DEC | 3 | DEC3 | ||||
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | Assigned to domain | EKGRP | EKG | ||
LIFZT | Delivery time in days | LIFZT | DEC | 3 | DEC3 | ||||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
PREIS | Price | CPREI | CURR | 11(2) | WERT11 | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
SAKTO | Cost element | SAKTO | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
ROANZ | Number of variable-size items | ROANZ | QUAN | 13(3) | MENG13 | ||||
ROMS1 | Size 1 | ROMS1 | QUAN | 13(3) | MENG13 | ||||
ROMS2 | Size 2 | ROMS2 | QUAN | 13(3) | MENG13 | ||||
ROMS3 | Size 3 | ROMS3 | QUAN | 13(3) | MENG13 | ||||
ROMEI | Unit of measure for sizes 1 to 3 | ROMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ROMEN | Quantity of variable-size item | ROMEN | QUAN | 13(3) | MENG13 | ||||
RFORM | Formula key | RFORM | CHAR | 2 | Assigned to domain | RFORM | |||
UPSKZ | Indicator: sub-items exist | UPSKZ | CHAR | 1 | XFELD | ||||
LTXSP | Language: The long text was stored in this language | LTXSP | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
POTX1 | BOM Item Text (Line 1) | POTX1 | CHAR | 40 | TEXT40 | ||||
POTX2 | BOM item text (line 2) | POTX2 | CHAR | 40 | TEXT40 | ||||
OBJTY | Object type (BOM item) | OBJTY | CHAR | 1 | Assigned to domain | OBJTY | |||
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
WEBAZ | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
DOKAR | Document Type | DOKAR | CHAR | 3 | Assigned to domain | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
CLASS | Class number | KLASSE_D | CHAR | 18 | KLASSE | KLA | |||
KLART | Class Type | KLASSENART | CHAR | 3 | Assigned to domain | KLASSENART | KAR | ||
POTPR | Item Category (Bill of Material) | POSTP | CHAR | 1 | Assigned to domain | POSTP | |||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
KNOBJ | Number of Object with Assigned Dependencies | KNOBJ | NUMC | 18 | KNOBJ | ||||
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
KZKUP | Indicator: co-product | KZKUP | CHAR | 1 | XFELD | ||||
DATUB | Valid-to date | DTBIS | DATS | 8 | DATUM | ||||
AENRA | Change Number To | AENRA | CHAR | 12 | Assigned to domain | AENNR | AENNR | ||
AENKZ | Change indicator | SAENKZ | CHAR | 1 | XFELD | ||||
AMGLG | Scrap quantity | AUMNG | QUAN | 13(3) | MENGV13 | ||||
AMGKO | Scrap quantity | AUMNG | QUAN | 13(3) | MENGV13 | ||||
DUMPS | Phantom item indicator | DUMPS | CHAR | 1 | XFELD | ||||
XTLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
XTLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
XTLAN | BOM Usage | STLAN | CHAR | 1 | Assigned to domain | STLAN | CSV | ||
XTLAL | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
XISDT | Indicator: BOM with history (date) | HISDT | CHAR | 1 | XFELD | ||||
XISSR | Indicator: BOM with history (technical status) | HISSR | CHAR | 1 | XFELD | ||||
XMENG | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
XALTS | Indicator: Alternatives | ALTST | CHAR | 1 | XFELD | ||||
XVARS | Indicator: variants | VARST | CHAR | 1 | XFELD | ||||
XKBAU | Indicator: configurable BOM | KBAUS | CHAR | 1 | XFELD | ||||
XLOEK | Deletion Indicator | LKENZ | CHAR | 1 | XFELD | ||||
AUSNM | Exception | EXCPT | CHAR | 4 | CHAR4 | ||||
HDNFO | Indicator: header info record | HDNFO | CHAR | 1 | CHAR1 | ||||
AFFLG | Indicator: BOM explosion suppressed | AFFLG | CHAR | 1 | XFELD | ||||
LTFLG | Indicator: suppress display | LISTF | CHAR | 1 | CHAR1 | ||||
NLFLG | Indicator: not kept in stock | NLFLG | CHAR | 1 | CHAR1 | ||||
INDEX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
SUMKZ | Totals record indicator | SUMKZ | CHAR | 1 | KENZX | ||||
AUFST | Order level | AUFST | NUMC | 2 | AUFST | ||||
AUFWG | Order path | AUFWG | NUMC | 2 | AUFWG | ||||
BAUST | Assembly order level | BAUST | NUMC | 2 | AUFST | ||||
BAUWG | Assembly order path | BAUWG | NUMC | 2 | AUFWG | ||||
MATWERT | Price | CPREI | CURR | 11(2) | WERT11 | ||||
VERKP | Price | CPREI | CURR | 11(2) | WERT11 | ||||
ALPGR | Alternative item: group | CS_ALPGR | CHAR | 2 | CHAR2 | ||||
ALPIND | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
ALPDEL | Indicator - Consider alternative item | ALPDEL | CHAR | 1 | XFELD | ||||
AUFEND | End of explosion indicator | AUFEND | CHAR | 1 | XFELD | ||||
VS_PROZEN | Security percent | P_PROZEN | DEC | 5(2) | PRZ32 |
Key field | Non-key field |
How do I retrieve data from SAP structure RL0PRE_2 using ABAP code?
As RL0PRE_2 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 RL0PRE_2 as there is no data to select.How to access SAP table RL0PRE_2
Within an ECC or HANA version of SAP you can also view further information about RL0PRE_2 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