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

F.27 customer statement - PDF

Former Member
0 Likes
1,667

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,098

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,099

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

Read only

0 Likes
1,098

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.

Read only

0 Likes
1,098

This message was moderated.

Read only

0 Likes
1,098

This message was moderated.