2010 May 28 3:29 PM
HI all ,
Please help me in the issue , In my smartform i am priint total value of the line items . but its totaling the line items of the last page only but not the one from page 1 . can you please suggest me possible solution
2010 May 28 3:36 PM
Hi,
You can do this by declaring a Global variable and incrementing it for each new item.Do not clear it.
Add the Global variable into Input and Output variables column in the Program lines / Initialisation Node.
loop at it_tab1.
at new item.
GV_total = Gv_total + 1.
endat.
endif.
You can use it at end.
Regards,
KC
HI all ,
Please help me in the issue , In my smartform i am priint total value of the line items . but its totaling the line items of the last page only but not the one from page 1 . can you please suggest me possible solution
2010 May 28 3:36 PM
Hi,
You can do this by declaring a Global variable and incrementing it for each new item.Do not clear it.
Add the Global variable into Input and Output variables column in the Program lines / Initialisation Node.
loop at it_tab1.
at new item.
GV_total = Gv_total + 1.
endat.
endif.
You can use it at end.
Regards,
KC
2010 May 28 3:53 PM
Hi,
Thanks for the answer , I am not clearing at end of the page but still its clearing at end of the page . Please suggest
2010 Jun 11 11:18 AM