Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Spool Request

Former Member
0 Likes
358

Hi,

I am generating a customer Statement by using script and the script output is PDF File. There is no spool request generated for the customer Ids which are having no data. The problem is if a customer has blank, then the program creates a PDF file with the details from the previous customer. The select query which is used to retrieve the spool request is as shown below.

SELECT RQIDENT FROM TSP01 INTO TABLE ITAB2

WHERE RQCLIENT = SY-MANDT AND

RQOWNER = SY-UNAME AND

RQ0NAME = REVENT.

How can i get the spool request for the customers which are having no data?

Please help me.

regards,

Rajesh.

2 REPLIES 2
Read only

Former Member
0 Likes
312

Hi,

I am assuming that you are using your own script for this.

In case the data is not there there is no script output also I presume which is why there is no spool generated and hence the PDF file is being created for previous spool.

In that case make sure that when there is no data still tehre is some script output present and then check whether still the issue is present.

Hope this helps!

Regards

Nishant

Read only

0 Likes
312

Hi Nishant,

Thanks, the print program is standard program and this program is attached to a transaction called F.27.This transaction is calling in a BDC program which will generate a PDF file. There is no spool request is generated in the print program itself for the customers which are having no data. Please suggest a solution for this.

Regards,

Rajesh.