on 10-14-2010 2:42 AM
Hi All,
Here my requirement is I've 4 documents and each document have 3 line items.Now i need to display each document in one page .
i.e smartform has to come for three pages.which command i need to use. I tried to use COMMAND in smartform,after looping of internal table but one page extra is coming.
Please advise.
Thank you,
ANu.
before using COMMAND line use below statement
DESCRIBE TABLE GT_ITAB LINES gv_lines.
after that use your Table or LOOP
again here create program lines under loop or table
gv_tabix = sy-tabix + gv_tabix
in the COMMAND line CONDITIONS put condtion like
gv_tabix LE gv_lines.
then you wont get extra page...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anitha,
I think you can set condition for COMMAND node does not trigger when internal table goes to last record.
In initialization of smartforms, get total of lines of internal table then check the COMMAND node will triger when sy-tabix of line printing < total lines.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.