2017 Nov 24 7:18 AM
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
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
2017 Nov 30 1:07 PM
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.
2018 Mar 28 9:50 PM
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.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |