<?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. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036240#M718334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&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 input_field is intial.&lt;/P&gt;&lt;P&gt;Message 'field is blank' type 'S' display like 'E'.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;Award points if found useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2007 07:10:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-29T07:10:45Z</dc:date>
    <item>
      <title>selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036236#M718330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i had a problem that i require the error message to b displayed on the same screen.&lt;/P&gt;&lt;P&gt;the functionality is when i check a check box the input box is activated n if i leave this input box empty n execute then an error message should be displayed on the same screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sohi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036236#M718330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036237#M718331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In the at selection-screen event&lt;/P&gt;&lt;P&gt;write the code that&lt;/P&gt;&lt;P&gt;IF V_CHK = space.&lt;/P&gt;&lt;P&gt;  message e000 with 'Check the check box'.&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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036237#M718331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036238#M718332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can show the same in AT SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036238#M718332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036239#M718333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sohi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF w_chk IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;  EXECUTE UR LOGIC.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;MESSAGE 'Display ur Error Message' TYPE 'E'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where w_chk is checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E = Error Status&lt;/P&gt;&lt;P&gt;I = Information&lt;/P&gt;&lt;P&gt;S = SUccess&lt;/P&gt;&lt;P&gt;A = Abbend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward me if useful...........&lt;/P&gt;&lt;P&gt;Harimanjesh AN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:09:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036239#M718333</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2007-10-29T07:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036240#M718334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this:&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 input_field is intial.&lt;/P&gt;&lt;P&gt;Message 'field is blank' type 'S' display like 'E'.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;Award points if found useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:10:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036240#M718334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036241#M718335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the code pattern showed below,&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 P_CHKBX = 'X'.  " if the checkbox is selected check s_field&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN ON s_field.&lt;/P&gt;&lt;P&gt; IF NOT s_field[] IS INITIAL. " validate field entry&lt;/P&gt;&lt;P&gt;  select matnr from mara&lt;/P&gt;&lt;P&gt;                     into mara-matnr&lt;/P&gt;&lt;P&gt;                     where matnr = s_field.&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001. " message for invalid entry&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; else. " if field is initial&lt;/P&gt;&lt;P&gt;        MESSAGE e002. " message for blank field&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;Reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036241#M718335</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-10-29T07:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036242#M718336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you asked this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assusimg the checkbox is check and the Input field is empty and Execute button is pressed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If InputField IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message e000 with 'Enter the InputField'.&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;Award points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036242#M718336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036243#M718337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To display the Error message please follow the following:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ur_check_box is not initial.&lt;/P&gt;&lt;P&gt;*****Wirte the required steps for ur logic.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;message E000(zmes).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;where:-&lt;/P&gt;&lt;P&gt;E is for Error Message &lt;/P&gt;&lt;P&gt;000 is the message no.&lt;/P&gt;&lt;P&gt;zmes is the name of the message table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you double click at E000(zmes), it will ask you to create the message in the zmes table and when you click yes, it will bring you to the 000 number where you can write your required message and finally save it.&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;Regards,&lt;/P&gt;&lt;P&gt;Shilpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036243#M718337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036244#M718338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK fildwn WITH FRAME.&lt;/P&gt;&lt;P&gt;*--Checkbox for download&lt;/P&gt;&lt;P&gt;PARAMETERS : p_dload AS CHECKBOX USER-COMMAND dwn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_path TYPE rlgrap-filename MODIF ID  zzz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK fildwn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;file path&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF sy-ucomm = 'ONLI' OR sy-ucomm IS INITIAL.&lt;/P&gt;&lt;P&gt;      IF p_dload = 'X' AND p_path IS INITIAL.&lt;/P&gt;&lt;P&gt;        MESSAGE 'Enter a file name' type '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;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 screen-group1 = 'ZZZ'.&lt;/P&gt;&lt;P&gt;     if p_dload = 'X'.&lt;/P&gt;&lt;P&gt;        screen-input = 1.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        CLEAR : p_path.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;        screen-input = 0.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        CLEAR : p_path.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 07:26:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036244#M718338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T07:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036245#M718339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the TYPE 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036245#M718339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T08:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036246#M718340</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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              message e000 with 'Check the check box'.&lt;/P&gt;&lt;P&gt;              LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 08:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036246#M718340</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-10-29T08:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036247#M718341</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 should use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON s_kunnr.  &lt;/P&gt;&lt;P&gt;Write ur error message here with condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;s_kunnr  -  is ur selection screen fieldname , which is ur error checking field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 09:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036247#M718341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T09:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036248#M718342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guy's ,&lt;/P&gt;&lt;P&gt;the problem still is there.&lt;/P&gt;&lt;P&gt;if i use at selection screen n the input field then as soon as i check the check box the error message is displayed without allowing the user to enter any value..&lt;/P&gt;&lt;P&gt;also the error is displayed on the next page.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;P&gt;sohi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 09:32:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036248#M718342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T09:32: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/3036249#M718343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you paste your code then we can tell you what is the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 09:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036249#M718343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T09:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036250#M718344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sohi,&lt;/P&gt;&lt;P&gt;this following code bit complicated but Try to write this code in start-of-selction. &lt;/P&gt;&lt;P&gt;for example your selection scrren has following...&lt;/P&gt;&lt;P&gt;  select-options: s_matnr for marc-matnr.&lt;/P&gt;&lt;P&gt;  parameters : p_werks for marc-werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also you have chk1 as check box and txt1 as text field.&lt;/P&gt;&lt;P&gt;**********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: seltab TYPE TABLE OF rsparams,&lt;/P&gt;&lt;P&gt;          m_tab LIKE LINE OF seltab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  m_tab-selname = 'S_MTNR'.&lt;/P&gt;&lt;P&gt;  m_tab-sign    = s_mtnr-sign.&lt;/P&gt;&lt;P&gt;  m_tab-option  = s_mtnr-option.&lt;/P&gt;&lt;P&gt;  p_werks = p_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT s_mtnr.&lt;/P&gt;&lt;P&gt;    m_tab-low = s_mtnr-low.&lt;/P&gt;&lt;P&gt;    m_tab-high = s_mtnr-high.&lt;/P&gt;&lt;P&gt;    APPEND m_tab TO seltab.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;"Here you are actual checking as per your requirement &lt;/P&gt;&lt;P&gt;IF chk1 EQ 'X' and tx1 EQ space.&lt;/P&gt;&lt;P&gt;  SUBMIT zreport WITH p_werks EQ p_werks&lt;/P&gt;&lt;P&gt;                  WITH SELECTION-TABLE seltab VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 09:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036250#M718344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T09:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036251#M718345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screen-name = 'S_INPUT-LOW'.&lt;/P&gt;&lt;P&gt;      if c_get ne 'X'.&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 screen-name = 'S_TEXT-LOW' or screen-name = 'S_TEXT-HIGH'.&lt;/P&gt;&lt;P&gt;      if c_vbeln ne 'X'.&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;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AT SELECTION-SCREEN ON s_input.&lt;/P&gt;&lt;P&gt;IF s_input-LOW EQ ' ' .&lt;/P&gt;&lt;P&gt;text = 'fill the entry'.&lt;/P&gt;&lt;P&gt;MESSAGE text type 'E'.&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; i want that after the check box is checked the user get's the input field active to enter the data n then when he presses enter or he executes then the error message should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;sohi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 09:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036251#M718345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036252#M718346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check this sample program it may help you&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES : SSCRFIELDS.
parameters : p_val(10),
             chk as checkbox user-command ucom.

at selection-screen output.
if chk ne 'X'.
loop at screen.
if screen-name = 'P_VAL'.
screen-input = '0'.
modify screen.
endif.
endloop.
else.
loop at screen.
if screen-name = 'P_VAL'.
screen-input = '1'.
*SCREEN-REQUIRED = '1'.
modify screen.
endif.
endloop.
ENDIF.

AT SELECTION-SCREEN.
IF SSCRFIELDS-UCOMM NE 'UCOM'.
  IF P_VAL IS INITIAL.
   MESSAGE 'Pls enter the value' TYPE 'E'.
  ENDIF.

ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:01:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036252#M718346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T10:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036253#M718347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THANKS GUYS .IT'S SOLVED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sohi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/3036253#M718347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-29T10:08:22Z</dc:date>
    </item>
  </channel>
</rss>

