Application Development 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: 

Convert HTML to PDF

0 Kudos

Dear Techies,

We have a requirement to convert the HTML page to PDF in ABAP

We will receive a HTML file from an external application in to SAP. The HTML file should be converted into PDF document and the same should be sent again to that external application. This HTML file will contain images as well

We tried to print the HTML file in smartform and then convert to PDF. But this method is not working well. The HTML tags are directly printed in the output

For example, the HTML tag <IMG ALT="Logo" SRC="https://example.com"> is directly printed as text in the smart form

We have searching the forums for this requirement. There are lot of discussion under the same topic. But nothing meets / solves our requirement

Could you please help on this ?

Thanks,

Niranjankumar R

2 REPLIES 2

iftah_peretz
Active Contributor

Hey,

You can always use a third party product (for example) and then call it from abap (after you passed the file).

Doing it using ABAP is a headache.

Former Member
0 Kudos

Hi Niranjan,

I got the same requirement. Could you please let me know if you found the solution. Please share with me if you have a solution for it.

Thanks,

Baasanthi.