<?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 Choice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878046#M369000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion. I cant see the desired effect. For example it does allow the user to proceed further without entering valid combination too. i.e if i enter plant then without even entering other values it executes.  Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2007 14:12:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-02T14:12:00Z</dc:date>
    <item>
      <title>Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878041#M368995</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 new to ABAP and facing following problem. I have a selection screen with following parameters. I want prompt the user enter appropriate values based on first value he enters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Objective: To get production orders based on the values entered by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;These are the combinations of required inputs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user first enters &lt;/P&gt;&lt;P&gt;1) -&amp;gt; plant then he has to enter material number, Customer number, Prod. Heirarchy, workcenter, selection dates to get prod orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user enters&lt;/P&gt;&lt;P&gt;2) production number then he need not enter anything else to get the prod orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user enters&lt;/P&gt;&lt;P&gt;3) Sales order then he need not enter anything else to get the prod orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how my selection screen looks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: P_SD LIKE AFPOD-EDATU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;      PARAMETERS: P_PLANT LIKE CAUFV-WERKS ,&lt;/P&gt;&lt;P&gt;              P_PROD LIKE CAUFV-AUFNR,&lt;/P&gt;&lt;P&gt;              P_SORD LIKE CAUFV-KDAUF,&lt;/P&gt;&lt;P&gt;              P_MATNO LIKE CAUFV-PLNBEZ,&lt;/P&gt;&lt;P&gt;              P_CUSTNO LIKE AFPOD-KUNNR2.&lt;/P&gt;&lt;P&gt;    SELECTION-SCREEN END OF BLOCK SEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TEXT-200.&lt;/P&gt;&lt;P&gt;      PARAMETERS: P_HIER LIKE MARA-PRDHA OBLIGATORY VALUE CHECK.&lt;/P&gt;&lt;P&gt;      SELECTION-SCREEN END OF BLOCK SEL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECTION-SCREEN BEGIN OF BLOCK SEL3 WITH FRAME TITLE TEXT-300.&lt;/P&gt;&lt;P&gt;      PARAMETERS: P_WC LIKE CRHD-ARBPL. &lt;/P&gt;&lt;P&gt;      SELECT-OPTIONS S_SELDAT FOR P_SD.&lt;/P&gt;&lt;P&gt;    SELECTION-SCREEN END OF BLOCK SEL3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 500.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 13:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878041#M368995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878042#M368996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use three radio buttons for 3 requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user select the one make the other parameters disabled using screen internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 14:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878042#M368996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T14:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878043#M368997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;for 1)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;at selection screen on &amp;lt;plantfield&amp;gt;.&lt;/P&gt;&lt;P&gt;if P_MATNO is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Material".&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if P_CUSTNO is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Customer".&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if P_HIER is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Hierarchy".&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if P_WC is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Work center".&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if S_SELDAT-low is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Date".&lt;/P&gt;&lt;P&gt;  stop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;for 2)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;at selection screen.&lt;/P&gt;&lt;P&gt;if P_PROD is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Production Order".&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;for 3)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;at selection screen.&lt;/P&gt;&lt;P&gt;if P_SORD is initial.&lt;/P&gt;&lt;P&gt;  message i001(zz) with "Enter Sales Order".&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 14:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878043#M368997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878044#M368998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: P_SD LIKE AFPOD-EDATU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen: begin of screen 500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_PLANT LIKE CAUFV-WERKS  modif id 123,&lt;/P&gt;&lt;P&gt;P_PROD LIKE CAUFV-AUFNR modif id 010,&lt;/P&gt;&lt;P&gt;P_SORD LIKE CAUFV-KDAUF modif id 789,&lt;/P&gt;&lt;P&gt;P_MATNO LIKE CAUFV-PLNBEZ modif id 234,&lt;/P&gt;&lt;P&gt;P_CUSTNO LIKE AFPOD-KUNNR modif id 234.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TEXT-200.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_HIER LIKE MARA-PRDHA  VALUE CHECK modif id 456 default '00115'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL3 WITH FRAME TITLE TEXT-300.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_WC LIKE CRHD-ARBPL modif id 567.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_SELDAT FOR P_SD modif id 567.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call selection-screen 500.&lt;/P&gt;&lt;P&gt;&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;if p_plant is not initial.&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'.&lt;/P&gt;&lt;P&gt;screen-REQUIRED = 1.&lt;/P&gt;&lt;P&gt;modify screen.&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 p_prod is not initial.&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'&lt;/P&gt;&lt;P&gt;or screen-group1 = '123'&lt;/P&gt;&lt;P&gt;or screen-group1 = '789'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&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 P_SORD is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'&lt;/P&gt;&lt;P&gt;or screen-group1 = '123'&lt;/P&gt;&lt;P&gt;or screen-group1 = '010'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&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;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 14:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878044#M368998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878045#M368999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all. I will try out the suggested solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 18:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878045#M368999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-01T18:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878046#M369000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion. I cant see the desired effect. For example it does allow the user to proceed further without entering valid combination too. i.e if i enter plant then without even entering other values it executes.  Am I missing something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 14:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878046#M369000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T14:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878047#M369001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA: P_SD LIKE AFPOD-EDATU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection-screen: begin of screen 500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;*PARAMETERS: P_PLANT2 LIKE CAUFV-WERKS AS LISTBOX VISIBLE LENGTH 4 user-command ucomm  modif id 123.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_PLANT LIKE CAUFV-WERKS  modif id 123, "obligatory, "default '1005',&lt;/P&gt;&lt;P&gt;P_PROD LIKE CAUFV-AUFNR modif id 010,&lt;/P&gt;&lt;P&gt;P_SORD LIKE CAUFV-KDAUF modif id 789,&lt;/P&gt;&lt;P&gt;P_MATNO LIKE CAUFV-PLNBEZ modif id 234,&lt;/P&gt;&lt;P&gt;P_CUSTNO LIKE AFPOD-KUNNR modif id 234.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TEXT-200.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_HIER LIKE MARA-PRDHA  VALUE CHECK modif id 456 default '00115'.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL3 WITH FRAME TITLE TEXT-300.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_WC LIKE CRHD-ARBPL modif id 567.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_SELDAT FOR P_SD modif id 567.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 p_plant is not initial.&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'.&lt;/P&gt;&lt;P&gt;screen-required = 1.&lt;/P&gt;&lt;P&gt;*screen-input = 1.&lt;/P&gt;&lt;P&gt;modify screen.&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 p_prod is not initial.&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'&lt;/P&gt;&lt;P&gt;or screen-group1 = '123'&lt;/P&gt;&lt;P&gt;or screen-group1 = '789'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&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 P_SORD is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if screen-group1 = '234'&lt;/P&gt;&lt;P&gt;or screen-group1 = '456'&lt;/P&gt;&lt;P&gt;or screen-group1 = '567'&lt;/P&gt;&lt;P&gt;or screen-group1 = '123'&lt;/P&gt;&lt;P&gt;or screen-group1 = '010'.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;modify screen.&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;endloop.&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;*call selection-screen 500.&lt;/P&gt;&lt;P&gt;if p_plant is not initial.&lt;/P&gt;&lt;P&gt;if P_CUSTNO is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message 'Enter all details' type 'I'.&lt;/P&gt;&lt;P&gt;leave list-processing.&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;&lt;/P&gt;&lt;P&gt;hi, try this..unfortunately u need to enhance this code a bit ..i am leaving for the day ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will give u some idea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 15:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878047#M369001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen Choice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878048#M369002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;DATA: P_SD LIKE AFPOD-EDATU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of screen 500.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TEXT-100.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_PLANT LIKE CAUFV-WERKS ,&lt;/P&gt;&lt;P&gt;P_PROD LIKE CAUFV-AUFNR,&lt;/P&gt;&lt;P&gt;P_SORD LIKE CAUFV-KDAUF,&lt;/P&gt;&lt;P&gt;P_MATNO LIKE CAUFV-PLNBEZ,&lt;/P&gt;&lt;P&gt;P_CUSTNO LIKE AFPOD-KUNNR2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TEXT-200.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_HIER LIKE MARA-PRDHA OBLIGATORY VALUE CHECK.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK SEL3 WITH FRAME TITLE TEXT-300.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_WC LIKE CRHD-ARBPL. &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_SELDAT FOR P_SD.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK SEL3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SELECTION-SCREEN 500. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_plant.&lt;/P&gt;&lt;P&gt; if not p_prod is initial.&lt;/P&gt;&lt;P&gt;   if p_matno is initial and&lt;/P&gt;&lt;P&gt;     p_custno is initial and&lt;/P&gt;&lt;P&gt;     p_hier is initial and&lt;/P&gt;&lt;P&gt;     p_wc is initial  and&lt;/P&gt;&lt;P&gt;     s_seldat[] is initial.&lt;/P&gt;&lt;P&gt;      message i000(xxxx) with &lt;/P&gt;&lt;P&gt;   'Please enter Material no., customer no., Prod.hierar, workcenter, and sel.dates'.&lt;/P&gt;&lt;P&gt;     stop.&lt;/P&gt;&lt;P&gt;                        &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.&lt;/P&gt;&lt;P&gt;if p_plant is initial and p_prod is initial and p_sord is initial.&lt;/P&gt;&lt;P&gt;  message i000(xxx) with 'Please enter any one: prod.order, plant or Sales order'.&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;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 15:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-choice/m-p/1878048#M369002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T15:04:53Z</dc:date>
    </item>
  </channel>
</rss>

