‎2011 Apr 27 2:04 PM
Hi,
these are the following steps i followed.
1.i have table of type string.
2.I converted theat to xstring using SCMS_TEXT_TO_XSTRING.
3.using CL_ABAP_ZIP called add and save methods.
4.Took the compressed xstraem buffer from save and converted to binary using SCMS_XSTRING_TO_BINARY.
5.Opened a zip file in application server and rite data into that.
now i am having following issues
1.i am unable to open the zip file
i want o/p like this
e.g
if input data is
London
Chennai
it has to be stored in ouptup.txt in zip file.
‎2011 Apr 27 2:29 PM
Hi,
can't you open the Zip file from application server?
After an OPEN DATASET in BINARY MODE , i think you could use SCMS_BINARY_TO_XSTRING and CL_ABAP_ZIP->LOAD method to load the zip in application server (using the XSTRING)
Then,you can use CL_ABAP_ZIP->ADD for additional data and CL_ABAP_ZIP->SAVE
‎2011 Apr 27 2:29 PM
Hi,
can't you open the Zip file from application server?
After an OPEN DATASET in BINARY MODE , i think you could use SCMS_BINARY_TO_XSTRING and CL_ABAP_ZIP->LOAD method to load the zip in application server (using the XSTRING)
Then,you can use CL_ABAP_ZIP->ADD for additional data and CL_ABAP_ZIP->SAVE