Http image in Web Dynpro
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.
Suresh Honnappanavar replied
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.