‎2006 Sep 12 11:03 AM
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.
‎2006 Sep 12 11:59 AM
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
‎2006 Sep 12 2:24 PM
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.