Skip to Content
avatar image
Former Member

Attachment size using fm convert_abapspooljob_2_pdf

Is there any method to reduce the PDF size created by the FM convert_abapspooljob_2_pdf? There is a 150+ page report that a few users need (well, that they think they need) via an email attachment.

Right now it's converting to a 30+ MB attachment and the send fails.

Thanx

Mark

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 18, 2010 at 05:22 PM

    That's pretty big considering that page size - do you have logos embedded in the report? You can compress the PDF using class CL_ABAP_ZIP prior to attaching it. There have been many discussions regarding this topic on the forum and there are some OSS notes as well.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 22, 2010 at 08:46 AM

    This question has been discussed many times. That means: I hardly believe you didn´t find any relevant information source. Did you search? There are factors causing the PDF to be large, like coloring. If you would remove the coloring of the cells, the file size should shrink. In case you would like to create a PDF file like 100x smaller, why don´t you create an Adobe form for this purpose? Without any special magic, it would take you like half an hour.

    regards Otto

    Add comment
    10|10000 characters needed characters exceeded