Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unit conversion

Former Member
0 Likes
760

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
678

Hi

Try the fun modules

UNIT_CONVERSION_SIMPLE

or

MD_CONVERT_MATERIAL_UNIT

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
678

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

Read only

Former Member
0 Likes
679

Hi

Try the fun modules

UNIT_CONVERSION_SIMPLE

or

MD_CONVERT_MATERIAL_UNIT

Regards

Read only

Former Member
0 Likes
678

Check this FM :

UNIT_CONVERSION_SIMPLE

~ Laxmi

  • Reward helpful answers

Read only

alex_m
Active Contributor
0 Likes
678

FM: MD_CONVERT_MATERIAL_UNIT