2007 Jan 29 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
2007 Jan 30 5:30 AM
2007 Jan 30 7:28 AM
2007 Jan 30 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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |