<?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: Modif id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150745#M454066</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;  you can use radio buttons with function codes for your requirement . if want some select-options to be intensified and disappear you can loop at screen statement for modifying the screen attributes.when you want to make some select-options obligatory you can use attribute "required" for modifying.The following code will you give you a idea about changing attributes dynamically.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'MOD'.&lt;/P&gt;&lt;P&gt;      IF flag = ' '.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ELSEIF flag = 'X'.&lt;/P&gt;&lt;P&gt;        screen-input = '1'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2007 06:59:40 GMT</pubDate>
    <dc:creator>former_member673464</dc:creator>
    <dc:date>2007-03-30T06:59:40Z</dc:date>
    <item>
      <title>Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150741#M454062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abap gurus,&lt;/P&gt;&lt;P&gt;I have a requirement where I have two radio buttons in one block and in other block I have the select-options where on selecting one radio button some of select options should be enabled and some greyed out and vice versa when i select the other radio button and in the block containing select-options some are obligatory...How to do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Urgent plzzz..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150741#M454062</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2007-03-30T06:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150742#M454063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread-&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3135320"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150742#M454063</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-30T06:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150743#M454064</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;You can assign all the select options under a group using a MODIF ID addition to the select option using the syntax:&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;S_PTYPE FOR SAPLANE-PLANETYPE MODIF ID ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While you use AT SELECTION-SCREEN OUTPUT, if the condition holds true, then check if the group1 equals the modif id and then make it invisible.&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 condition is true.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'ABC'. "&amp;lt;MODIF ID&amp;gt;&lt;/P&gt;&lt;P&gt;screen-output = 0.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;screen-invisible = 1.&lt;/P&gt;&lt;P&gt;Modify SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&amp;lt;Do the converse&amp;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;hopen it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points accordingly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150743#M454064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T06:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150744#M454065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection screen output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_rad1 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check screen-group1 = 'mod1'. " This is ur select-option modif id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;&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;modify screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150744#M454065</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2007-03-30T06:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150745#M454066</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;  you can use radio buttons with function codes for your requirement . if want some select-options to be intensified and disappear you can loop at screen statement for modifying the screen attributes.when you want to make some select-options obligatory you can use attribute "required" for modifying.The following code will you give you a idea about changing attributes dynamically.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'MOD'.&lt;/P&gt;&lt;P&gt;      IF flag = ' '.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ELSEIF flag = 'X'.&lt;/P&gt;&lt;P&gt;        screen-input = '1'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 06:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150745#M454066</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2007-03-30T06:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150746#M454067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b1.&lt;/P&gt;&lt;P&gt;select-options: p_matnr for mara-matnr modif id MAT.&lt;/P&gt;&lt;P&gt;select-options: p_matkl for mara-matkl modif id MAK.&lt;/P&gt;&lt;P&gt;parameters: r_b1 RADIOBUTTON group rd1,&lt;/P&gt;&lt;P&gt;            r_b2 RADIOBUTTON group rd1.&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&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 screen-group1 = 'MAT'.&lt;/P&gt;&lt;P&gt;  if r_b1 = 'X'.&lt;/P&gt;&lt;P&gt;    screen-required = 1.&lt;/P&gt;&lt;P&gt;  elseif r_b2 = 'X'.&lt;/P&gt;&lt;P&gt;    screen-required = 0.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt; if screen-group1 = 'MAK'.&lt;/P&gt;&lt;P&gt;  if r_b1 = 'X'.&lt;/P&gt;&lt;P&gt;   screen-input = 0.&lt;/P&gt;&lt;P&gt;  elseif r_b2 = 'X'.&lt;/P&gt;&lt;P&gt;   screen-input = 1.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt; modify screen.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 07:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150746#M454067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Modif id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150747#M454068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Try this if your problem is not solved yet

REPORT YCHATEST.

TABLES : MARA , MAKT , SSCRFIELDS.

DATA : V_FLAG(1) VALUE '1',
       V_FLAG1(1) VALUE '0'.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : R1 RADIOBUTTON GROUP RAD USER-COMMAND ABC,
             R2 RADIOBUTTON GROUP RAD .
SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
SELECT-OPTIONS : S_MATNR FOR MARA-MATNR MODIF ID SE1 ,
                 S_MAKTX FOR MAKT-MAKTX MODIF ID SE2 .
SELECTION-SCREEN END OF BLOCK B2 .

AT SELECTION-SCREEN.

  IF R1 EQ 'X'.
    V_FLAG = '1'.
    V_FLAG1 = ' '.
  ELSE.
    V_FLAG = ' '.
    V_FLAG1 = '1'.
  ENDIF.

  CHECK SSCRFIELDS-UCOMM EQ 'ONLI'.
  IF R1 EQ 'X' AND
     S_MAKTX[] IS INITIAL.
    MESSAGE E001(ZZ) WITH 'Maktx is mandatory'.
  ENDIF.

  IF R2 EQ 'X' AND
     S_MATNR[] IS INITIAL.
    MESSAGE E001(ZZ) WITH 'Matnr is mandatory'.
  ENDIF.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF SCREEN-GROUP1 EQ 'SE1'.
      SCREEN-INPUT = V_FLAG1.
      MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 EQ 'SE2'.
      SCREEN-INPUT = V_FLAG.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 07:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modif-id/m-p/2150747#M454068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T07:35:02Z</dc:date>
    </item>
  </channel>
</rss>

