Application Development and Automation 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: 
Read only

Convert string and write it as a .pdf file

Former Member
0 Likes
1,087

Hi all,

I have a proxy Inbound and one of the fields of the proxy it´s string and I have to handed as a pdf to write it on the server of the ECC. Is there any way to pass that string as a binary and download. Pdf in ABAP? or How could write and read the pdf?, it´s possible in ABAP?.

Thank you very much for the support.

example:

data:l_pdf type string.

l_pdf = input-result-pdf.

where value of l_pdf

'JVBERi0xLjQKJeLjz9MKMSAwIG9iajw8L1Byb2R1Y2VyKER5bmFtaWNQREYgdjQuMC4zIGZvciAuTkVU

KS9DcmVhdGlvbkRhdGUoRDoyMDA5MDEyNjIyNTELItSkDQh461bAurMrO+yp8vk5uu6ziIwEWJy9AeRS5

H51fd/SlBar7vkv04uKy28u7wOCmMDMQmHLl1pIYc42OaIUothbqH8qrtDwAoBUQfWLWq9zTtV´

Hi all,

I have a proxy Inbound and one of the fields of the proxy it´s string and I have to handed as a pdf to write it on the server of the ECC. Is there any way to pass that string as a binary and download. Pdf in ABAP? or How could write and read the pdf?, it´s possible in ABAP?.

Thank you very much for the support.

example:

data:l_pdf type string.

l_pdf = input-result-pdf.

where value of l_pdf

'JVBERi0xLjQKJeLjz9MKMSAwIG9iajw8L1Byb2R1Y2VyKER5bmFtaWNQREYgdjQuMC4zIGZvciAuTkVU

KS9DcmVhdGlvbkRhdGUoRDoyMDA5MDEyNjIyNTELItSkDQh461bAurMrO+yp8vk5uu6ziIwEWJy9AeRS5

H51fd/SlBar7vkv04uKy28u7wOCmMDMQmHLl1pIYc42OaIUothbqH8qrtDwAoBUQfWLWq9zTtV´

1 REPLY 1
Read only

Former Member
0 Likes
464

Hi.

Using ABAP did not find a solution and create a module process using the following blog:

[https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2072] [original link is broken] [original link is broken] [original link is broken];

Regards,

Carlos