Skip to Content
0
Aug 15, 2016 at 08:43 AM

Expand/Collapse button with text in module pool

203 Views

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.

Attachments

expand.png (15.0 kB)