on 05-25-2017 9:17 PM
Hi All,
I need to print some Text of Footer at last page. I have been using flag for this purpose as below in sapscript. I have defined this under MAIN Window. &PAGE(C)& EQ &SAPSCRIPT-FORMPAGES(C) doesn't work here.
/E FOOTER
/:BOTTOM
/: IF FLAG EQ 'X'
text
text
/: ENDIF
/:ENDBOTTOM
In sapscript program have kept following logic at the end.
data: flag type c.
flag = 'X'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'FOOTER'
EXCEPTIONS
element = 1
window = 2.
it works correctly and prints the required only at last page at bottom. But whenever the space in MAIN Window is less, it doesn't print the text. It should go to next page is space is not sufficient.
Please help.
Thanks
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.