Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform Page Break Issue

Former Member
0 Likes
398

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.

2 REPLIES 2
Read only

Former Member
0 Likes
372

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

Read only

0 Likes
372

Thanks Hemant ,

I have found another work around using pagenos...

I liked ur suggestion as well .. though i have not tried it.