2016 Aug 15 9:43 AM
Hi All,
Note: Please see the attached requirement example.
I have created a push button as output field with icon tick in the push button characteristic. But i was not able to give any text to it. In the PBO i have written the following code.
IF ok_code EQ 'BUT'.
GV_COLL_EXP = icon_expand.
ELSE.
GV_COLL_EXP = icon_collapse.
ENDIF.
In Top include i have declared as:
INCLUDE <icon>.
DATA : gv_coll_exp LIKE icons-l4.
Please let me know if anyone knows how to assign text to this push button.
Thanks in advance,
Best Regards,
Venkat.
Hi All,
Note: Please see the attached requirement example.
I have created a push button as output field with icon tick in the push button characteristic. But i was not able to give any text to it. In the PBO i have written the following code.
IF ok_code EQ 'BUT'.
GV_COLL_EXP = icon_expand.
ELSE.
GV_COLL_EXP = icon_collapse.
ENDIF.
In Top include i have declared as:
INCLUDE <icon>.
DATA : gv_coll_exp LIKE icons-l4.
Please let me know if anyone knows how to assign text to this push button.
Thanks in advance,
Best Regards,
Venkat.
2016 Aug 16 3:41 AM
1 make dummy button
screen attribute : output check
icon check
2. create icon
Use function 'ICON_CREATE'
code sample
if ok_code eq 'BUT'.
call function 'ICON_CREATE'
exporting
name = icon_expand
text = 'Text'
info = 'Into text'
importing
result = GV_COLL_EXPAND.
else.
...
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |