on 03-05-2009 4:26 PM
Hi Guys
The situation iam facing is this
outside the loop i have printed the item header then iam looping on an internal table which is printing all the items.
When the o/p is one page this works fine but when the o/p is more than one page the item header on the next page dosent get printed because its outside the loop.
somewhat like this
perform print_header.
loop at itab.
perform print_item.
endloop.
Question is how can i place the item header text element in my sapscript so that it prints automatically before the start of the items on every page?
Thanks
Hi,
If u write in between TOP and ENDTOP then it will print in all pages.
/:TOP
header
/:ENDTOP
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I passed top in element while calling write_form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can print item header on every page
Define the following code in window in which you wnat to print item header
/: TOP
item header
/: ENDTOP
Regards,
Rajani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the following in Text Editor on Script form.
😕 TOP
Print the Item header.
:/ENDTOP.
Or.
Use a variable window. To print the header
So it will come for every new Page.
Or.
Define &CURRENT PAGE&
IF &PAGE& NE &CURRENT PAGE&
PRINT HEADER
ENDIF
&CURRENT PAGE& = &PAGE&
Hope this resolves your issue.
Regards,
Gurpreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.