on ‎2024 Aug 14 12:15 PM
Hi experts,
I have one requirement in which I have to merge multiple PDF's. The problem is that I am getting these PDF from spool. I have used the FM "CONVERT_ABAPSPOOLJOB_2_PDF " to get the spool request in a table with type TLINE. Now again I want to fetch another spool request and merge both the files in one PDF file.
I am unable to merge these files.
Even if I concatenate all it_pdf in byte mode. I am getting the last PDF only but not the whole or complete merged PDF.
Please help me with it.
Request clarification before answering.
You're plain wrong in thinking that 2 PDF can be merged by just concatenating their bytes. You need special code to merge 2 PDF files; there's one class to do that, which you can find by searching the forum. Another solution is to merge the two ABAP List spool files into one ABAP List spool file before calling CONVERT_ABAPSPOOLJOB_2_PDF once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 7 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.