Application Development 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: 

Problem while unzipping files using cl_abap_zip !

0 Kudos

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

raymond_giuseppi
Active Contributor
0 Kudos
  • 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

raymond_giuseppi
Active Contributor
0 Kudos
  • 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 */)

0 Kudos

Thank you Raymond i could resolve it following this post

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