2007 Oct 23 3:58 PM
Hi Gurus,
My requirement is print the header text data at the end of the main window & also at last page which is in the form internal table.
I created a new window for this & I am extracting the header text data into internal table & using the variables in the new window script. But it is displaying only the last line........
Please I am in need of help regarding this...
Thank you.
Hi Gurus,
My requirement is print the header text data at the end of the main window & also at last page which is in the form internal table.
I created a new window for this & I am extracting the header text data into internal table & using the variables in the new window script. But it is displaying only the last line........
Please I am in need of help regarding this...
Thank you.
2007 Oct 23 4:31 PM
Hi
display the internal tables lines with offsetting in each line separately to print the all lines
/ &ITAB-LINES+0(50)&
/ &ITAB-LINES+51(50)&
/ &ITAB-LINES+101(50)&
/ &ITAB-LINES+151(50)&
AND SEE THE OUTPUT
Regards
Anji
2007 Oct 23 5:51 PM
Hi Anji,
Thank you for quick response.
But even inthis case also it is displaying the last line only.
In my print program the code is as follows:
LOOP AT LINES1 .
CALL FUNCTION 'WRITE_FORM'
EXPORTING
WINDOW = 'INVTXTMG'
EXCEPTIONS
ELEMENT = 1
WINDOW = 2.
IF SY-SUBRC NE 0.
PERFORM PROTOCOL_UPDATE.
ENDIF.
ENDLOOP.
Script Editor:
&LINES1-TDLINE+0(45)&
&LINES1-TDLINE+45(70)&
The internal table consists of atleast 5 lines.
Waiting for your response.
Thanks,
2007 Oct 23 6:03 PM
Hi,
Can you check the window height? That might be causing the problem.
ashish
2007 Oct 23 6:13 PM
2007 Oct 24 1:17 PM
Hi,
ur code seems to be OK. try increasing the window space and see.
2007 Oct 24 6:01 PM
Hi,
Though I increased the height & width of the window it is displaying only the last line........
Please help me with this issue.
Thanks in advance.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |