‎2009 Jul 30 2:55 PM
Hi,
I am doing a pricing routine to calculate the TAX AMOUNT using RV64A608.But its not happening.
My logic will be :
Tax amount = (MRP/100+Tax%) * Tax%
My main problem is on which field the output will be dispalyed.My calculation is:
data: s1 type komv-kbetr.
s2 type komv-kbetr.
like that........
if xkschl = 'some condition'.
s1 = xkomv-kbetr "MRP
end if.
if xkschl = 'some condition'.
s2 = xkomv-kbetr "Tax
s3 = s2 + 100.
s4 = s1 / s3.
s5 = s4 * s2.
where will the s5 value be passed so that it will be displayed into the pricing condition.
Kind Regards,
Edited by: Prasenjit Sengupta on Jul 30, 2009 4:02 PM
‎2009 Jul 30 3:41 PM
Hello,
You have to use the structure XKOMV.
It should be the reverse,
For example, XKOMV-<field> = s1. as this structure XKOMV will be used in the program.
Cheers,
Balaji