Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Attachment size using fm convert_abapspooljob_2_pdf

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

brad_bohn
Active Contributor
0 Kudos

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.

2 REPLIES 2

brad_bohn
Active Contributor
0 Kudos

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.

OttoGold
Active Contributor
0 Kudos

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