‎2008 Jan 09 7:45 AM
Hi,
there is vat window in my smartform.
there are vat codes like 0,z,1
for '0' vat code there is vat rate as 0.00%
for '1' vat code there is vat rate as 17.50%
for 'z' vat code nothing rate is there but it should be there so that the enduser can put any vat percentage in future
could anybody help me in giving the procedure for the coding for this
‎2008 Jan 09 8:01 AM
Hi,
1.Create three text in the vat window .
2.Create three FLAG (data: g_flag type c,g_flag1 type c,g_flag2 type c).
3.In each each text assign one flag in the condition tab.
Logic:
if vat = 0.
g_flag = 'X'.
elseif vat = 1.
g_flag1 = 'X'.
elseif vat = 'Z'.
g_flag2 = 'X'.
endif.
Regards,
Billa
‎2008 Jan 09 8:57 AM
HI,
thanks for your reply but i need some more to be clarified.
Hi,
there is vat window in my smartform.
there are vat codes like 0,z,1
for '0' vat code there is vat rate as 0.00%
for '1' vat code there is vat rate as 17.50%
for 'z' vat code nothing rate is there but it should be there so that the enduser can put any vat percentage in future
could anybody help me in giving the procedure for the coding for this
based on that i want to calculate the taxable amounts and the amount taxes accorign to those vat codes
COULD YOU PLS HELP ME OVER THIS?
‎2008 Jan 09 9:07 AM
Hi ,
Use the same logic which i said and do the calculation inside.
if vat = 0.
calculation.
g_flag = 'X'.
endif.
Reward if useful...
Regards,
Billa