‎2011 Mar 31 2:03 PM
Hello Experts,
I developed one format using smartform, In this one field is there (that is serial no),
My requirement is when ever execute the report serino is automatically incrementted by1.
how it is possible in smartforms? pls help me in this.(increments only when they take print).
‎2011 Mar 31 2:29 PM
Hi
Use the Variant in table TVARVC. In that create one Variant and update the variant value when ever you take the print.
and use that variant value in u r form.
Regards,
Raghu.
‎2011 Apr 20 11:05 AM
Hi Raghavendor,
Thank u for giving this information ,
Please give me in detail so that i can understood.
‎2011 Mar 31 2:41 PM
‎2011 Mar 31 7:31 PM
hii,
when u loop into final table just give the code below.And place the variable in the table coloumn.
loop at it_vbrp into wa_vbrp.
v_slno = v_slno + 1.
wa_final1-slno = v_slno.
regards,Sri
‎2011 Apr 20 11:14 AM
Hi ,
For Serial no in Smartforms .
You have to create one Custom ztable . When ever they take print update that table with max number + 1
and access that no before updating . In this way you will be maintaining print records also add year inthat table
regards
Deepak