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

Compress excel file using CL_BCS

nishantbansal91
Active Contributor
0 Likes
1,710

Hi team,

Can you please let me know how to compress the file before sending.

I have 18MB excel file which i need to send to user.

I tried via zip classes but it won't compress.

Thanks

Nishant

3 REPLIES 3
Read only

matt
Active Contributor
1,072

Please explain what you've tried via the zip classes. I've used the zip classes many times and they work fine.

Read only

jozsef_hegyi
Product and Topic Expert
Product and Topic Expert
0 Likes
1,072

Dear Nishant

please check the report bcs_example_7

you can try to use table_compress fm.

Best regards

JozsefH

Read only

pokrakam
Active Contributor
0 Likes
1,072

What kind of Excel file? XLSX is already compressed and you won't gain much by compressing it again.

Download the 18MB file and see if you can compress it on your PC. If you can, then you can look further in SAP. If you can't then maybe remove some of the data. Actually this is probably a good idea anyway.