02-06-2009 11:32 AM
hello experts,
I am retreiving the details from LIPS table based on the delivery number, I want to chage the weight unit from KGs to Pounds and vice versa based on the country.how to convert it.
thanks in advance,
02-06-2009 11:37 AM
Hi Himabindhu ,
Try using these function modules..
BKKT_BKKTERM_CONVERT_TERMUNIT
BKKT_BKKTERM_CONVERT_UNIT
or you can directly do it by taking the normal conversion .
1 kg = 0.4593 pounds.
Hope it helps!
Much Regards ,
Amuktha .
Edited by: Amuktha Naraparaju on Feb 6, 2009 12:37 PM
02-06-2009 11:37 AM
Hi Himabindhu ,
Try using these function modules..
BKKT_BKKTERM_CONVERT_TERMUNIT
BKKT_BKKTERM_CONVERT_UNIT
or you can directly do it by taking the normal conversion .
1 kg = 0.4593 pounds.
Hope it helps!
Much Regards ,
Amuktha .
Edited by: Amuktha Naraparaju on Feb 6, 2009 12:37 PM
02-06-2009 11:39 AM
U can write a simple logic to convert ...
1 pound = 453.59237 grams
02-06-2009 11:40 AM
HI
you can use keyword SET COUNTRY based on which it can change the weights currency etc
Thanks
Viquar Iqbal
02-06-2009 11:42 AM
02-06-2009 11:43 AM
Hi,
Please refer the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa013c493111d182b70000e829fbfe/content.htm.
Regards,
Rahul
02-06-2009 11:45 AM
Hi,
You can try this function module
'UNIT_CONVERSION_SIMPLE'
"OR
CIF_GEN_CONVERT_BASE_UOM
Thanks
Arun
Edited by: Arun Kayal on Feb 6, 2009 12:48 PM
02-06-2009 11:47 AM
Hi,
sorry for reposting
Edited by: Rahul Kumar Sinha on Feb 6, 2009 12:47 PM
02-06-2009 12:29 PM
Hi,
conversions:
1 kg = 2.20462262 pounds.
1 pound = 0.45359237 kg.
say retriving data from lisp table into i_tab(with header line) .
loop at i_tab.
case: i_tab-unit.
when 'KG'.
+ conversion.+
when 'PND'
Do conversion.
endcase.
modify i_tab transporting unit quan where <condition>.
Regards,
Mdi.Deeba