Hello Vind,
Check this:
REPORT ZV_TEST_SDN . PARAMETERS: INPUT TYPE P DECIMALS 2, DISCOUNT TYPE P DECIMALS 2. DATA: OUTPUT TYPE P DECIMALS 2, INPUT1 LIKE OUTPUT. INPUT1 = INPUT / 100. DISCOUNT = DISCOUNT * INPUT1. OUTPUT = INPUT - DISCOUNT. WRITE OUTPUT.
Cheers,
Vasanth
Add comment