Skip to Content
avatar image
Former Member

Embed and display PDF file contents in SAP Adobe Form

Hi friends,

How to embed PDF file contents in SAP Adobe Interactive Form? I have a PDF file stored in SAP DMS. I need to display pdf file contents (stored in DMS) at the end of SAP Adobe form. ( The pdf is not be attached in SAP Adobe Form but rather its contents should be loaded and displayed in SAP Adobe Form).

I have gone through SCN but I haven't found any concrete answer yet. Please help me out friends.

kind regrads,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 07, 2016 at 09:58 AM

    Did you read the SAP note 2264208 (Merging PDF files (ABAP interface)) at

    It introduces the class CL_RSPO_PDF_MERGE. Could you try it?

    Excerpt of the note, about limitations:

    • The PDF merger was developed for PDF files created by ADS or the SAP PDF converter. No guarantee can be given for PDF files from other sources. The following restrictions apply:
    • Interactive PDF files are not supported. They might be merged, but the interactive content will definitely be lost.
    • Files that contain encrypted content are not merged. It is often difficult to tell whether a file contains encrypted content from outside. If the file is opened with a text editor, you will find the keyword 'Encrypt' somewhere in it.
    • The files to be merged must correspond to the PDF specifications. Sometimes, the internal table of contents or internal object reference of a PDF file is damaged. This then no longer corresponds to the specifications. Such damaged files are not merged, even if some PDF viewers - such as Adobe Reader - can display the individual files.
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 15, 2016 at 02:04 PM

    Hello Friends,

    Please help me out. I am not able to figure it out how to resolve this issue?

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 21, 2017 at 01:41 PM

    Is there any alternative class to merge the xstrings apart from cl_rspo_pdf_merge. Or any function module to merge the Xstrings. We have used in one of our sandbox systems. since we dont have this in dev we were stuck at this step to merge the xstrings and send to spool system for printing. This will be much helpful if answered.

    Add comment
    10|10000 characters needed characters exceeded