<?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: error message. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214664#M1206064</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 not sure if you can use events here, If you can use then try to write the Screen validations in &lt;/P&gt;&lt;P&gt;AT selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.
  PERFORM screen_valid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can try with another method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT GUID_PRGEN  "Primary Key as GUID in "RAW" Format
         GUID_PR     "Primary Key as GUID in "RAW" Format
         ATTR20A     "SUBSTANCE ID
         ATTR05A     "Materail Type
         ATTR10A     "Materail Group
         ATTR05B     "Sub-Family
         ATTR05C     "SPEC BUS + DG1K902190
         FROM /SAPSLL/PRGEN
         INTO TABLE T_PRGEN
         WHERE ATTR20A IN S_AT20A
           AND ATTR05A IN S_ATR5A " +DG1K902168
           AND ATTR05C IN S_ATR5C. " + DG1K902190

  IF T_PRGEN IS INITIAL.
    MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
    STOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;STOP&lt;/STRONG&gt;, this will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kittu on Feb 24, 2009 11:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2009 10:52:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-24T10:52:53Z</dc:date>
    <item>
      <title>error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214659#M1206059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working inmodul pool programming.&lt;/P&gt;&lt;P&gt;I have 9 to 10 Input/output fields on one screen.&lt;/P&gt;&lt;P&gt;And i am gining error messages for their validations. but if i give error message, then those fields are getting disabled.&lt;/P&gt;&lt;P&gt;so i have to close that window and again have to execute thet program each and every time..&lt;/P&gt;&lt;P&gt;How is it possible, that after giving error message thode fields should be enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214659#M1206059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214660#M1206060</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 the below command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHAIN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCHAIN..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214660#M1206060</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-02-24T10:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214661#M1206061</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 do like in the following Code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS AFTER INPUT.
  CHAIN.
    FIELD: tf_cust_id,  " Your Fields Name here.
            tf_cust_region,
            tf_cust_s_name,
            tf_cust_l_name,
            rb_gotos1_g1,
            rb_gotos2_g1,
            tf_rb_2,
            tf_rb_1.
    MODULE user_command_0001.
  ENDCHAIN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will solve out , &lt;STRONG&gt;Please Use Meaningful Subject for you Quarry Next Time&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214661#M1206061</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-24T10:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214662#M1206062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you please check this link..it is very useful for your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/9f/dbaa4735c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/9f/dbaa4735c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanksa nd regards&lt;/P&gt;&lt;P&gt;Durga.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214662#M1206062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214663#M1206063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can complete your requirement in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You can use Leave list-processing statement after your message statement.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;LEAVE LIST-PROCESSING.&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You can also use the following syntax in messages.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;Message &amp;lt;name&amp;gt; &amp;lt;type&amp;gt; &amp;lt;id&amp;gt; display like 'E'&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;you can use the type as &lt;STRONG&gt;W&lt;/STRONG&gt; and then it will go to the screen again.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Lalit Mohan Gupta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214663#M1206063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214664#M1206064</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 not sure if you can use events here, If you can use then try to write the Screen validations in &lt;/P&gt;&lt;P&gt;AT selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN.
  PERFORM screen_valid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you can try with another method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT GUID_PRGEN  "Primary Key as GUID in "RAW" Format
         GUID_PR     "Primary Key as GUID in "RAW" Format
         ATTR20A     "SUBSTANCE ID
         ATTR05A     "Materail Type
         ATTR10A     "Materail Group
         ATTR05B     "Sub-Family
         ATTR05C     "SPEC BUS + DG1K902190
         FROM /SAPSLL/PRGEN
         INTO TABLE T_PRGEN
         WHERE ATTR20A IN S_AT20A
           AND ATTR05A IN S_ATR5A " +DG1K902168
           AND ATTR05C IN S_ATR5C. " + DG1K902190

  IF T_PRGEN IS INITIAL.
    MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
    STOP.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;STOP&lt;/STRONG&gt;, this will surely work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kittu on Feb 24, 2009 11:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 10:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214664#M1206064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: error message.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214665#M1206065</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 CHAIN....END CHAIN construct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will enable the fields which are in CHAIN....END CHAIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2009 12:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/5214665#M1206065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-24T12:17:46Z</dc:date>
    </item>
  </channel>
</rss>

