Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: dynamically chaange color of a push button

$
0
0

Hi Finitha,

 

In the PBO Event of the screen suppose the NAME of your button is DynButton

 

You can code like this

 

IF condition OK.

 

write icon_green_light as icon to DynButton.

 

concatenate DynButton 'Process'

             into DynButton

    separated by space.

 

ELSE.

 

write icon_red_light as icon to DynButton.

 

concatenate DynButton 'Block'

             into DynButton

    separated by space.

 

ENDIF.

 

 

Regards


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>