on 06-25-2010 1:08 PM
Hi all,
I have a requiremnt in which i have multiple line items in main window. I want to print one value after the last item. right now i am using BOTTOM AND ENDBOTTOM. but it is showing that value in every page.. I want tp print that value after the last item not on every page.
Thanks in advance.
Regards
Sachin
Hi,
If you want to add a static text after the main window contents, add a text element after the table in the main window. This will
print the text after the last item in the table.
Regards,
Sagar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
If u are using a print program, then use AT LAST statement in the loop and inside it print that value.
In print program,I think u must be looping through the line items and printing it. Inside it use AT LAST statement for printing that value after printing all the line items.
Ex code:
LOOP AT g_t_items. " Internal table with line items to be printed
CALL FUNCTION 'WRITE_FORM' " Printing Line items
EXPORTING
element = 'ITEM_LINE' " ITEM_LINE is text element in script
window = 'MAIN'.
* printing the required after the last record.
AT LAST.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'LAST' " LAST is text element in script. In script print that value under this text element. /E LAST
window = 'MAIN'.
ENDAT.
ENDLOOP.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.