01-29-2007 9:55 PM
Hi all,
I'm hoping someone can explain to me step by step how to do the following:
In my WebDynpro view, I have a context which is basicaly information coming from a webservice. Among the things that I receive from that input I get the weather, as a string (partly cloudy, sunny, overcast, etc).
I would like to display a picture which would depend on that output (if the string is "sunny" then I want to display the sun image, if it's "partly cloudy" then I want to display the clouds image, etc).
Thank a lot
Micol
01-30-2007 5:30 AM
01-30-2007 7:28 AM
01-30-2007 9:34 AM
to show images in SAPGUI you have to use cl_gui_picture class.
check out this demo program
SAP_PICTURE_DEMO
the pictures should be loaded thru SMW0 transaction
Regards
Raja