<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dynamically change color / highlight. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859362#M670508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is the exmple code,&lt;/P&gt;&lt;P&gt;i am not using any color, but when the input is diabled, automatically its color will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;parameters: p1  radiobutton group rg1 user-command ucomm default 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: input(7) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p2  radiobutton group rg1,&lt;/P&gt;&lt;P&gt;input1(7).&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P1 = 'X'.&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME = 'INPUT'.&lt;/P&gt;&lt;P&gt;        screen-INPUT = 1.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        IF SCREEN-NAME = 'INPUT1'.&lt;/P&gt;&lt;P&gt;          screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ELSEIF P2 = 'X'.&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME = 'INPUT1'.&lt;/P&gt;&lt;P&gt;        screen-INPUT  = 1.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        IF SCREEN-NAME = 'INPUT'.&lt;/P&gt;&lt;P&gt;          screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 07:38:30 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2007-09-24T07:38:30Z</dc:date>
    <item>
      <title>Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859356#M670502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 radio button, and was group as radio button group with FctCode 'RG'.&lt;/P&gt;&lt;P&gt;When select a radio button, the text of the radio button must change to other color or being highlighted to differentiate from the other 2. The inputfield beside the radio button also must change to the same color or highlighted. How do i go about it? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 06:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859356#M670502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T06:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859357#M670503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rayden,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this code as reference...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;*--- If Radio Button 1 is checked&lt;/P&gt;&lt;P&gt;IF rad1 = 'X'.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'MI2'.&lt;/P&gt;&lt;P&gt;*--- Fields with MODIF ID MI2 are colored&lt;/P&gt;&lt;P&gt;screen-color = 1.&lt;/P&gt;&lt;P&gt;screen-intensified= 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may only get blue color tho'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 06:26:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859357#M670503</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-09-24T06:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859358#M670504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. I don't understand the code. screen-group1 refer to the Radio button group is it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 06:39:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859358#M670504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T06:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859359#M670505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rayden,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, Not the Radio Button grp... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection sceen fields musy have a MODIF-ID addition. Sry, i 4got to mention it... use the below code for ref...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- Radio buttons to set properties&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;rad1 RADIOBUTTON GROUP rad default 'X' USER-COMMAND radio,&lt;/P&gt;&lt;P&gt;rad2 RADIOBUTTON GROUP rad,&lt;/P&gt;&lt;P&gt;rad3 RADIOBUTTON GROUP rad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;s_matnr FOR mara-matnr MODIF ID MI1,&lt;/P&gt;&lt;P&gt;s_mtart FOR mara-mtart MODIF ID MI1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;*--- If Radio Button 1 is checked&lt;/P&gt;&lt;P&gt;IF rad1 = 'X'.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'MI1'.&lt;/P&gt;&lt;P&gt;*--- Fields with MODIF ID MI2 disappear from the screen&lt;/P&gt;&lt;P&gt;screen-color = 1.&lt;/P&gt;&lt;P&gt;screen-intensified= 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 06:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859359#M670505</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-09-24T06:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859360#M670506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was useful. I have abit clearer picture now. The reference given is for selection screen. I'm using dislog screen. I try to do a MODIF in my declaration but it seem like not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code:&lt;/P&gt;&lt;P&gt;========================================================&lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;      rb_1(1) TYPE c MODIF ID SQ1,&lt;/P&gt;&lt;P&gt;      rb_2(1) TYPE c MODIF ID SQ2,&lt;/P&gt;&lt;P&gt;      rb_3(1) TYPE c MODIF ID SQ3,&lt;/P&gt;&lt;P&gt;=========================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MODIF is in red color in my abap workbench. Any solution? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rayden&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 07:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859360#M670506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T07:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859361#M670507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rayden, if it is in dialog pgm, assign youe screen element to a screen GROUP (dbl click on it and u will see the GROUP field in properties.)&lt;/P&gt;&lt;P&gt;Now simply write a module to set screem propertieds in PBO. In that check if screen-group = X'... do ur stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 07:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859361#M670507</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-09-24T07:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically change color / highlight.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859362#M670508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this is the exmple code,&lt;/P&gt;&lt;P&gt;i am not using any color, but when the input is diabled, automatically its color will be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;parameters: p1  radiobutton group rg1 user-command ucomm default 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: input(7) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p2  radiobutton group rg1,&lt;/P&gt;&lt;P&gt;input1(7).&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P1 = 'X'.&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME = 'INPUT'.&lt;/P&gt;&lt;P&gt;        screen-INPUT = 1.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        IF SCREEN-NAME = 'INPUT1'.&lt;/P&gt;&lt;P&gt;          screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ELSEIF P2 = 'X'.&lt;/P&gt;&lt;P&gt;      IF SCREEN-NAME = 'INPUT1'.&lt;/P&gt;&lt;P&gt;        screen-INPUT  = 1.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        IF SCREEN-NAME = 'INPUT'.&lt;/P&gt;&lt;P&gt;          screen-INPUT = 0.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 07:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-change-color-highlight/m-p/2859362#M670508</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-09-24T07:38:30Z</dc:date>
    </item>
  </channel>
</rss>

