MACK4 SAP (Material Master View: Costing) Structure details
Description: Material Master View: Costing
Structure field list including key, data, relationships and ABAP select examples
MACK4 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 "Material Master View: Costing" 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_MACK4 TYPE MACK4.
The MACK4 table consists of various fields, each holding specific information or linking keys about Material Master View: Costing data available in SAP. These include KALN1 (Cost Estimate Number for Cost Est. w/o Qty Structure), KALNR (Cost Estimate Number for Cost Est. w/o Qty Structure), BWVA1 (Valuation Variant for Future Standard Cost Estimate), BWVA2 (Valuation Variant for Current Standard Cost Estimate).. 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 MACK4 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 |
LVORM | Deletion flag for all material data of a valuation type | LVOBA | CHAR | 1 | XFELD | ||||
KALN1 | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
BWVA1 | Valuation Variant for Future Standard Cost Estimate | CK_BWVA1 | CHAR | 3 | Assigned to domain | CK_BWVAR | |||
BWVA2 | Valuation Variant for Current Standard Cost Estimate | CK_BWVA2 | CHAR | 3 | Assigned to domain | CK_BWVAR | |||
KALKZ | Indicator: standard cost estimate for future period | KAXKZ | CHAR | 1 | XFELD | ||||
KALKL | Indicator: Standard cost estimate for the period | KALKZ | CHAR | 1 | XFELD | ||||
KALKV | Indicator: standard cost estimate for previous period | KALKV | CHAR | 1 | XFELD | ||||
VERS1 | Costing Version of Future Standard Cost Estimate | CK_TVERS1 | NUMC | 2 | CK_VERSION | VSN | |||
VERS2 | Costing Version of Current Standard Cost Estimate | CK_TVERS2 | NUMC | 2 | CK_VERSION | ||||
PPRDZ | Period of Future Standard Cost Estimate | CK_PPRDZ | NUMC | 3 | POPER | BUP | |||
PPRDL | Period of Current Standard Cost Estimate | CK_PPRDL | NUMC | 3 | POPER | ||||
PDATZ | Fiscal Year of Future Standard Cost Estimate | CK_PDATZ | NUMC | 4 | GJAHR | GJAHR | GEJ | ||
PDATL | Fiscal Year of Current Standard Cost Estimate | CK_PDATL | NUMC | 4 | GJAHR | GJAHR | |||
ZPLPR | Future planned price | DZPLPR | CURR | 11(2) | WERT11 | ||||
FPLPX | Fixed Portion of Future Planned Price | CK_ZPLPX | CURR | 11(2) | WERT11V | ||||
EKALR | Material Is Costed with Quantity Structure | CK_EKALREL | CHAR | 1 | XFELD | ||||
KOSGR | Costing Overhead Group | CK_KOSGR | CHAR | 10 | TCK14 | CK_KOSGR | |||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
VERPR | Moving Average Price/Periodic Unit Price | VERPR | CURR | 11(2) | WERT11V | ||||
STPRS | Standard price | STPRS | CURR | 11(2) | WERT11V | ||||
PPRDV | Period of Previous Standard Cost Estimate | CK_PPRDV | NUMC | 3 | POPER | ||||
PDATV | Fiscal Year of Previous Standard Cost Estimate | CK_PDATV | NUMC | 4 | GJAHR | GJAHR | |||
BWVA3 | Valuation Variant for Previous Standard Cost Estimate | CK_BWVA3 | CHAR | 3 | Assigned to domain | CK_BWVAR | |||
VERS3 | Costing Version of Previous Standard Cost Estimate | CK_TVERS3 | NUMC | 2 | CK_VERSION | ||||
LPLPR | Current Planned Price | CK_LPLPR | CURR | 11(2) | WERT11 | ||||
LPLPX | Fixed Portion of Current Planned Price | CK_LPLPX | CURR | 11(2) | WERT11V | ||||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
MLMAA | Material ledger activated at material level | CK_ML_MAAC | CHAR | 1 | XFELD | ||||
VJPEI | Price unit of previous year | VJPEI | DEC | 5 | PACK3 | ||||
FBWST | Valuation Strategy for Future Planned Price, Special Stock | CK_ZBWST | CHAR | 1 | CK_BWST | ||||
LBWST | Val. Strat. for Current Plan Price, Sales Order/Proj. Stock | CK_LBWST | CHAR | 1 | CK_BWST | ||||
VBWST | Valuation Strategy for Previous Plan Price, Special Stock | CK_VBWST | CHAR | 1 | CK_BWST | ||||
XBEWM | Valuation based on the batch-specific unit of measure | XBEWW | CHAR | 1 | XFELD | ||||
VPLPR | Previous planned price | VPLPR | CURR | 11(2) | WERT11 | ||||
VPLPX | Fixed Portion of Previous Planned Price | CK_VPLPX | CURR | 11(2) | WERT11V | ||||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR |
Key field | Non-key field |
How do I retrieve data from SAP structure MACK4 using ABAP code?
As MACK4 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 MACK4 as there is no data to select.How to access SAP table MACK4
Within an ECC or HANA version of SAP you can also view further information about MACK4 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