‎2007 Nov 03 10:33 AM
HI,
Can any one specify what BAPI can b used for unit conversion ...
( not the fm UNIT_CONVERSION_SIMPLE )..
points will b rewarded ...
‎2007 Nov 03 10:57 AM
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
‎2007 Nov 03 10:57 AM
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
‎2007 Nov 03 11:45 AM
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 ...
‎2007 Nov 05 7:38 AM
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
‎2007 Nov 05 8:59 AM
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 ...