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

HTML file Error while Processing in Application server AL11

Former Member
0 Likes
652

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.

2 REPLIES 2
Read only

Former Member
0 Likes
503

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.

Read only

Former Member
0 Likes
503

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