2009 Jun 03 1:57 PM
Hi members,
is there any option in screen painter through which we can display icon dynamically on a screen?
Regards,
Subhendu Gouda
2009 Jun 03 2:09 PM
Hi,
If you are asking regarding the runtime display of status icons, please refer to the following link and go through the documentation of the function module icon_create for further reference.
http://help.sap.com/saphelp_nw04/helpdata/en/59/348efa61c611d295750000e8353423/content.htm
Regards,
Ram.
Hi members,
is there any option in screen painter through which we can display icon dynamically on a screen?
Regards,
Subhendu Gouda
2009 Jun 03 2:06 PM
Hi,
There is no such option in screen painter,
But in the PBO of the screen, You can code it to appear or make it invisible..using
LOOP at SCREEN.
if screen-name = ... "Screen field name- icon in your case.
SCREEN-INVISIBLE = 1. (set to 0 for visible)
MODIFY SCREEN.
endif.
ENDLOOP.
Regards
Shiva
2009 Jun 03 2:09 PM
Hi,
If you are asking regarding the runtime display of status icons, please refer to the following link and go through the documentation of the function module icon_create for further reference.
http://help.sap.com/saphelp_nw04/helpdata/en/59/348efa61c611d295750000e8353423/content.htm
Regards,
Ram.
2009 Jun 05 11:55 AM
Hi Subhendu
There are 2 ways to do creating dynamic icons
one is like this
1.You can create icons dynamically you can use "ICON_CREATE" fm
2.you can go for layout say field (pushbutton ,input,button)
any field in screen select as a output field with icon(check box).
move the data accordingly with you icon.
say
in pbo
module screen_icon_change
module screen_icon_change.
data:screen field type c(20).
data:icon1 type icon-id.
data:icon2 type icon-id.
if flag = 'X'.
CONCATENATE TEXT-000 ICON1 into screen field.
else.
CONCATENATE TEXT-000 ICON2 into screen field.
endif.
like that you can do it
Thanks
Ravi
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |