2007 May 03 2:18 PM
Hello ,
I have a smartform main window which prints all the contents of an internal table in the format defined ..
I need to clear a variable each time the page breaks(automatic page break).
I have inserted program lines into the loop of internal table saying
if sfsy-pagebreak = X
clear line_no.
ENDIF.
this is not working .. instead if i write
if sfsy-date = 20070503
clear line_no.
endif.
this works ..
could some one please suggest how do i check if an automatic page break has occured.
Hello ,
I have a smartform main window which prints all the contents of an internal table in the format defined ..
I need to clear a variable each time the page breaks(automatic page break).
I have inserted program lines into the loop of internal table saying
if sfsy-pagebreak = X
clear line_no.
ENDIF.
this is not working .. instead if i write
if sfsy-date = 20070503
clear line_no.
endif.
this works ..
could some one please suggest how do i check if an automatic page break has occured.
2007 May 03 2:29 PM
Hi Neelima,
In footer of the main window u can clear that variable.
use command line option for that.
Reward points if helpful.
Regards,
Hemant
2007 May 03 2:33 PM
Thanks Hemant ,
I have found another work around using pagenos...
I liked ur suggestion as well .. though i have not tried it.