<?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 options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637457#M1283133</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;   Please use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS c type i.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: B FOR VBAK-ERDAT .&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if c is INITIAL.&lt;/P&gt;&lt;P&gt;    if b is INITIAL.&lt;/P&gt;&lt;P&gt;      MESSAGE e000(ooo) with 'error'.&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;at selection-screen outpur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'B'.&lt;/P&gt;&lt;P&gt; screen-required = '2'.&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, 08 May 2009 06:58:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-08T06:58:03Z</dc:date>
    <item>
      <title>Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637450#M1283126</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 am having a selection screen on which along with other options there are two options:&lt;/P&gt;&lt;P&gt;1. Select-Options: s_matnr FOR rc29l-matnr NO INTERVALS OBLIGATORY.&lt;/P&gt;&lt;P&gt;2. Parameters: p_ecm  TYPE aenr-aennr.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here if p_ecm is not entered then s_matnr  is obligatory and it should not proceed without that.&lt;/P&gt;&lt;P&gt;If p_ecm is entered then s_matnr should not be mandatory and the program should procedd without s_matnr. But currently its not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how can i achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunanda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637450#M1283126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637451#M1283127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here you have two requirement .&lt;/P&gt;&lt;P&gt;one s_matnr is mandatory other one is should not be mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using MODIFY ID you can able to acheive this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637451#M1283127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637452#M1283128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunanda,&lt;/P&gt;&lt;P&gt;   IF this is the Scenario Don't give the statement Obligatory in select-options.&lt;/P&gt;&lt;P&gt;   just check in the code itself like below,&lt;/P&gt;&lt;P&gt; if p_ecm is not initial and s_matnr is initial.&lt;/P&gt;&lt;P&gt; proceed with p_ecm logic&lt;/P&gt;&lt;P&gt;elseif s_matnr is not initial and p_ecm is initial.&lt;/P&gt;&lt;P&gt;proceed with logic&lt;/P&gt;&lt;P&gt;elseif s_matnr is inital and p_ecm is initial.&lt;/P&gt;&lt;P&gt;give error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637452#M1283128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637453#M1283129</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 can introduce a condition in the event 'AT SELECTION SCREEN'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can introduce a condition to check whether parameter is populated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;If parameter is populated.&lt;/P&gt;&lt;P&gt;  Allow select-option even if its is not populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;  Check whether the sel-option is populated and throw error.&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;Edited by: Rajesh VS on May 8, 2009 7:34 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:34:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637453#M1283129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637454#M1283130</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;Try this...Hope it would be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : RC29L , aenr.&lt;/P&gt;&lt;P&gt; Select-Options: s_matnr FOR rc29l-matnr NO INTERVALS OBLIGATORY.&lt;/P&gt;&lt;P&gt; Parameters: p_ecm TYPE aenr-aennr.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN .&lt;/P&gt;&lt;P&gt;   IF s_matnr is not INITIAL.&lt;/P&gt;&lt;P&gt;     IF p_ecm is INITIAL.&lt;/P&gt;&lt;P&gt;       MESSAGE e001 WITH text-oo1.&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;Regards,&lt;/P&gt;&lt;P&gt;Malathi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637454#M1283130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637455#M1283131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS: S_MATNR FOR RC29L-MATNR NO INTERVALS .
PARAMETERS: P_ECM TYPE AENR-AENNR.

AT SELECTION-SCREEN.
  IF S_MATNR IS INITIAL.
    IF P_ECM IS INITIAL.
      MESSAGE 'Error' TYPE 'E'.
    ENDIF.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Dileep .C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 05:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637455#M1283131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T05:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637456#M1283132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Parameters: p_ecm TYPE aenr-aennr.

Select-Options: 
  s_matnr FOR rc29l-matnr. " NO INTERVALS OBLIGATORY.


At Selection-screen on s_matnr. " use At Selection-screen on s_matnr instead of At Selection-screen 

if p_ecm is initial and s_matnr is initial..
  messages 'enter a value in s_matnr' type 'E'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;for your requirement use 'At Selection-screen on s_matnr' as if both are initial then it will make the field * s_matnr as input enabled and all other will be input disable as ur requirement&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pritam Ghosh on May 8, 2009 8:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2009 06:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637456#M1283132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T06:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637457#M1283133</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;   Please use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PARAMETERS c type i.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: B FOR VBAK-ERDAT .&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if c is INITIAL.&lt;/P&gt;&lt;P&gt;    if b is INITIAL.&lt;/P&gt;&lt;P&gt;      MESSAGE e000(ooo) with 'error'.&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;at selection-screen outpur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'B'.&lt;/P&gt;&lt;P&gt; screen-required = '2'.&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, 08 May 2009 06:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-options/m-p/5637457#M1283133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-08T06:58:03Z</dc:date>
    </item>
  </channel>
</rss>

