‎2009 May 14 7:26 AM
Hi Experts,
I have SAP workload data in HTML file and IF i download it using GUI_DOWNLOAD, I am successfully able to access the file.
But Further:
1) I am uploading the above mentioned downloaded file in binary mode.
2) Converting binary to xstring
3) Adding and saving to ZIP folder using class CL_ABAP_ZIP
4) Converting back ZIP file to Binary mode
5) Transferring it to sever path using dataset ( character by character)
But after transfer, I try to access file using T code AL11, there file is created by on opening, it shows HTML tag along with the data i.e formatting error.
How to handle this.
Thanks
Deep.
‎2009 May 14 7:32 AM
Hi,
Try downloading the file from application server using the transaction CG3Y, while saving the file, save as HTML file.
Still if you find the formatting error, then open the view -> source code of the HTML page, and adjust the space, line space, alignment etc if any, will resolve your issue.
Regards,
Santhosh.
‎2009 May 14 7:33 AM
Hi:
Delete all files just you created/uploaded by CL_ABAP_ZIP and then try to reprocess it . Do not forget to give the extension of files which might be one problem to not open in AL11.
Regards
Shashi