Skip to Content
avatar image
Former Member


Hey ho,

is it possible to convert a PDF using the class CL_IGS_IMAGE_CONVERTER?

I know, there are several other FM's out there, that could, but Task is it, to do it with with this class...

Add comment
10|10000 characters needed characters exceeded

  • Convert to what?

    Why not just try it and report the result here ;-)

  • Former Member Uwe Fetzer

    Convert to an Image.

    I've allready tried it, but the execute-method, it raises an runtimeerror.

    I even tried to convert to jpeg, even the error appears. After that, i had an jpeg, as big as the PDF, butnot able to open...

  • Get RSS Feed

1 Answer

  • Aug 16, 2017 at 03:38 PM


    If I have to do that I will probably use a virtual printer to generate an image from the PDF file. Then import that image file in SAP to convert it (if needed) with CL_IGS_IMAGE_CONVERTER.

    I'm not aware that you can "print a PDF" into an image file with a pure ABAP flow (in a reasonable amount of time and effort).

    Best regards


    Add comment
    10|10000 characters needed characters exceeded

    • Yes, as I said in my first message : with a virtual printer. :)

      Google "print PDF as an Image" and you will find several ways to do it. Just pick one solution that allow you to transform a PDF in file from a command line on your OS and create an entry in SM69 to simplify calling from ABAP.

      Best regards