on 08-25-2009 6:39 AM
Hi all
i have a table in smartforms through which i print header and main area and i have a command in which i checked the checked box for new page. through which it goes to next page with each new pernr. it is working very well but adding an additional blank page at the end . how can i control it ?
Regards
ammad
Hi,
For the total number of pernr's just use DESCRIBE table ( give the table name which contains the PERNRs ).
Then use the condition whether the current pernr count is kess than the total pernr count.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in MAIN window befor loop create the program lines in that
DESCRIBE TABLE gt_lips LINES gv_lines.
gv_tabix = sy-tabix + gv_tabix.
in COMMAND node condtions tab GV_TABIX LE GV_LINES
put the above condtion we can stop the blank page..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I believe the new page command is in the end of the table node and inside the table node.
Please control the new page trigerring by using a condition when the current number of the pernr is less than the total number of pernr's in the table ( by using program lines ).
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.