Application Development and Automation 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: 
Read only

Size difference when same data downloaded in EXCEL and PDF.

Former Member
0 Likes
688

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

2 REPLIES 2
Read only

Private_Member_49934
Product and Topic Expert
Product and Topic Expert
0 Likes
606

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

Read only

former_member182354
Contributor
0 Likes
606

Can you explain what are you doing with PDF after that.

Raghav