cancel
Showing results for 
Search instead for 
Did you mean: 

Need code for dynamic insertion of a MIME object(image) into WebDynpro View

Former Member
0 Kudos

Hi experts,

I am attempting to insert an image into a view at runtime, using lines of code.

I know that this code must be present in the WDDOMODIFYVIEW method of that particular view.

However I am not sure about the lines of code which can do this. Can anyone please help me out with this........

Thanks in advance,

Adithya.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184578
Active Contributor
0 Kudos

Hi.,

Yes you can add MIME at runtime ., Check this.,

[MIME at run in WDA |;

also ., [Display logo at runtime in WDA|;

hope this helps u.,

Thanks & Regards

Kiran

Former Member
0 Kudos

HI ,

Try somthing like this.

DATA lo_image type ref to cl_wd_image.

lo_image ?= view->get_element( id = 'ID of the image UI element').
lo_image->set_source( 'mime_object_name').

Make sure you write the code in WDDOMODIFY view and also make sure to add a Image UI element on the view.

Thanks,

Aditya.