MACK5 SAP (Material Master Structure for Costing) Structure details
Description: Material Master Structure for Costing
Structure field list including key, data, relationships and ABAP select examples
MACK5 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 Structure for 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_MACK5 TYPE MACK5.
The MACK5 table consists of various fields, each holding specific information or linking keys about Material Master Structure for Costing data available in SAP. These include MATNR (Material Number), BWKEY (Valuation Area), BWTAR (Valuation Type), VPRSV (Price control indicator).. 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 MACK5 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
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 | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
BKLAS | Valuation Class | BKLAS | CHAR | 4 | Assigned to domain | BKLAS | |||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
ZKPRS | Future price | DZKPRS | CURR | 11(2) | WERT11 | ||||
ZKDAT | Date as of which the price is valid | DZKDAT | DATS | 8 | DATUM | ||||
BWPRS | Valuation price based on tax law: level 1 | BWPRS | CURR | 11(2) | WERT11 | ||||
BWPRH | Valuation price based on commercial law: level 1 | BWPRH | CURR | 11(2) | WERT11 | ||||
BWPS1 | Valuation price based on tax law: level 2 | BWPS1 | CURR | 11(2) | WERT11 | ||||
BWPH1 | Valuation price based on commercial law: level 2 | BWPH1 | CURR | 11(2) | WERT11 | ||||
VJBWS | Valuation price based on tax law: level 3 | VJBWS | CURR | 11(2) | WERT11 | ||||
VJBWH | Valuation price based on commercial law: level 3 | VJBWH | CURR | 11(2) | WERT11 | ||||
ZPLPR | Future planned price | DZPLPR | CURR | 11(2) | WERT11 | ||||
ZPLP1 | Future Planned Price 1 | DZPLP1 | CURR | 11(2) | WERT11 | ||||
ZPLP2 | Future Planned Price 2 | DZPLP2 | CURR | 11(2) | WERT11 | ||||
ZPLP3 | Future Planned Price 3 | DZPLP3 | CURR | 11(2) | WERT11 | ||||
ZPLD1 | Date from Which Future Planned Price 1 Is Valid | DZPLD1 | DATS | 8 | DATUM | ||||
ZPLD2 | Date from Which Future Planned Price 2 Is Valid | DZPLD2 | DATS | 8 | DATUM | ||||
ZPLD3 | Date from Which Future Planned Price 3 Is Valid | DZPLD3 | DATS | 8 | DATUM | ||||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
KALN1 | Cost Estimate Number - Product Costing | CK_KALNR1 | NUMC | 12 | Assigned to domain | CK_KALNR | KNE | ||
VMSTP | Standard price in the previous period | VMSTP | CURR | 11(2) | WERT11V | ||||
VMPEI | Price unit of previous period | VMPEI | DEC | 5 | PACK3 | ||||
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
HRKFT | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
EKALR | Material Is Costed with Quantity Structure | CK_EKALREL | CHAR | 1 | XFELD | ||||
KZKFG | Configurable Material | KZKFG | CHAR | 1 | XFELD | ||||
HKMAT | Material-related origin | HKMAT | CHAR | 1 | HKMAT | ||||
BWPEI | 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 MACK5 using ABAP code?
As MACK5 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 MACK5 as there is no data to select.How to access SAP table MACK5
Within an ECC or HANA version of SAP you can also view further information about MACK5 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