BAPI_MARM SAP (Units of Measure) Structure details
Description: Units of Measure
Structure field list including key, data, relationships and ABAP select examples
BAPI_MARM 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 "Units of Measure" 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_MARM TYPE BAPI_MARM.
The BAPI_MARM table consists of various fields, each holding specific information or linking keys about Units of Measure data available in SAP. These include ALT_UNIT_ISO (Alternative unit of measure to stockkeeping unit in ISO code), NUMERATOR (Numerator for Conversion to Base Units of Measure), DENOMINATR (Denominator for conversion to base units of measure), EAN_UPC (International Article Number (EAN/UPC)).. 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_MARM 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 |
ALT_UNIT | Alternative Unit of Measure for Stockkeeping Unit | LRMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ALT_UNIT_ISO | Alternative unit of measure to stockkeeping unit in ISO code | LRMEI_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
NUMERATOR | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
DENOMINATR | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
EAN_UPC | International Article Number (EAN/UPC) | EAN11 | CHAR | 18 | EAN11 | EAN11 | EAN | ||
EAN_CAT | Category of International Article Number (EAN) | NUMTP | CHAR | 2 | Assigned to domain | NUMTP | |||
LENGTH | Length | LAENG | QUAN | 13(3) | MENG13 | ||||
WIDTH | Width | BREIT | QUAN | 13(3) | MENG13 | ||||
HEIGHT | Height | HOEHE | QUAN | 13(3) | MENG13 | ||||
UNIT_DIM | Unit of Dimension for Length/Width/Height | MEABM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UNIT_DIM_ISO | Unit for length/breadth/height in ISO code | MEABM_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
VOLUME | Volume | VOLUM | QUAN | 13(3) | MENG13 | ||||
VOLUMEUNIT | Volume unit | VOLEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VOLUMEUNIT_ISO | Volume unit in ISO code | VOLEH_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
GROSS_WT | Gross Weight | BRGEW | QUAN | 13(3) | MENG13 | ||||
UNIT_OF_WT | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UNIT_OF_WT_ISO | Unit of weight in ISO code | GEWEI_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
DEL_FLAG | Delete Data Record (in Repeat Tables) | DELETE_FLAG | CHAR | 1 | XFELD | ||||
SUB_UOM | Lower-Level Unit of Measure in a Packing Hierarchy | MESUB | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SUB_UOM_ISO | Lower-Level Unit of Measure in ISO Code | MESUB_ISO | CHAR | 3 | Assigned to domain | ISOCD_UNIT | |||
GTIN_VARIANT | Global Trade Item Number Variant | GTIN_VARIANT | CHAR | 2 | GTIN_VARIANT | ||||
NESTING_FACTOR | Remaining Volume after Nesting (in Percentage) | CIFNESTFTR | DEC | 3 | DEC3 | ||||
MAXIMUM_STACKING | Maximum Stacking Factor | CIFMXSTACK | INT1 | 3 | INT1 | ||||
CAPACITY_USAGE | Capacity Usage | CIFCAPAUSE | DEC | 15(3) | DEC15_3 | ||||
EWM_CW_UOM_TYPE | EWM-CW: Category of Unit of Measure | DE_EWMTY2TQ | CHAR | 1 | DO_EWMTY2TQ |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI_MARM using ABAP code?
As BAPI_MARM 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_MARM as there is no data to select.How to access SAP table BAPI_MARM
Within an ECC or HANA version of SAP you can also view further information about BAPI_MARM 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