<?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: Issue with the message type E in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015139#M1167066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kittu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can display the error message like information message by using the syntax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e002 DISPLAY LIKE 'I'&lt;/P&gt;&lt;P&gt;In your case, write like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF T_PRCTSC IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE : E007(ZMSSG) display like u2018Iu2019.&lt;/P&gt;&lt;P&gt;u2022	LEAVE TO LIST-PROCESSING. &lt;/P&gt;&lt;P&gt;u2022	CALL SCREEN 1000. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on E007 and Enter your message as Data not available for this entry and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above solution will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Deepa Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2009 10:05:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-15T10:05:39Z</dc:date>
    <item>
      <title>Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015133#M1167060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the event STAR-OF-SELECTION, i put an error message like mentioned below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when this error message occurs, it bolcks all of the process and i will leave the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though, i want that when the error message occurs, i return to the selection screen and the &lt;/P&gt;&lt;P&gt;message will be displayed at the bottom like an error message in the event AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT GUID_PRCTSC   "Primary Key as GUID in "RAW" Format&lt;/P&gt;&lt;P&gt;         GUID_PR       "Primary Key as GUID in "RAW" Format&lt;/P&gt;&lt;P&gt;         STCTS         "Numbering Scheme for Customs Tariff System&lt;/P&gt;&lt;P&gt;         GUID_CTSNUMC  "Primary Key as GUID in "RAW" Format&lt;/P&gt;&lt;P&gt;         FROM /SAPSLL/PRCTSC&lt;/P&gt;&lt;P&gt;         INTO TABLE T_PRCTSC&lt;/P&gt;&lt;P&gt;         WHERE STCTS IN S_STCTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF T_PRCTSC IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE : E007(ZMSSG) WITH 'Data not available for this entry'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CALL SCREEN 1000.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even tried with message types W, S...etc..but it will letting me to reach the Output screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions will be appreciated!&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 Jan 15, 2009 8:42 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 07:42:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015133#M1167060</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T07:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015134#M1167061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kittu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt; IF T_PRCTSC IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE : E007(ZMSSG) WITH 'Data not available for this entry'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL SCREEN 1000.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE. --&amp;gt; Add this&lt;/P&gt;&lt;P&gt;      Put the rest of your code here (under else).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 07:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015134#M1167061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T07:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015135#M1167062</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;Give an information message, then set the screen to 0 and leave the screen. This should take you to the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT GUID_PRCTSC "Primary Key as GUID in "RAW" Format
GUID_PR "Primary Key as GUID in "RAW" Format
STCTS "Numbering Scheme for Customs Tariff System
GUID_CTSNUMC "Primary Key as GUID in "RAW" Format
FROM /SAPSLL/PRCTSC
INTO TABLE T_PRCTSC
WHERE STCTS IN S_STCTS.


IF T_PRCTSC IS INITIAL.
MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
SET SCREEN 0.
LEAVE SCREEN. 
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 07:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015135#M1167062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T07:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015136#M1167063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kittu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would add the following check at event AT SELECTION-SCREEN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN.

" Check if we can find at least a single entry
SELECT SINGLE *
FROM /SAPSLL/PRCTSC
WHERE STCTS IN S_STCTS.

IF ( syst-dbcnt = 0 ).
  MESSAGE : E007(ZMSSG) WITH 'Data not available for this entry'.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the error message will throw the user back onto the selection screen.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 07:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015136#M1167063</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-01-15T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015137#M1167064</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;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN. 
if sy-subrc eq 0. 
              * write the code to be processed on success retrieval 
else. 
message 'selection not successful'  type 'E'. 
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Bhuvana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 09:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015137#M1167064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T09:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015138#M1167065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN on S_STCTS. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;" Check if we can find at least a single entry&lt;/P&gt;&lt;P&gt;SELECT  *&lt;/P&gt;&lt;P&gt;FROM /SAPSLL/PRCTSC&lt;/P&gt;&lt;P&gt;into table itab&lt;/P&gt;&lt;P&gt;WHERE STCTS IN S_STCTS.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF itab[] is initial .&lt;/P&gt;&lt;P&gt;  MESSAGE : E007(ZMSSG) WITH 'Data not available for this entry'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;start-of-selection..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 09:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015138#M1167065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T09:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015139#M1167066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kittu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can display the error message like information message by using the syntax,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE e002 DISPLAY LIKE 'I'&lt;/P&gt;&lt;P&gt;In your case, write like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF T_PRCTSC IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE : E007(ZMSSG) display like u2018Iu2019.&lt;/P&gt;&lt;P&gt;u2022	LEAVE TO LIST-PROCESSING. &lt;/P&gt;&lt;P&gt;u2022	CALL SCREEN 1000. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now double click on E007 and Enter your message as Data not available for this entry and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above solution will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Deepa Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015139#M1167066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015140#M1167067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Deepa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display Error Message as Information Message or Warning Message Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015140#M1167067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015141#M1167068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Uwe, since you are using the select option from the selection screen in the where condition , you can control this at the selection screen processing itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 10:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015141#M1167068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the message type E</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015142#M1167069</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 sorry for the late response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your suggestions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used in the followng way and it resolved my issue.&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
         FROM /SAPSLL/PRGEN
         INTO TABLE T_PRGEN
         WHERE ATTR20A IN S_AT20A.

  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;Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 06:53:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-message-type-e/m-p/5015142#M1167069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T06:53:35Z</dc:date>
    </item>
  </channel>
</rss>

