‎2007 Jun 21 12:38 PM
hi
i need a function module, which will convert the different unit into one unit.
if for e.g i am possing some gms,kgs and so on.. weight to it, the output is in any one of the unit weight.
plz reply to it..
‎2007 Jun 21 12:42 PM
Hi
Try the fun modules
UNIT_CONVERSION_SIMPLE
or
MD_CONVERT_MATERIAL_UNIT
Regards
‎2007 Jun 21 12:40 PM
Hello,
chk UNIT_CONVERSION_SAMPLE
also chk this
CF_UT_UNIT_CONVERSION
Some Insights-
Unit conversions
with NW2004s the HOW-TO GUIDE for qty conversion is obsolete.
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
As of SAP NetWeaver 2004s you can create quantity conversion types using transaction RSUOM.
The business transaction rules of the conversion are established in the quantity conversion type. The conversion type is a combination of different parameters (conversion factors, source and target units of measure) that determine how the
conversion is performed.
In terms of functionality, quantity conversion is structured similarly to currency translation.
Quantity conversion allows you to convert key figures with units that have different units of measure in the source system into a uniform unit of measure in the BI system when you update them into InfoCubes
http://help.sap.com/saphelp_nw04s/helpdata/en/27/b38c4284a8c353e10000000a1550b0/content.htm
It is entered in ODS table linked to info object (0material)
What you need to do basically is-
1 ) Goto your infoobject for eg- 0material
2 ) In Info object Maintenance- Tab page- Bex Explorer
3 ) Enter 0BASE_UOM in Base unit of measure
4 ) Generate UOM ODS (System generates it with prefix UOM)
It is made of 4 fields (1 more in case of compounding) with SID for them. This is the place where you enter numerator and
denominator to calculate conversion factor
5 ) Load the UOM ODS with conversion from 0MAT_UNIT_ATTR or flat file
6 ) Define conversion type
7 ) In the conversion type, then you can select 0Material in the dynamic determination of conversion factor
8 ) Select source unit and target unit
For more help refer SAP help file on NW2004s. It is comprehensive and even explain - How to do unit conversion in
transformation rule?
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/707242df019c60e10000000a1550b0/content.htm
Hope it Helps
Vasanth
‎2007 Jun 21 12:42 PM
Hi
Try the fun modules
UNIT_CONVERSION_SIMPLE
or
MD_CONVERT_MATERIAL_UNIT
Regards
‎2007 Jun 21 12:43 PM
Check this FM :
UNIT_CONVERSION_SIMPLE
~ Laxmi
Reward helpful answers
‎2007 Jun 21 12:45 PM