cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Of Measure Conversion

Former Member
0 Kudos

I have a BLS that I need to convert the unit of entry from xx (where xx could be EA, CS, etc.) to LB. I was looking for a BAPI that would do this but could not find one.

I am sure this is done all the time by this group and figured it would be easier to ask here.

Thanks to all.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I am on 11.5.

sidnooradarsh
Contributor
0 Kudos

Hi Miller,

There is a similar action block in 11.5 as well and the file is located in following directory in 11.5

Lighthammer\Xacute\ReferenceDocuments\UnitConversions

Regards,

Adarsh

Edited by: Adarsh Sidnoor on Jul 31, 2009 6:12 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Tested as -

convertunits( 12.45 , "CS" , "LB" )

Came back with zero. What is the name of the Unit Conversions table so I can go wee if it is setup right?

sidnooradarsh
Contributor
0 Kudos

Hi Miller,

If you are using MII 12 you can also use Unit Converter Action Block.

You can get the UnitConversions.xml file from Lighthammer/Xacute/ReferenceDocuments/UnitConversions.

Check the following link for more details

http://help.sap.com/saphelp_xmii120/helpdata/en/44/685bd48157311fe10000000a155369/content.htm

Hope this helps!!

Regards,

Adarsh

Former Member
0 Kudos

Are you only ever dealing with one material or will all cases (for example) across materials always weigh the same?

jcgood25
Active Contributor
0 Kudos

http://help.sap.com/saphelp_xmii120/helpdata/en/45/bf7f3b692f52f5e10000000a1553f7/content.htm

Take a look at the convertunits function. There should be a WB menu option when working on a TRX for defining the multiplier for the FROM / TO units in a table format.