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

Issue with LOAD method in CL_OPENXML_ZIP

Former Member
0 Likes
1,054


Hi Experts,

We are facing issue with LOAD method in CL_OPENXML_ZIP. I need to unzip and file and read data. I have been using LOAD method from class, CL_ABAP_ZIP for same and it was working fine with small files. But when we use a big zip file it gave below runtime error;

=================================================================================

Runtime Errors         STRING_LENGTH_TOO_LARGE

Exception                CX_SY_RANGE_OUT_OF_BOUNDS

Date and Time          02/09/2015 04:23:13

In the running program "CL_ABAP_ZIP===================CP", part of a string was about to be accessed

with an explicitly specified length.

However, this length (134742036) exceeded the current length of the string

(1299863).

This kind of access is illegal.

================================================================================

Hence, I was trying to use LOAD method from class CL_OPENXML_ZIP(new version of CL_ABAP_ZIP). This is not giving any output and also no error. Searched for notes and not found any.

Any experience on this method. Please suggest. Also let me know if any other method I can use for unzipping of file.

Thanks & Regards,

Sabu

3 REPLIES 3
Read only

matt
Active Contributor
0 Likes
748

Have you logged this question with service.sap.com?

Read only

Former Member
0 Likes
748

Not yet logged a question with service.sap.com.

Now I will write to them.

Thanks & Regards,

Sabu

Read only

ynsemrecoskun
Discoverer
0 Likes
748

Did you find a solution to this problem? Or does anyone have a solution?