Skip to Content
avatar image
Former Member

Problem while unzipping files using cl_abap_zip !

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 !

question.png (16.3 kB)
question2.png (13.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 08, 2017 at 01:17 PM
    • 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 */)
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you Raymond i could resolve it following this post

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