01-28-2014 3:13 PM
Technical Folks,
I have archived the billing documents in PDF files with the below function modules.
CALL FUNCTION 'ARCHIV_GET_CONNECTIONS'
CALL FUNCTION 'ARCHIVOBJECT_GET_TABLE'
However, I got one PDF file for each document.
How can I get all the billing documents in one PDF file? or
How can we merge PDF files for different documents in one PDF file?
Thanks.
Regards,
Meer
01-29-2014 10:50 AM
01-28-2014 3:15 PM
01-28-2014 4:17 PM
PDF is a XSTRING in abap. It should be possible to just add another xstring to one and you've got your output.
01-29-2014 6:59 AM
Hi Jozef,
PDF is not a flat file ! it contains Header, Footer, pages, ... You can't just concatenate PDF
It's like a video file or a mp3 file.
regards
Fred
01-29-2014 7:46 AM
Hi, I'm sorry, I must have been blackout last day . I joined multiple conversations at once and now I see, that this one does not make too much sense, I apologize.
As you said before, to do this, Meer will need to use a third party software, ideally installed on the server.
01-29-2014 10:50 AM
08-20-2014 10:25 AM
Believe me it's very simple. It becomes much more simpler if are using Adobe Acrobat tool. But make sure you are using full version, i.e. demo version of Adobe Acrobat will not help you in this. Adobe Acrobat tool supports a built-in feature to combine multiple PDF files into a single file.
You can read this blog: PDF Split and Merge is Now an Easy Task to Perform | N.Sem's Blog
Hope this blog would be helpful for those users who are looking for a way to combine and split their PDF files.
Thanks.
05-28-2016 9:32 AM
SAP has answered this requirement 2264208 - Merging PDF files (ABAP interface)
You'd need NW 731, 740 or 750 and appropriate kernel mentioned in SAP Note 2237181.
I could install the Note, but cant test because our system would require kernel upgrade.
cheers
Jānis