‎2014 Feb 04 9:46 AM
Hi folks ,
I have a query related to downloading same data in excel and PDF in SAP.
1. I download data into excel file in SAP by using OPEN DATASET LV_FILENAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
2. I download data into PDF file in SAP by using foll. methods :
Step 1 . CONVERT_ABAPSPOOLJOB_2_PDF
Step 2 . OPEN DATASET LV_FILENAME FOR OUTPUT IN BINARY MODE.
But , the difference in data downloaded is huge .
Excel File size is 190 kb and PDF file size is 3165 kb.
Please suggest , what can be done to reduce file size of PDF file .
Thanks,
Priyanka Ashtekar
‎2014 Feb 04 9:55 AM
Excel and PDF are different format.
In the first open data set What you are doing is as good as creating text file ( Tab delimited perhaps) with extension xls. However, for PDF you are actually downloading the PDF file. Size difference may there.
If both the excel as well as pdf is opening fine, then there shouldn't be much issue
‎2014 Feb 04 10:12 AM