cancel
Showing results for 
Search instead for 
Did you mean: 

Spool Print 1 but Print Output is 2 ?

Former Member
0 Kudos

Dear All,

1. I've changed the existing script layout as per the requirement.

2. Now, when I execute the concerned Transaction and say "Issue Output", the script output is being sent to Spool.

3. Now, when go to SP02 Transaction and check the Spool request, the concerned spool is having a spool of 1 page.

4. Now, when I print this spool request, I'm getting 2 Print outs with the same content (i.e. the 2nd copy is a duplicate of the original )

Can you guys tell me why it is printing the same spool twice ?

Note: The printer settings in SPAD are fine and fthe printer is working fine for all the remaining SAP spool outputs.

Regards,

Deepu.K

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Issue with the Printer settings !

Former Member
0 Kudos

Hi,

check the value of TDCOPIES in driver program of structure TYPE 'ssfcompop'. it might have a value of 2.

also you check in the SPOOL, i guess it might have 2 pages, just use page down to see the 2nd copie.

Rgds,

Pavan

Former Member
0 Kudos

Dear All,

1. I checked my spool thoroughly. It;s having only 1 Page.

2. I'm not able to get the value for the field TDCOPIES in my driver program.

I've checked in debugging mode and when I give this FIeld TDCOPIES in the Field names box, it's showing in red color whcih says that is not identified as a field name.

How can I check this parameter value ? SHould I read any Data Base Table ?

Regards,

Deepu.K

Former Member
0 Kudos

check in your print program with a key word TDCOPIES, actually it's a field in structure 'ssfcompop', we pass this type structure to Smartform FM Exporting parameters 'OUTPUT_OPTIONS'.

eg:

data : l_t_out type ssfcompop.

l_t_out-tdcopies = '2'.

call function l_f_fname "Smartform Function module name

exporting

control_parameters = l_t_control

output_options = l_t_out

user_settings = space

p_langu = p_langu

tables

g_t_item = g_t_final

exceptions

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

others = 5.

Hope it helps!!

Rgds,

Pavna

Former Member
0 Kudos

Hello Pavan,

1. I'm actually using Scripts.

2. I found the TDCOPIES filed in the FM CLOSE_FORM --> RESULT Parameter.

3. I checked the value for teh TDCOPIES Field in the debugging mode.

4. It is showing as "1".

Why am I still getting 2 Printouts ?

I guess there is a problem in my script.

I deleted the NEXT PAGE of my script.

I have only one FIRST PAGE and the output of my script also comes in 1 Page.

I'm clue less about this problem...... Any help ???

Regards,

Deepu.K

..

Former Member
0 Kudos

Hi,

lets go back to the basics.

If you look in the spool you see 1 page

If you print it from the spool there are print 2 the same pages.

What if ypou go to the spool.

select the right spoolno

click on button print with changed parameters

what value has the field number of copies?

let me know.

Gr., Frank

if that value is 1 the problem has nothing to do with your form.

Former Member
0 Kudos

Hello Frank,

When I see Number of Copies in the Print Parameters screen using the procedure mentioned bu you,

I'm able to see the value as " 1 ".

Now what ? How should I resolve this ?

Regards,

Deepu.K.

Former Member
0 Kudos

for that scrpt where you have called you must have passed some parameters in the output param. check the field tdcopies in that .

Former Member
0 Kudos

hi,

check field TDCOPIES.

Gr., Frank