on 02-16-2007 10:13 AM
HI,
i am working on Goods issue script. In my script there 2 pages. For printing the header for items i have taken a new window from the second page onwards.The item header is printing in all the pages from the second pages onwards. But if there is no item data in the lsat page then also its printing the header. How to supress the header if there is no data.
kishore
Hi!
This can be solved in your printer program.
LOOP AT gt_main INTO wa_main.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = 'ITEM_HEADER'
type = 'TOP' "print the header of the items here
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = 'ITEM_DATA'
type = 'BODY' "print the item data
ENDLOOP.
Regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
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.