<?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 Error message disble the Fields in Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813856#M1313737</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;In my Report i am validating some fields as mandatory.&lt;/P&gt;&lt;P&gt;If the field is initial then one Error message should be display in the screen and user has to modify the selection screen.&lt;/P&gt;&lt;P&gt;But after displaying the errro message my selection screen is input disable except the mandatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want all the fields should be input enable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code for Error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E018 WITH 'Enter Plant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the code for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 10:04:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T10:04:58Z</dc:date>
    <item>
      <title>Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813856#M1313737</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;In my Report i am validating some fields as mandatory.&lt;/P&gt;&lt;P&gt;If the field is initial then one Error message should be display in the screen and user has to modify the selection screen.&lt;/P&gt;&lt;P&gt;But after displaying the errro message my selection screen is input disable except the mandatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want all the fields should be input enable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code for Error message,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE E018 WITH 'Enter Plant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the code for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813856#M1313737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813857#M1313738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this.&lt;/P&gt;&lt;P&gt;Messages 'Enter plant ' type 'I'.&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;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813857#M1313738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813858#M1313739</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;This si simple rather tahn using the message type as 'E' use as "I" mooreover if is the failure from the database fetchung the message type can be 'S'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813858#M1313739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813859#M1313740</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 check if the code is written in the at selection-screen event. If not please try the same. Else provide the code that you have written and under which event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813859#M1313740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813860#M1313741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use Obligatory addition while defining the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.   PARAMETERS : P_WERKS TYPE WERKS_D OBLIGATORY   .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System will itself validate the entry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813860#M1313741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813861#M1313742</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 using message type &lt;STRONG&gt;'W'&lt;/STRONG&gt; or type &lt;STRONG&gt;'I'&lt;/STRONG&gt; in place of &lt;STRONG&gt;'E'&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;because error message disables the input&lt;/P&gt;&lt;P&gt;fields. or,&lt;/P&gt;&lt;P&gt;Take the input fields as &lt;STRONG&gt;obligatory&lt;/STRONG&gt; in your&lt;/P&gt;&lt;P&gt;code and dont use any message type with&lt;/P&gt;&lt;P&gt;those fields, the &lt;STRONG&gt;obligatory&lt;/STRONG&gt; keyword throws&lt;/P&gt;&lt;P&gt;error message itself and does not disables the input&lt;/P&gt;&lt;P&gt;fields also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813861#M1313742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813862#M1313743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have use used at selection-screen on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so try with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813862#M1313743</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-07-07T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813863#M1313744</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;Use information message instead of Error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter: p_plant(20) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_plant is initial.&lt;/P&gt;&lt;P&gt;MESSAGE  'Enter Plant' type 'I'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp;regards&lt;/P&gt;&lt;P&gt;Ashu Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813863#M1313744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813864#M1313745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Do as below,&lt;/P&gt;&lt;P&gt;1) Remove the OBLIGATORY option of the field.&lt;/P&gt;&lt;P&gt;2) For mandatory filling do the validation in AT SELECTION-SCREEN ON field for INITIAL&lt;/P&gt;&lt;P&gt;3) Give the message as I type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS : p_matnr TYPE mara-matnr,
             strt_dat ,
             end_dat ,
             emp_id,
             emp_name,
             location,
             usage.

DATA : w_matnr TYPE mara-matnr.

AT SELECTION-SCREEN ON p_matnr.
  IF p_matnr IS INITIAL.                                                    " This makes the field a mandatory
    MESSAGE 'Enter material ' TYPE 'I'.
  ELSE.
    SELECT SINGLE matnr FROM mara INTO w_matnr
          WHERE matnr = p_matnr.
    IF sy-dbcnt = 0.
      MESSAGE 'Not a Valid Material ' TYPE 'I'.

    ENDIF.
  ENDIF.

