BAPI_MBEW SAP (Valuation Data) Structure details
Description: Valuation Data
Structure field list including key, data, relationships and ABAP select examples
BAPI_MBEW 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 "Valuation 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_BAPI_MBEW TYPE BAPI_MBEW.
The BAPI_MBEW table consists of various fields, each holding specific information or linking keys about Valuation Data data available in SAP. These include VAL_TYPE (Valuation Type), DEL_FLAG (Deletion flag for all material data of a valuation type), PRICE_CTRL (Price control indicator), MOVING_PR (Moving average price/periodic unit price).. 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 BAPI_MBEW 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 |
VAL_AREA | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
VAL_TYPE | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
DEL_FLAG | Deletion flag for all material data of a valuation type | LVOBA | CHAR | 1 | XFELD | ||||
PRICE_CTRL | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
MOVING_PR | Moving average price/periodic unit price | VERPR_BAPI | DEC | 23(4) | BAPICURR | ||||
STD_PRICE | Standard price | STPRS_BAPI | DEC | 23(4) | BAPICURR | ||||
PRICE_UNIT | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
VAL_CLASS | Valuation Class | BKLAS | CHAR | 4 | Assigned to domain | BKLAS | |||
PR_CTRL_PP | Price Control Indicator in Previous Period | VMVPR | CHAR | 1 | VPRSV | ||||
MOV_PR_PP | Moving average price/periodic unit price in previous period | VMVER_BAPI | DEC | 23(4) | BAPICURR | ||||
STD_PR_PP | Standard price in the previous period | VMSTP_BAPI | DEC | 23(4) | BAPICURR | ||||
PR_UNIT_PP | Price unit of previous period | VMPEI | DEC | 5 | PACK3 | ||||
VCLASS_PP | Valuation Class in Previous Period | VMBKL | CHAR | 4 | Assigned to domain | BKLAS | |||
PR_CTRL_PY | Price Control Indicator in Previous Year | VJVPR | CHAR | 1 | VPRSV | ||||
MOV_PR_PY | Moving average price/periodic unit price in previous year | VJVER_BAPI | DEC | 23(4) | BAPICURR | ||||
STD_PR_PY | Standard price in previous year | VJSTP_BAPI | DEC | 23(4) | BAPICURR | ||||
VCLASS_PY | Valuation Class in Previous Year | VJBKL | CHAR | 4 | Assigned to domain | BKLAS | |||
PR_UNIT_PY | Price unit of previous year | VJPEI | DEC | 5 | PACK3 | ||||
VAL_CAT | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
FUTURE_PR | Future price | PRSZK_BAPI | DEC | 23(4) | BAPICURR | ||||
VALID_FROM | Date as of which the price is valid | DZKDAT | DATS | 8 | DATUM | ||||
TAXPRICE_1 | Valuation price based on tax law: level 1 | BWPRS_BAPI | DEC | 23(4) | BAPICURR | ||||
COMMPRICE1 | Valuation price based on commercial law: level 1 | BWPRH_BAPI | DEC | 23(4) | BAPICURR | ||||
TAXPRICE_3 | Valuation price based on tax law: level 3 | VJBWS_BAPI | DEC | 23(4) | BAPICURR | ||||
COMMPRICE3 | Valuation price based on commercial law: level 3 | VJBWH_BAPI | DEC | 23(4) | BAPICURR | ||||
PLND_PRICE | Future Planned Price | DZPLPR_BAPI | DEC | 23(4) | BAPICURR | ||||
PLNDPRICE1 | Future Planned Price 1 | DZPLP1_BAPI | DEC | 23(4) | BAPICURR | ||||
PLNDPRICE2 | Future Planned Price 2 | DZPLP2_BAPI | DEC | 23(4) | BAPICURR | ||||
PLNDPRICE3 | Future Planned Price 3 | DZPLP3_BAPI | DEC | 23(4) | BAPICURR | ||||
PLNDPRDATE1 | Date from Which Future Planned Price 1 Is Valid | DZPLD1 | DATS | 8 | DATUM | ||||
PLNDPRDATE2 | Date from Which Future Planned Price 2 Is Valid | DZPLD2 | DATS | 8 | DATUM | ||||
PLNDPRDATE3 | Date from Which Future Planned Price 3 Is Valid | DZPLD3 | DATS | 8 | DATUM | ||||
LIFO_FIFO | LIFO/FIFO-Relevant | XLIFO | CHAR | 1 | LIFO_FIFO | ||||
POOLNUMBER | Pool number for LIFO valuation | MYPOOL | CHAR | 4 | Assigned to domain | LIFO_POOL | POL | ||
TAXPRICE_2 | Valuation price based on tax law: level 2 | BWPS1_BAPI | DEC | 23(4) | BAPICURR | ||||
COMMPRICE2 | Valuation price based on commercial law: level 2 | BWPH1_BAPI | DEC | 23(4) | BAPICURR | ||||
DEVAL_IND | Lowest value: devaluation indicator | ABWKZ | NUMC | 2 | NUMC2 | ||||
ORIG_GROUP | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
OVERHEAD_GRP | Costing Overhead Group | CK_KOSGR | CHAR | 10 | Assigned to domain | CK_KOSGR | |||
QTY_STRUCT | Material Is Costed with Quantity Structure | CK_EKALREL | CHAR | 1 | XFELD | ||||
ML_ACTIVE | Material ledger activated at material level | CK_ML_MAAC | CHAR | 1 | XFELD | ||||
ML_SETTLE | Material Price Determination: Control | CK_ML_ABST | CHAR | 1 | CK_ML_ABST | ||||
ORIG_MAT | Material-related origin | HKMAT | CHAR | 1 | HKMAT | ||||
VM_SO_STK | Valuation Class for Sales Order Stock | EKLAS | CHAR | 4 | Assigned to domain | BKLAS | |||
VM_P_STOCK | Valuation Class for Project Stock | QKLAS | CHAR | 4 | Assigned to domain | BKLAS | |||
MATL_USAGE | Usage of the material | J_1BMATUSE | CHAR | 1 | J_1BMATUSE | ||||
MAT_ORIGIN | Origin of the material | J_1BMATORG | CHAR | 1 | J_1BMATORG | ||||
IN_HOUSE | Produced in-house | J_1BOWNPRO | CHAR | 1 | XFELD | ||||
TAX_CML_UN | Price unit for valuation prices based on tax/commercial law | BWPEI | DEC | 5 | PACK3 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_MBEW using ABAP code?
As BAPI_MBEW 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 BAPI_MBEW as there is no data to select.How to access SAP table BAPI_MBEW
Within an ECC or HANA version of SAP you can also view further information about BAPI_MBEW 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