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
1,939

HI,

Can any one specify what BAPI can b used for unit conversion ...

( not the fm UNIT_CONVERSION_SIMPLE )..

points will b rewarded ...

1 ACCEPTED SOLUTION
Read only

former_member239282
Active Participant
0 Likes
1,611

Hi Arun,

you can get Base Unit of Measurement from table T006.

Enter MSEHI(Internal Unit of Measurement) as 'VL' and you will get conversion factor i.e Denominator(NENNR)/Numerator(DZAEHL).

For material conversions, you have to use MARM not T006. A case of material 1 can be 20 but a case some other material can be 30. You cannot simply say 1 case is always equal to 20 or 30, because it depends on the material you are talking about. That is why you cannot use T006 for this purpose or the UNIT_CONVERSION_SIMPLE function module.

T006 or UNIT_CONVERSION_SIMPLE are useful only when you are talking about standard conversion like kilos to punds or centimeters to meters etc.

    • if helpful reward points are appreciated

4 REPLIES 4
Read only

former_member239282
Active Participant
0 Likes
1,612

Hi Arun,

you can get Base Unit of Measurement from table T006.

Enter MSEHI(Internal Unit of Measurement) as 'VL' and you will get conversion factor i.e Denominator(NENNR)/Numerator(DZAEHL).

For material conversions, you have to use MARM not T006. A case of material 1 can be 20 but a case some other material can be 30. You cannot simply say 1 case is always equal to 20 or 30, because it depends on the material you are talking about. That is why you cannot use T006 for this purpose or the UNIT_CONVERSION_SIMPLE function module.

T006 or UNIT_CONVERSION_SIMPLE are useful only when you are talking about standard conversion like kilos to punds or centimeters to meters etc.

    • if helpful reward points are appreciated

Read only

0 Likes
1,611

Hi Pierluigi Demaria ,

I have clearlly mentioned that i need <b>BAPI</b> . Not the function module ...

plz send the standard BAPI 'S If u know...

Thanks for replying i will reward points ...

Read only

Former Member
0 Likes
1,611

Hi Arun,

You can try CONVERSION_FACTOR_GET through this is a FM. Kindly let us the requirement and the need for using Bapi only

thanks and regards,

Tushit

Read only

0 Likes
1,611

Hi Tush Mangad

The FM UNIT_CONVERSION_SIMPLE even works fine and i can enable RFC by copying the standard one ... and create a BAPI , but the problem is that i need the standard BAPI not the custamised one......

Thanks for replying ...