Application Development 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: 

How can we merge PDF files for different pay slips in one PDF file using HR Forms in SAP?

0 Kudos

I have archived the pay slip documents in PDF files with the below function modules.

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'

However, I got one PDF file for each pay slip document.

How can I get all the pay slip documents in one PDF file? or

How can we merge PDF files for different pay slips in one PDF file?

Thanks.



Regards,

Harshal.

1 ACCEPTED SOLUTION

Juwin
Active Contributor
0 Kudos

You cannot merge PDFs once they are generated, using ABAP. You may however merge multiple OTFs and create a single PDF document.

Thanks,

Juwin

3 REPLIES 3

Juwin
Active Contributor
0 Kudos

You cannot merge PDFs once they are generated, using ABAP. You may however merge multiple OTFs and create a single PDF document.

Thanks,

Juwin

0 Kudos

Now you apparently can - in ABAP without 3rd party stuff, on NW 731, 740 and 750 and appropriate kernel, via OSS note.

cheers

Jānis

prajeshdesai
Contributor
0 Kudos

Have a look at below thread, which marge two spool request, and then create pdf from that,

How to merge multiple spools into single PDF file? | SCN

Hope this helps.