cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Merge Multiple Adobe Forms into 1 PDF Content (S/4HANA CLOUD)

Neil_Lee_057
Explorer
0 Kudos

Dear Experts,

I have referenced this great blog and successfully generated a PDF file.

https://blogs.sap.com/2023/01/17/sap-forms-service-by-adobe-in-sap-btp-abap-environment/

Next, I would like to integrating multiple Adobe Forms into 1 PDF Content.

I have tried appending other key values to the "lt_keys", but it will dump at below code

DATA(lv_xml) = lo_fdp_util->read_to_xml( lt_keys ).

I would like to inquire whether this is achievable in the S/4HANA Cloud environment.

My development environment as below screenshot

Accepted Solutions (1)

Accepted Solutions (1)

AlexanderRother
Employee
Employee
0 Kudos

Hi Neil,

if you want to merge the PDF files, please use class CL_RSPO_PDF_MERGER.

Best regards,

Alexander

Neil_Lee_057
Explorer
0 Kudos

Dear a.rother

Thanks for reply first, and Pardon for I didn't mention that my programming is BTP, ABAP Environment.

Currently, class CL_RSPO_PDF_MERGER seems is not yet usable.

Neil_Lee_057
Explorer

Dear a.rother ,

Appreciate your reply, Class CL_RSPO_PDF_MERGER get works

I find the doc as below

https://help.sap.com/docs/btp/sap-business-technology-platform/pdf-merger-api

Answers (1)

Answers (1)

AlexanderRother
Employee
Employee
0 Kudos

Hi Neil,

your screenshot is for a wrong class (the internal one, without "R" at the end). Please check class CL_RSPO_PDF_MERGER.

Best regards,
Alexander