SAP WRF_COMPARE_UNIT_STY PRICAT Comparison Structure: Unit of Measure Table data and field list

WRF_COMPARE_UNIT_STY 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 "PRICAT Comparison Structure: Unit 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_WRF_COMPARE_UNIT_STY TYPE WRF_COMPARE_UNIT_STY.

The WRF_COMPARE_UNIT_STY table consists of various fields, each holding specific information or linking keys about PRICAT Comparison Structure: Unit of Measure data available in SAP. These include ALT_UNIT (Alternative Unit of Measure for Stockkeeping Unit), NUMERATOR (Numerator for Conversion to Base Units of Measure), DENOMINATR (Denominator for conversion to base units of measure), QUANTITY_UNIT (PRICAT: No. of base units contained)... 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. .

WRF_COMPARE_UNIT_STY structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP WRF_COMPARE_UNIT_STY structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the WRF_COMPARE_UNIT_STY table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
EAN_UPC_TYPEType of material identification PRIEANTYPCHAR2PRIEANTYP
ALT_UNITAlternative Unit of Measure for Stockkeeping Unit LRMEIUNIT3Assigned to domainCUNITMEINS
NUMERATORNumerator for Conversion to Base Units of Measure UMREZDEC5UMBSZ
DENOMINATRDenominator for conversion to base units of measure UMRENDEC5UMBSN
QUANTITY_UNITPRICAT: No. of base units contained PRIQTYUNITNUMC15PRINUMC15
UNIT_BASEPRICAT: Lower-level unit of measure in a packing hierarchy PRIUNITBASEUNIT3Assigned to domainCUNITMEINS
LENGTHLength LAENGQUAN13(3) MENG13
WIDTHWidth BREITQUAN13(3) MENG13
HEIGHTHeight HOEHEQUAN13(3) MENG13
UNIT_LENGTHPRICAT: Unit for length PRIUNITLNUNIT3Assigned to domainCUNITMEINS
UNIT_WIDTHPRICAT: Unit for width PRIUNITWDUNIT3Assigned to domainCUNITMEINS
UNIT_HEIGHTPRICAT: Unit for height PRIUNITHTUNIT3Assigned to domainCUNITMEINS
VOLUMEVolume VOLUMQUAN13(3) MENG13
VOLUMEUNITVolume unit VOLEHUNIT3Assigned to domainCUNITMEINS
GROSS_WTGross Weight BRGEWQUAN13(3) MENG13
UNIT_OF_WTWeight Unit GEWEIUNIT3Assigned to domainCUNITMEINS
PALLET_STACKPRICAT: Pallet stacking factor PRIPALSTAKNUMC18PRINUMC18
UNIT_PURORDPRICAT: Display unit for the order unit PRIUNITPURORDUNIT3Assigned to domainCUNITMEINS
NET_WEIGHTNet Weight NTGEWQUAN13(3) MENG13
UNIT_OF_NETWeight unit for net weight PRINTGEWEIUNIT3Assigned to domainCUNITMEINS
ALT_UNIT_ISOAlternative unit of measure to stockkeeping unit in ISO code LRMEI_ISOCHAR3Assigned to domainISOCD_UNIT
UNIT_LENGTH_ISOPRICAT: Unit for length PRIUNITLNISOCHAR3Assigned to domainISOCD_UNIT
UNIT_WIDTH_ISOPRICAT: Unit for width in ISO PRIUNITWDISOCHAR3Assigned to domainISOCD_UNIT
UNIT_HEIGHT_ISOPRICAT: Unit for height in ISO code PRIUNITHTISOCHAR3Assigned to domainISOCD_UNIT
VOLUMEUNIT_ISOVolume unit in ISO code VOLEH_ISOCHAR3Assigned to domainISOCD_UNIT
UNIT_OF_WT_ISOUnit of weight in ISO code GEWEI_ISOCHAR3Assigned to domainISOCD_UNIT
UNIT_OF_NET_ISOWeight unit for net weight in ISO code PRINTGEWEI_ISOCHAR3Assigned to domainISOCD_UNIT
UNIT_BASE_ISOPRICAT: Lower-lvl unit of measure in packing hierarchy (ISO) PRIUNITBASE_ISOCHAR3Assigned to domainISOCD_UNIT
UNIT_PURORD_ISOPRICAT: Display unit of the order unit in ISO code PRIUNITPURORD_ISOCHAR3Assigned to domainISOCD_UNIT

Key field Non-key field



How do I retrieve data from SAP structure WRF_COMPARE_UNIT_STY using ABAP code?

As WRF_COMPARE_UNIT_STY 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 WRF_COMPARE_UNIT_STY as there is no data to select.

How to access SAP table WRF_COMPARE_UNIT_STY

Within an ECC or HANA version of SAP you can also view further information about WRF_COMPARE_UNIT_STY and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).