Skip to Content
Former Member
Nov 14, 2020 at 01:49 AM

Infinite LOOP in CL_ABAP_ZIP class


Dear Gurus,

after downloading a file thru an API process (files comes as binary in a string in the http response), and transforming it to a XSTRING (with SCMS_STRING_TO_STRING and with cl_abap_conv_out_ce) I receive an infinite loop dump while loading the XSTRING to the cl_abap_zip->load method. In POSTMAN it works OK, I just download the file with no issue.It seems the method cannot entirely analyze the structure of the zip file (it see it has an object 11 chars long "records.txt" but it is trying to loop the files in the ZIP but it is not finding any.

I don't know what to do overpass the situation. I am attaching two screenshots of the dump.

Any input will be highly appreciated.