Skip to Content

BDS Word Document convert to PDF

Hi all,

I'm aware there are a lot of old posts about a similar thing, but I need to be able to convert a word document stored on an external SAP Content Server into a PDF document for distribution via email.

So the requirement is to open the word document from the content server (this is working), then dispatch this via email (also working), but the attachment must be converted to a PDF document. I haven't found any solution to the conversion process thus far.

Anyone know of anyway to do this either solely within ABAP or by using ADS?

Thanks
Craig

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 03, 2017 at 06:23 PM

    No, you can't do with ABAP only. You must call a software which does it for you (Word itself, or any other converter software).

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 03, 2017 at 11:00 AM

    Hi Craig,

    you may check the code in standard report RSPO0068 (send Word document to spool) and Function Module CONVERT_OTFSPOOLJOB_2_PDF (convert spool request to PDF). Haven't tried it yet but sounds good to me.

    Cheers, Uwe

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Uwe,

      The word document is created by the end user and is then saved to the content server for later retrieval and editing if necessary. Not only that I have not found a method within DOI that allows you to save as another format.

      Cheers
      Craig