Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to download and convert RTF/DOC file in DMS into PDF file


We're on ECC6.0. We have a requirement to get the *.doc or *.rtf file checked in DMS, convert it to pdf format and download it as *.pdf file. The document data is stored in DRAO-ORBLK (LRAW data type). Has anyone programmatically done this? What is the process to achieve this? I've read in the forum that you should first convert RTF(.doc) data to OTF format using CONVERT_RTF_TO_ITF and then you will get the script format from rtf data. Generate the spool using the script data. Convert the spool to PDF using CONVERT_OTFSPOOLJOB_2_PDF. However, the fm CONVERT_RTF_TO_ITF uses RAW data type. There's also fm CONVERT_OTF_2_PDF but I don't know how to implement this for my purpose.

Also, if Adobe Distiller is installed on the SAP application server, can it be used from an ABAP pgm?

Thanks in advance for your inputs.

Not what you were looking for? View more on this topic or Ask a question