Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 12, 2016 at 06:41 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded