Skip to Content

Hi I am Joffy working as SAP Development Consultant.

This blog is about one of the  issue that we faced recently which many others has faced earlier

but solution not clearly documented anywhere. One cute bug. 🙂

We were in the developement of  a new  Report as HTML attachment  emailing requirement

where we getting the  report as list object by submiting the report and  exporting to memory.

Capture.PNG

and later converting to HTML for generating the attachment content.

/wp-content/uploads/2013/02/html_184568.jpg

But while user acceptance testing  an image missing error was noted as shown below.

Capture.PNG

What happened to that image ? After verifying the source of this HTML page a clue was got about this missing icon image.

img.PNG

So the possible solutions are

1) download the ICON image and include that file pathin the HTML generation code.

2) Filter out the HTML code for image <IMG>

Refer the below code.txt file for code for removing the image html tag

We used the second solution as SAP as adopted the same in some of HTML based mail sending function module.

This is may be a small issue but has lots of technical stuffs involved.

Finally the issue is resolved and our utility is live in PRD. 🙂

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply