Skip to Content

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

Set image source dynamically with code

Hey,

I need to set the image source of a UI-Element on my WDA at runtime.

So I need to do this in my code. Is there a method with which I can set the image source?

Thanks for any hints.

Regards,

Dominic

Tags:
Former Member
Former Member replied

Let’s Web Dynpro. Part VI – SAP Yard

In this tutorial a button is created dynamically, also a image source is attached via method call 'set_image_source'. The image has to be in a mime object of the WDA as far as I know.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question