<?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: Selection screen &amp; radiobutton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143207#M747121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with obligatory statement u cannot achiveve the functionality because standard SAP first validates the screen and checks whther any field is mandatory or not,hence it will always throw message ....u have to do what i ahve given u in the code..one mor thing u can validate is when the user won't give any values to the parameter u can throw some information message to him saying that 'INPUT IS REQUIRED' like this..now the user knows that he ahs to input some value into the field...Thsi way u can achieve ur functionality..also the main purpose of obligatory is that u have to put values in it inorder to navigate..so do as per my suggestion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 07:30:04 GMT</pubDate>
    <dc:creator>former_member404244</dc:creator>
    <dc:date>2007-12-19T07:30:04Z</dc:date>
    <item>
      <title>Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143200#M747114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen: &lt;/P&gt;&lt;P&gt;Paramater p1 &amp;amp; p2 OBLIGATORY.&lt;/P&gt;&lt;P&gt;Radiobutton rb1 &amp;amp; rb2.&lt;/P&gt;&lt;P&gt;By default rb1 is marked.&lt;/P&gt;&lt;P&gt;p1 is mandatory when rb1 is marked while p2 is mandatory when rb2 is marked. The problem is when I select rb2 without filling p1 with data. Error message: fill in all required fields appear. How do I bypass this? The problem is that the parameter are declared as OBLIGATORY and I only want the check the OBLIGATORY fields when I choose to execute the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143200#M747114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T06:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143201#M747115</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;u cannot make ur parameters as obligatory ,it wil always throw error what u can do is make them when u click RB1 ,the field p1 will be enabled and the field p2 will be disabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the below sample code for it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_aserv RADIOBUTTON GROUP grp&lt;/P&gt;&lt;P&gt;USER-COMMAND app, "Application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_afile1 TYPE filename-fileextern , "Application File&lt;/P&gt;&lt;P&gt;"Name for contracts&lt;/P&gt;&lt;P&gt;p_afile2 TYPE filename-fileextern , "Application&lt;/P&gt;&lt;P&gt;"FileName for&lt;/P&gt;&lt;P&gt;"Long text&lt;/P&gt;&lt;P&gt;p_aerfl1 TYPE filename-fileextern , "Error File&lt;/P&gt;&lt;P&gt;"forcontracts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_aerfl2 TYPE filename-fileextern , "Error File&lt;/P&gt;&lt;P&gt;"for Longtext&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_pserv RADIOBUTTON GROUP grp, "Presentation Server&lt;/P&gt;&lt;P&gt;p_pfile1 TYPE rlgrap-filename , "Presentation File&lt;/P&gt;&lt;P&gt;"Name forcontracts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_pfile2 TYPE rlgrap-filename , "Presentation File&lt;/P&gt;&lt;P&gt;"Name for long&lt;/P&gt;&lt;P&gt;"texts&lt;/P&gt;&lt;P&gt;p_errfl1 TYPE rlgrap-filename ,&lt;/P&gt;&lt;P&gt;"Error File for&lt;/P&gt;&lt;P&gt;"contracts&lt;/P&gt;&lt;P&gt;p_errfl2 TYPE rlgrap-filename . "Err File Long text&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;IF p_pserv IS INITIAL.&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;CASE screen-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'P_PFILE1'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'P_PFILE2'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&l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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143201#M747115</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-12-19T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143202#M747116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that we want to have the Mandatory indicator(a box with a check on it) in the fields. Declaring it with OBLIGATORY statement is the only way to have that indicator?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143202#M747116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T06:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143203#M747117</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;Instead of making P1 and P2 as Mandatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make them as ordinary parameters but in AT SELECTION SCREEN event validate these two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there also use status message or warning message instead of &lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143203#M747117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T06:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143204#M747118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to set the  Screen-REQUIRED parameter to '0' to mark the field as not mandatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:30:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143204#M747118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T06:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143205#M747119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can follow this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:r1 radiobutton group g1 ,&lt;/P&gt;&lt;P&gt;                r2 radiobuttion group g1'.&lt;/P&gt;&lt;P&gt;parameters:f1 like lfa1-name1 modif id 'ABC',&lt;/P&gt;&lt;P&gt;                 f1 like lfa1-land1 modif id 'EFG'.&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 =  'ABC' and r1 = 'X'.&lt;/P&gt;&lt;P&gt;screen-required = '1'. &lt;/P&gt;&lt;P&gt;elseif &lt;/P&gt;&lt;P&gt;screen-group2 = 'EFG' and r2 = 'X'&lt;/P&gt;&lt;P&gt;screen-required = '1'.&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;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if it is helpful to you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:14:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143205#M747119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143206#M747120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is still that if I choose to navigate from rb1 to rb2 without filling data in parameter 1, error message that must fill required field which is the parameter 1 being blank. I want to bypass that when I navigate from rb1 to rb2 or vice versa without filling any required field it will not show any error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143206#M747120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T07:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143207#M747121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi marc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with obligatory statement u cannot achiveve the functionality because standard SAP first validates the screen and checks whther any field is mandatory or not,hence it will always throw message ....u have to do what i ahve given u in the code..one mor thing u can validate is when the user won't give any values to the parameter u can throw some information message to him saying that 'INPUT IS REQUIRED' like this..now the user knows that he ahs to input some value into the field...Thsi way u can achieve ur functionality..also the main purpose of obligatory is that u have to put values in it inorder to navigate..so do as per my suggestion..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 07:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143207#M747121</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-12-19T07:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen &amp; radiobutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143208#M747122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check this and reward if useful...:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  YPATTERN MESSAGE-ID ZPP                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:RAD1 RADIOBUTTON GROUP G1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;                        RAD2 RADIOBUTTON GROUP G1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:VAL1 LIKE LFA1-NAME1,&lt;/P&gt;&lt;P&gt;                        VAL2 LIKE LFA1-LAND1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF RAD1 = 'X'.&lt;/P&gt;&lt;P&gt;    IF VAL1 = SPACE.&lt;/P&gt;&lt;P&gt;      SET CURSOR FIELD 'VAL1'.&lt;/P&gt;&lt;P&gt;      MESSAGE E001."&amp;lt;----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;(VAL1 IS MANDATORY)&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;    IF RAD2 = 'X'.&lt;/P&gt;&lt;P&gt;      IF VAL2 = SPACE.&lt;/P&gt;&lt;P&gt;        SET CURSOR FIELD 'VAL2'.&lt;/P&gt;&lt;P&gt;        MESSAGE E002."&amp;lt;----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;(VAL2 IS MANDATORY)&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;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 08:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-radiobutton/m-p/3143208#M747122</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2007-12-19T08:15:59Z</dc:date>
    </item>
  </channel>
</rss>

