cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate multiple output requests for a spool request ?

ansonabraham
Participant
0 Kudos

My problem :

I have created a sapscript for the standard payment medium program RFFOAVIS_FPAYM. In the output session I am getting one spool request and 2 output requests. I require only one output request but it is generating one duplicate output request. I have done coding only in subroutine-pool to populate some values in the spool. Can anybody please guide me to learn how this muliple output requests are getting generated for a single spool request ?

Accepted Solutions (1)

Accepted Solutions (1)

aidan_black
Active Contributor
0 Kudos

Hi,

What is the value of parameter OPTIONS-TDCOPIES when your program calls the SAPscript function module OPEN_FORM? If this is '2', you will get 2 output requests.

Regards,

Aidan

ansonabraham
Participant
0 Kudos

Hi Aidan,

Debugging...

ansonabraham
Participant
0 Kudos

Hi Aidan,

I found OPTIONS-TDCOPIES = 1 in the program.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anson,

what happens if you comment your coding? Does it still create duplicates?

Let me know

a

ansonabraham
Participant
0 Kudos

Hi Andrea,

Thanks for the quick response.

This is the payment meduim program "RFFOAVIS_FPAYM" (sap standard program, can't be editted).

The open_form and write_form function modules are getting triggered from this include "RFFORI06".

Former Member
0 Kudos

Hi Anson

probably is useless but what happens if you testing print the smarform?

Let me know

a

ansonabraham
Participant
0 Kudos

Hi Andrea,

The issue is solved. User have created the test variants with option print immediately selected for all the test cases. This will create one more output request additonal to the default one.

Anyway thank u for responses.

Former Member
0 Kudos

Glad that you fixed it

Have a nice day

a