on 04-02-2008 10:03 AM
Hello GURUS,
I am facing one problem in smartform,
In output type of vf03 i want printout with three copies , on which 'ORIGINAL' , 'DUPLICATE' 'TRIPLICATE' written on the on the copies.
how is it possible .
Please guide me .
its very urgent.
points will be surely rewarded.
Hi Priya,
Create three pages in smartform.
Create header window for ur title and create text into header window 'Original'.
Copy all windows of first page into second and third except header window from first page.
Then create header1 window in second page and create text which prints 'Duplicate'
Then create header2 window in third page and create text which prints 'Triplicate'
And in last window of first page just right click ->create command and click go to new page and give the name of second page.
Same with second page but give name of third page as next page.
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to use page protection if u have data within internal table
And if u r using table node
1. Create one folder in main area of table
2. Insert the line item(row) within that
3. Click the page protection which is in output options of folder.
Or u can apply the same on the other nodes of window which contains large amount of data.
Try it and let me know if thr is any problem.
Hi Priya,
First make ur Title window as 'Copies Window' and ve three Text elemnts in it.
In the First text element condition tab, ve a condition - 'SFSY-COPYCOUNT = '001' and in general attributes Print 'Original'.
In the second text element condition tab, ve a condition - 'SFSY-COPYCOUNT = '002' and in general attributes Print 'Duplicate'.
In the Third text element condition tab, ve a condition - 'SFSY-COPYCOUNT = '003' and in general attributes Print 'Triplicate'.
Finally in Print Dialog Box, Give 3 as input to the field ' No. of Copies'.
If u r passing values to the Print Dialog through program, then pass the value '3' to SSFCOMPOP-TDCOPIES field.
Please let me know whether its working.
Regards,
Prabhu
Edited by: Prabhuraj Krishnan on Apr 8, 2008 12:35 PM
Hi,
I had not tried it before but try this one
As said by some above
use the COPYCOUNT
variable in the conditions of your heading
take three different text elements and give your conditions & headings &
In your driver program
DATA: x_output_options TYPE ssfcompop.
x_output_options-tdcopies= 3.
& in your function module pass this value as
CALL FUNCTION g_fname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = x_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = x_output_options
Thanks,
Phani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
For 3 Copies.....First Declare one Variable and Assgin no of copies is 3(formpages).
if formpages = 1.
Original,
elseif formpages = 2.
dublicate.
else.
dublicate2.
endif.
thanks,
kumar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya
Please follow the following steps:
1) select a record with the following attribute from the table
NAST
KAPPL = V3
OBJKY = INVOICE NUMBER
KSCHL = YOUR CONDITION TYPE
VSTAT = 1.
If you find a record with this attributes it means that the invoice is already printed once,
so you can set a flag and display the TITLE depending on the flag,
Please let me know if you have any doubts,
Reward if Usefull
Hi,
In Your SAPScript Write This field
&PRINT_CO-DRTXT&
This will be get printed in runtime according to your driver program .
Regards
Sandipan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.