START-OF-SELECTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bala Krishna on Jul 7, 2009 3:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:23:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813864#M1313745</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2009-07-07T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813865#M1313746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After displying the Message Screen goes to report output.&lt;/P&gt;&lt;P&gt;its not stop in the Selection Screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813865#M1313746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813866#M1313747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performing checks on SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- if the check uses only one independent field (e.g.: value exist in a table) use a[ AT SELECTION-SCREEN ON &amp;lt;field&amp;gt;|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_2@2@], the field will be editable when error is raised&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- if the check uses some fields, group them using [SELECTION-SCREEN BEGIN OF BLOCK &amp;lt;block&amp;gt;/END OF BLOCK &amp;lt;block&amp;gt;|http://help.sap.com/abapdocu/en/ABAPSELECTION-SCREEN_BLOCK.htm] and then [AT SELECTION-SCREEN ON BLOCK  &amp;lt;block&amp;gt;|http://help.sap.com/abapdocu/en/ABAPAT_SELECTION-SCREEN_EVENTS.htm#!ABAP_ALTERNATIVE_4@4@], each field of the block will be editable when error is raised&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you really want that each and every field be editable when an error is raised, declare every parameter and select-options in a big block, and perform the check in a unique AT SELECTION-SCREEN ON BLOCK xxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Use Error message, Warning and Information don't break the flow of the report.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:24:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813866#M1313747</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-07-07T10:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813867#M1313748</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 writing code in the AT SELECTION SCREEN ON &amp;lt;fIELD&amp;gt; only.&lt;/P&gt;&lt;P&gt;But i am not able to see the fields in input enable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the solution ASAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813867#M1313748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813868#M1313749</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;Screen goes to Report outout.&lt;/P&gt;&lt;P&gt;My controll should be in Selection screen only........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813868#M1313749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813869#M1313750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IF sy-dbcnt = 0.&lt;/P&gt;&lt;P&gt;      MESSAGE 'Not a Valid Material ' 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;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813869#M1313750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813870#M1313751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use the "big block solution", you will have to manage the CURSOR yourself to indicate the user which field is in an error state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813870#M1313751</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-07-07T10:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813871#M1313752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anil ,&lt;/P&gt;&lt;P&gt;    Where you are validating your field (in which Event ) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks and Regrds ..&lt;/P&gt;&lt;P&gt;  Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:37:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813871#M1313752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813872#M1313753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anil  ,&lt;/P&gt;&lt;P&gt;     i think you are validating your field in start-of -selection Event ....&lt;/P&gt;&lt;P&gt;      if yes than validate it in side the AT SELECTION-SCREEN  event .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks and Regards ...&lt;/P&gt;&lt;P&gt;  Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 10:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813872#M1313753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813873#M1313754</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 doing this validation in AT SELECTION SCREEN ON &amp;lt; Field&amp;gt;   only.&lt;/P&gt;&lt;P&gt;But i am not able to stop program in Seclection Sctreen if i used the Messsage type as ' i '.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 11:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813873#M1313754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T11:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813874#M1313755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil ,&lt;/P&gt;&lt;P&gt;   if you want to stop further processing ....either you you Error type message ....&lt;/P&gt;&lt;P&gt;   or if you want to you  Type I message than ...code like below ..&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Data : v_flag type c .&lt;/P&gt;&lt;P&gt; At selection-Screen  .&lt;/P&gt;&lt;P&gt;  clear : v_flag .&lt;/P&gt;&lt;P&gt;  write your code for validating ..with message .&lt;/P&gt;&lt;P&gt;   v_flag  = '1' .&lt;/P&gt;&lt;P&gt;   Stop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and than it will go to the  End-of-selection .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End-of-selection . &lt;/P&gt;&lt;P&gt;  if v_flag = '1'.&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;thanks and Regards ..&lt;/P&gt;&lt;P&gt; Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 11:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813874#M1313755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T11:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error message disble the Fields in Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813875#M1313756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Code is working Perfectly ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZPRI_TESTLDB.&lt;/P&gt;&lt;P&gt;data: v_flag type c .&lt;/P&gt;&lt;P&gt;PARAMETERS: var1 type sy-datum .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN .&lt;/P&gt;&lt;P&gt;  if var1 is INITIAL .&lt;/P&gt;&lt;P&gt;    MESSAGE 'Blank'  TYPE 'I' .&lt;/P&gt;&lt;P&gt;    V_flag = '1' .&lt;/P&gt;&lt;P&gt;    Stop .&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;write: 'Hello' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-SELECTION .&lt;/P&gt;&lt;P&gt;  if v_flag = '1' .&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;Thanks and Regards ..&lt;/P&gt;&lt;P&gt; Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 11:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-disble-the-fields-in-selection-screen/m-p/5813875#M1313756</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T11:40:30Z</dc:date>
    </item>
  </channel>
</rss>

