MACK4 SAP (Material Master View: Costing) Structure details

Dictionary Type: Structure
Description: Material Master View: Costing




ABAP Code to SELECT data from MACK4
Related tables to MACK4
Access table MACK4




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
LVORMDeletion flag for all material data of a valuation type LVOBACHAR1XFELD
KALN1Cost Estimate Number for Cost Est. w/o Qty Structure CK_KALNRNUMC12Assigned to domainCK_KALNRKNR
KALNRCost Estimate Number for Cost Est. w/o Qty Structure CK_KALNRNUMC12Assigned to domainCK_KALNRKNR
BWVA1Valuation Variant for Future Standard Cost Estimate CK_BWVA1CHAR3Assigned to domainCK_BWVAR
BWVA2Valuation Variant for Current Standard Cost Estimate CK_BWVA2CHAR3Assigned to domainCK_BWVAR
KALKZIndicator: standard cost estimate for future period KAXKZCHAR1XFELD
KALKLIndicator: Standard cost estimate for the period KALKZCHAR1XFELD
KALKVIndicator: standard cost estimate for previous period KALKVCHAR1XFELD
VERS1Costing Version of Future Standard Cost Estimate CK_TVERS1NUMC2CK_VERSIONVSN
VERS2Costing Version of Current Standard Cost Estimate CK_TVERS2NUMC2CK_VERSION
PPRDZPeriod of Future Standard Cost Estimate CK_PPRDZNUMC3POPERBUP
PPRDLPeriod of Current Standard Cost Estimate CK_PPRDLNUMC3POPER
PDATZFiscal Year of Future Standard Cost Estimate CK_PDATZNUMC4GJAHRGJAHRGEJ
PDATLFiscal Year of Current Standard Cost Estimate CK_PDATLNUMC4GJAHRGJAHR
ZPLPRFuture planned price DZPLPRCURR11(2) WERT11
FPLPXFixed Portion of Future Planned Price CK_ZPLPXCURR11(2) WERT11V
EKALRMaterial Is Costed with Quantity Structure CK_EKALRELCHAR1XFELD
KOSGRCosting Overhead Group CK_KOSGRCHAR10TCK14CK_KOSGR
PEINHPrice Unit PEINHDEC5PACK3
VPRSVPrice control indicator VPRSVCHAR1VPRSV
VERPRMoving Average Price/Periodic Unit Price VERPRCURR11(2) WERT11V
STPRSStandard price STPRSCURR11(2) WERT11V
PPRDVPeriod of Previous Standard Cost Estimate CK_PPRDVNUMC3POPER
PDATVFiscal Year of Previous Standard Cost Estimate CK_PDATVNUMC4GJAHRGJAHR
BWVA3Valuation Variant for Previous Standard Cost Estimate CK_BWVA3CHAR3Assigned to domainCK_BWVAR
VERS3Costing Version of Previous Standard Cost Estimate CK_TVERS3NUMC2CK_VERSION
LPLPRCurrent Planned Price CK_LPLPRCURR11(2) WERT11
LPLPXFixed Portion of Current Planned Price CK_LPLPXCURR11(2) WERT11V
BWTTYValuation Category BWTTY_DCHAR1Assigned to domainBWTTY
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MLMAAMaterial ledger activated at material level CK_ML_MAACCHAR1XFELD
VJPEIPrice unit of previous year VJPEIDEC5PACK3
FBWSTValuation Strategy for Future Planned Price, Special Stock CK_ZBWSTCHAR1CK_BWST
LBWSTVal. Strat. for Current Plan Price, Sales Order/Proj. Stock CK_LBWSTCHAR1CK_BWST
VBWSTValuation Strategy for Previous Plan Price, Special Stock CK_VBWSTCHAR1CK_BWST
XBEWMValuation based on the batch-specific unit of measure XBEWWCHAR1XFELD
VPLPRPrevious planned price VPLPRCURR11(2) WERT11
VPLPXFixed Portion of Previous Planned Price CK_VPLPXCURR11(2) WERT11V
LFMONCurrent period (posting period) LFMONNUMC2MONAT
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR

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 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!