‎2008 Feb 18 8:40 AM
Hi Experts,
My requirement is to print the unit price with 4 places after the decimal. Now it was printing as 36.90 per 100 kg, but i want to print it as 0.369. per 1 kg.
This should be for specific sales organization and division.
So can any one suggest me some solution for that.
Thanks & Regards,
Ramana.
‎2008 Feb 18 8:45 AM
Hi
Based on your conditions ( sales org )
calculate Unit Price
IF SO( Sales Org) = 'A'
NETPR = NETPR/ PEINH .
ELSEIF...(with diff SO)
ELSEIF...(with diff SO)
ENDIF .
NETPR can be declared like
DATA netpr type p decimals 4 .
Hope it helps.
Praveen
‎2008 Feb 18 8:51 AM
Hi Praveen,
Thanks for your reply. I have awarded u points.
In debugging when i chage this 36.90 as 0.3690 it was rounding off the value as 0.40. The field name is KOMVD-KBETR. Can u tell me why this is rounding off.
Thanks & Regards,
Ramana.
‎2008 Feb 18 8:51 AM