cancel
Showing results for 
Search instead for 
Did you mean: 

Set image source dynamically with code

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (0)