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

Problem while unzipping files using cl_abap_zip !

0 Likes
1,492

Hello experts,

i'm facing a problem while trying to unzip a file using cl_abap_zip.

The code :

The problem is that that loop gives me files empty so cl_zip->get( ...) returns a dump because it needs files not empty.

Any thought ?

Thanks !

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,111
  • First, could you handle the zip_parse_error exception?
  • Then, and only if no error raised, in the loop, consider skipping directories (e.g. excluding some patern like */)
2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,112
  • First, could you handle the zip_parse_error exception?
  • Then, and only if no error raised, in the loop, consider skipping directories (e.g. excluding some patern like */)
Read only

0 Likes
1,111

Thank you Raymond i could resolve it following this post

https://archive.sap.com/discussions/thread/1492254