on 06-21-2012 10:58 AM
Hi Gurus,
I am developing the smart form with water mark, it works fine, but now client requirement is,
1) when he gives the print, there should be the two copies and first copy should not display water mark and second copy should be display the watermark.
Thanks in advance,
Thanks & Regards,
Radhakrishna.ette
SAP ABAP Consultant
Hi to all
I have done by this way,
I have taken copies window as the same dimensions of main window , in the copies window i taken text , their available the condition tab in codition tab i have provided the condtion like
SFSY-COPYCOUNT <> 001.
So this copy window will be triggered when we give prints as 2,3... on print lable box.
My second requirement:
Here my requirement is always two prints one original and second one is duplicate so by default i set the no of copies 2 on print label box so from driver program i coded like this
DATA: wa_output_options TYPE ssfcompop.
wa_output_options-tdcopies = 2.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = wa_output_options
USER_SETTINGS = ' '
Now its automatically coming 2. so user just click the print button it comes 2 copies.
Thanks & Regards,
Radhakrishna.Ette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Yoy may use 2 different smartforms.
In NACE assign thse SMARTFORMS to same driver program.
Now in driver program, use below logic
To get current number of copy, use SFSY-COPYCOUNT and call relevant Smartform accordingly.
Eg:
IF SFSY-COPYCOUNT = 1 and server is NE 'PEP' "except Production
*--------------------- print Smartform with watermark image
else.
if server is NE 'PEP'
"*----------------- print Smartform w/o watermrk image.
endif.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try copying the page to a new one with watermark so first page is without and second with watermark. You may need to alter the form flow to print both pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Laurent,
I have copied the first page and created the second page with watermark Result is it display the water mark on second page. But I want to display total data of first page(it may have n number of pages), then display the second page data with water mark.
Step1) I have 10 materials has to display so it will comes on two pages, if 15 materials it may take 3 pages to Print the data.
Step2) same First page Data has to print again with water mark(Water mark containing Duplicate copy).
So Step1 print gives to those Users and Step2 print keep with my Client(it refers Duplicate).
Thanks in advance
Thanks n Regards,
Radhakrishna.Ette
Hi again,
I'm not very sure that this will work but you can give it a try.
Copy the first page to a page named last exactly as it is ( Including loops etc )
First page attributes declare as next page first page.
at the end of form flow logic of first page insert a command to call last page.
I believe that with this way, you will let's say print the first page 3 times ( if it has many items ) and then by calling the last page you will again print it 3 times with watermark since whole logic is the same.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.