Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Http image in Web Dynpro

Hi,

I want to integrate an image in my WDA which would take its source from an external url path. For example, my image source would be [http://www.google.ca/intl/en_ca/images/logo.gif] . I cannot use directly the path as source, I receive the error:

Absolute URLs are not supported. Use form $DESTINATION$/path (See transaction SM59)

I tryed to create a http connection, but I did not succeed. What should be the target host, Service No., Prefix...

Thanks for the help.

Davy

replied

Hi Davy,

Create a context attribute type string and bind this context attribute to image's source property.

Set the attribute value to url which you want (http://www.google.ca/intl/en_ca/images/logo.gif) in wddoinit() or someother method.

Regards,

Suresh

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question