<?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 assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774570#M1118885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do validation on selection screen fields using &lt;STRONG&gt;AT SELECTION-SCREEN ON &amp;lt;SELCECTION-SCREEN FIELD&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;after entering the values in the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mukesh kumar on Nov 7, 2008 7:04 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2008 06:04:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-07T06:04:05Z</dc:date>
    <item>
      <title>selection screen assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774569#M1118884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i enter wrong data at selection screen level &lt;/P&gt;&lt;P&gt;i need to get information message at message bar .&lt;/P&gt;&lt;P&gt;and srceen will be the same selection screen&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 06:01:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774569#M1118884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T06:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774570#M1118885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do validation on selection screen fields using &lt;STRONG&gt;AT SELECTION-SCREEN ON &amp;lt;SELCECTION-SCREEN FIELD&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;after entering the values in the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mukesh kumar on Nov 7, 2008 7:04 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 06:04:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774570#M1118885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T06:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774571#M1118886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: c_pernr type pernr-pernr.&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;Select single * from pa0002 where pernr = c_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ' no data found' 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;Ps: this is a basic thing in abap ravi...Doing a little bit r &amp;amp; d will solve u r problem..From next do little bit searching before posting.All the best&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 06:04:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774571#M1118886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T06:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774572#M1118887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK block1.&lt;/P&gt;&lt;P&gt;PARAMETERS:  test1(10) TYPE c,&lt;/P&gt;&lt;P&gt;             test2(10) TYPE c.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK block1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON test1.&lt;/P&gt;&lt;P&gt;select *from -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; into -&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt; where matnr = test1&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt;0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MESSAGE i888 WITH 'AT SELECTION-SCREEN'&lt;/P&gt;&lt;P&gt;                    'ON TEST1'.&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 06:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774572#M1118887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T06:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774573#M1118888</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 code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA WA_CARRID TYPE SCARR-CARRID.

PARAMETERS CARRID TYPE SCARR-CARRID.

AT SELECTION-SCREEN ON CARRID.

  SELECT SINGLE CARRID
  FROM SCARR INTO WA_CARRID
  WHERE CARRID = CARRID.

  IF SY-SUBRC IS NOT INITIAL.

    MESSAGE 'Carrier not present' TYPE 'E'.

  ENDIF.

START-OF-SELECTION.

WRITE  CARRID .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 06:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-assignment/m-p/4774573#M1118888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T06:10:00Z</dc:date>
    </item>
  </channel>
</rss>

