on 02-18-2008 2:04 PM
Hi all
I added couple of .bmp images to my WDA.
I like to assign these emages dynamically.
I used following code in Servicec call method of Component.
I am getting data to lt_c_dashboard. In this Internal table one of the filed is Status. I Like to assign the added image to the Status field.
Please correct me.
the invocation - errors are always fatal !!!
CALL FUNCTION 'Z_DATA'
TABLES
dashboard = lt_c_dashboard.
LOOP AT lt_c_dashboard INTO ls_c_dashboard.
ls_c_dashboard-status = Image1.bmp
MODIFY lt_c_dashboard FROM ls_c_dashboard
INDEX sy-tabix.
ENDLOOP.
store output to context
IF lt_c_dashboard[] NE lt_c_dashboard_cp[].
lo_dashboard->bind_table( lt_c_dashboard[] ).
ENDIF.
Thank you all.
Hello Rama,
displaying an variable number of images can be achieved by placing the image ui element
inside of MultiPane ui element and binding the dataSource attribute of the MultiPane
ui element to the context node where the data resides. That way, all images will be
displayed.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.