on 01-04-2010 5:01 PM
Hi experts,
i've managed to download a huge(!) spool request (889 pages, ABAP List) in the common 2-step-process:
1 - RSTXPDFT4 (converting in background mode!) > new "binary" spooljob was created
2 - RSTXPDFT5 (GUI-Download this new spooljob to path X)
Before i switched on PDF conversion settings in RSTXPDF3: FASTLISTCONV, COMPR_PAGECONT
Problem:
the created/converted file is much bigger as i expected --> 99,6 MB !
Question:
is there any (hidden) option to get the downloaded file more "compressed"?
Hints: I have some columns with color, font = Courier, coding = ANSI
thanx in advance for any hints
regards Jörg
Hello,
I guess you won´t like it because it need some work to do, but you can get what you want if you develop a PDF print form, using transaction SFP you draw a template, fill it with data with a simple program a print. Yes, this is not "every spool into PDF", but the performance, file size and other things will change considerably.
If you need a start point, you can start here: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf806...
Regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we droped all colours and than result looked better ...
Edited by: Jörg Sauterleute on Jan 29, 2010 11:47 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you're right ... it would have excepted the same infos in your position ...
here ya go:
spool/report with colour,
a) PDF1 - 147 pages: 13.509 Kb
b) PDF2 - 45 pages: 3.998 Kb
now spool/report with less colour, (only a view remarks left
a) PDF1 - 147 pages: 1.590 Kb
b) PDF2 - 45 pages: 491 Kb
regards Jörg
So, it's about 100 KB each page.
In my Western non-unicode 7.0 system, I get pages from 5 (pages rather empty) to 20 KB (normally filled) approximately, with only text (no special formatting).
With the 2 options OFF, what size ratio do you get?
Could you generate an ABAP list with only texts (try to have the same average number of characters, don't use anything special, no color, etc.), what average size do you get?
If there is a big difference between the sizes you get, then I think the best is to contact SAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you generate an ABAP list with only texts (try to have the same average number of characters, don't use anything special, no color, etc.), what average size do you get?
... i'll change the report (annual inventory list 31.12.) that is creating this spool request, and will write again what result i got
P.S. other spool requests (more or less the same kind of content, but less color and only 14 pages) have average size = 9KB
Hi Jörg,
Not sure if there is an option in the RSTX* programs, for compressing downloaded files.
But you can compress it using class cl_abap_zip .
Sample code is available at link below:
/people/dezso.pap/blog/2009/10/15/three-easy-steps-how-to-switch-from-igs-zipper-to-abap-kernel-based-zipping
Regards,
Nisha Vengal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.