Symptom
- After loading a ZIP, saving it, and loading it again via cl_abap_zip->load and cl_abap_zip->save, the resulting ZIP cannot be fully read.
- Only the first file is found during the second load; subsequent entries are not detected.
- The offset used to find the next local file header is incorrect during the second load, causing the loop to stop early.
- Observed with ZIP files of version 2.0.
- No specific error message or error code provided.
Read more...
Environment
SAP S/4HANA
Product
SAP S/4HANA all versions
Keywords
cl_abap_zip, load, save, splice, zip 2.0, data descriptor, general purpose bit 3, local file header, header offset, missing entries, abap zip, zip parsing, sap_basis 757, sap_basis 758, pkzip specification , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview