on 07-17-2009 10:34 AM
Hi SAP Gurus,
In a Costomized Smartform , i am having one page (page1) by which line items are printed page by page.
now i have a large scanned image of A4 size which is to be printed on the last page after printing all the line items.
for eg, i am having 15 line items which are printed in 3 pages then after that i need to print this graphic on a new page,
can anyone plz suggest!
Regards Pavan.
Hi,
U set a FLAG variable once u complete printing all the line items.
Create a New page for printing the LOGO
at the end of the page, create a COMMAND 'Go to New Page' (give name of new page), in condition tab give this FLAG = 'X'.
eg:
data : lv_count TYPE i,
lv_lines TYPE i,
lv_flag.
describe table itab lines lv_lines.
write the below code lines in Main window:
LOOP AT itab.
lv_count = lv_count + 1. ---> Counting the Line items in the LOOP
IF lv_count = lv_lines.
lv_flag = 'X'.
ENDIF.
Now, create a COMMAND, 'Go to New Page', give lv_flag = 'X' in Condition tab of the COMMAND.
ENDLOOP.
Hope it works!!
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a new page with a secondary window and put your A4 logo.
Give a condition for this window, only after end of main window.
Regards
Narasingam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You create a Third page with image. Inside Main Window you create an COMMAND window and set a Condition 'Only After End of Main window' and set the property 'Go to New Page' as third page in command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks , now i am getitng the image at the last page .
Now , if i see the print preview it is showing fine , and print also coming fine ,
But if i download it into PDF , the windows in the first page are also displayed overlapping along with the image .
Note that the problem is only when i download into PDF.
Plz Help!
Regards Pavan
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.