Skip to Content
0

Convert HTML to PDF

Nov 24, 2017 at 07:18 AM

189

avatar image
Former Member

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 Logohttps://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 ?

Helpful and Correct answers will be rewarded

Thanks,

Niranjankumar R

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Iftah Peretz
Nov 30, 2017 at 01:07 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Baasanthi Ch Mar 28 at 08:50 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded