<?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 selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135250#M744945</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 select-option fields(production scheduler,MRP Controller,plant) in selection-screen.If I enter values for production scheduler and MRP Controller,the plant field should become mandatory.Can anyone tell me the logic for this?&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;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Dec 2007 04:46:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-24T04:46:06Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135250#M744945</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 select-option fields(production scheduler,MRP Controller,plant) in selection-screen.If I enter values for production scheduler and MRP Controller,the plant field should become mandatory.Can anyone tell me the logic for this?&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;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 04:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135250#M744945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T04:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135251#M744946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG&gt;Hema&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if s_production is not initial and s_MRP_con is not initial.&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;  screen-name cp '&lt;STRONG&gt;plant&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;      screen-required = 1.&lt;/P&gt;&lt;P&gt;      modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz Reward if useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 04:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135251#M744946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T04:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135252#M744947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check this on the at selection screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if prod_sch is not initial and mrp_contro is not initial.&lt;/P&gt;&lt;P&gt;    if plant is initial.&lt;/P&gt;&lt;P&gt;       Message 'Plant should contain a value', 'E'.&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;Reward Points,if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manoj Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 04:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135252#M744947</guid>
      <dc:creator>former_member402443</dc:creator>
      <dc:date>2007-12-24T04:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135253#M744948</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;Provide MODIF-ID for each select option.&lt;/P&gt;&lt;P&gt;M1, M2, M3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in AT SELECTION-SCREEN OUTPUT event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; if SCREEN-GROUP1 = m2 or m3 and SEL_OPT1 is not initial.&lt;/P&gt;&lt;P&gt; SCREEN-REQUIRED = 'X'.&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;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ANUPAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 04:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135253#M744948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T04:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135254#M744949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose the user press the continue button for processing after he enters the first two values and does not fill the mandatory plant field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PAI module of the screen where you usually do the processing&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;if ok_code  = 'CONTINUE'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add the chk code here&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;and if the chk is true continue processing else do nothing&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*it will automatically go to pbo module by performing nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****check statement&lt;/P&gt;&lt;P&gt;if not production_scheduler is initial.&lt;/P&gt;&lt;P&gt; if not MRP_Controller is initial.&lt;/P&gt;&lt;P&gt;  if not plant_field is intial.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; do the processing call the subroutines ,anything&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; else.&lt;/P&gt;&lt;P&gt;  MESSAGE ID 'Values Missing ' TYPE 'W' NUMBER '001'&lt;/P&gt;&lt;P&gt;                 WITH 'plant_field cannot be left empty'.&lt;/P&gt;&lt;P&gt;*no more processing&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;endif.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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumesh Nair on Dec 24, 2007 10:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 05:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135254#M744949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T05:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135255#M744950</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 as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON p_werks.&lt;/P&gt;&lt;P&gt;IF NOT  p_fevor IS INITIAL  AND NOT p_dispo IS INITIAL.&lt;/P&gt;&lt;P&gt;  IF  p_werks IS INITIAL.&lt;/P&gt;&lt;P&gt;     MESSAGE E()..with 'PLANT is mandatory ......'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 05:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135255#M744950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T05:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135256#M744951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options: field1(10) type c MODIF ID SC1, &lt;/P&gt;&lt;P&gt;                       field2(5)  type c MODIF ID  SC1,&lt;/P&gt;&lt;P&gt;                       field3(15) type p MODIF ID SC3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if field1 is not initial.&lt;/P&gt;&lt;P&gt;   if  field2 is not initial&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if SCREEN-GROUP1 = 'SC3'.&lt;/P&gt;&lt;P&gt;SCREEN-REQUIRED = '1'.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;&amp;lt;b&amp;gt;reward if useful &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sunil kairam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 05:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135256#M744951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T05:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135257#M744952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used this code in my program. when i enter values in fevor and dispo fields and leave the plant field blank and execute the program,it is not giving any error and it is displaying the o/p.If I enter values for either dispo or fevor fields,and leave the plant field blank,then it is showing error. My requirement is,when the user enters MARC-FEVOR or MARC-DISPO or both, the plant field is mandatory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 07:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135257#M744952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T07:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135258#M744953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai hema,&lt;/P&gt;&lt;P&gt; ithink it is better to use OBLIGATORY addition to select option of plant field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 07:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135258#M744953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T07:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135259#M744954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use obligatory for plant field,then if i enter some value for fevor or dispo fields or even if i don't enter values for these 2 fields,it is giving error message.My requirement is,If the user enters MARC-FEVOR or MARC-DISPO or both, the plant field should become mandatory.Can anyone suggest me some correct solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 08:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135259#M744954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T08:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135260#M744955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi hema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  For this obligatory will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. we have to keep the field normal, &lt;/P&gt;&lt;P&gt;    and check using abap code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. &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;if productionscheudler is not initial&lt;/P&gt;&lt;P&gt;and mrp is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if plant is initial.&lt;/P&gt;&lt;P&gt;   message 'Plant is mandatory' type 'I'.&lt;/P&gt;&lt;P&gt;   leave list-processing.&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;5. Note : message shouold be of type 'I' and not 'E'.&lt;/P&gt;&lt;P&gt;             leave list-processing is important.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 08:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135260#M744955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T08:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135261#M744956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solved my problem.Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 09:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3135261#M744956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T09:09:01Z</dc:date>
    </item>
  </channel>
</rss>

