‎2009 Jul 09 3:45 AM
Hi friends,
I am working on one requirement for generating customer statement in F.27 .The statement is coming in SAP script and driver program is Z-Driver (Copy of standard RFKORD11) ,customer statement is coming correctly with one spool request.
Problem is while running for 10 (saw for example )customer generating statement in one spool request.
But the requirement is to convert the spool request to PDF per customer (all the 10 customer in single spool request) and place the pdf file in application server.
Questions:
1. How to convert PDF file per customer .
2. How to split the spool request for per customer .
3. Script converted PDF file how to place in application server.
Give Suggestion for the above requirement .
Thanks in advance
Ram.
‎2009 Jul 09 5:13 AM
Hi,
Here are answers of your questions:-
Questions:
1. How to convert PDF file per customer .
A. Get spool id per customer and use FM CONVERT_OTF_2_PDF or CONVERT_OTFSPOOLJOB_2_PDF or 'CONVERT_ABAPSPOOLJOB_2_PDF' SAPSCRIPT to PDF for conversion.
2. How to split the spool request for per customer .
A. This you have to design in your driver program and club your spools for particular customer.
3. Script converted PDF file how to place in application server.
A. You have to use destination for PDF as file name and then use Open dataset for output to keep it on application server.
Regards,
Gaurav
‎2009 Jul 09 5:13 AM
Hi,
Here are answers of your questions:-
Questions:
1. How to convert PDF file per customer .
A. Get spool id per customer and use FM CONVERT_OTF_2_PDF or CONVERT_OTFSPOOLJOB_2_PDF or 'CONVERT_ABAPSPOOLJOB_2_PDF' SAPSCRIPT to PDF for conversion.
2. How to split the spool request for per customer .
A. This you have to design in your driver program and club your spools for particular customer.
3. Script converted PDF file how to place in application server.
A. You have to use destination for PDF as file name and then use Open dataset for output to keep it on application server.
Regards,
Gaurav
‎2009 Jul 09 7:17 AM
Hi Mishra,
Thanks for your time full reply .
One Spool id is generating for all customer .Saw for example I am running one time T-code F.27 for 100 customer ( by using multiple option in selection parameter) for this its generating one spool request .So now how to split the spool request per customer and how converting to PDF .
Waiting for your valuable suggestions
Thanks ,
Ram.
‎2009 Jul 10 7:01 AM
‎2011 Jun 16 8:08 AM