cancel
Showing results for 
Search instead for 
Did you mean: 

How to put condition to get VAT %

Former Member
0 Kudos

Hello friends,

I developed smartform for sales invoice in that i have to print output with VAT% and VAT AMOUNT. So out of this i got VAT AMOUNT with VBRP-MWSBP field, now i need to put condition to get VAT% as 12.5% . I want to use divide condition like VAT AMOUNT/10 so i can get my required output on smartforms. Please if any one knows about this statement than send me as soon as possible.

Thanx & Regards,

Rahul Talele

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

declare variable as

data: var1 type p decmals 3.

var1 = <VATAMOUNT> * 12.5 / 100

use this var1 and print in smartform at the place needed.

Former Member
0 Kudos

Hello Ramesh,

I did same thing what you suggested me but in that i am getting one error messge like statement 5 is missing it is showing error for that 12.5 in formula(<VATAMOUNT> * 12.5/100). So what will be the possible solution for it.

Regards,

Rahul Talele

Edited by: Rahul Talele on Feb 25, 2008 3:25 PM

Former Member
0 Kudos

Hi Rahul,

Use the formula as VATPER = <VATAMOUNT> * 125/1000.

You should get it without any error.

Thanks,

Anil