<?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 without going to the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239250#M1719574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get the results. Try this .... you will get the below screenshot result&lt;/P&gt;&lt;P&gt;plz award points if it helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you display error message for authorization code&amp;nbsp; : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; message s001(MSG_CLASS) display like 'E'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;SPAN class="L0S52"&gt;transaction &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SESSION_MANAGER'&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/176789" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Vivek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 13:20:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-01-21T13:20:09Z</dc:date>
    <item>
      <title>Error message without going to the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239246#M1719570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to check for authorization for a custom transaction, if the user does not have authorization, then I should not go to the selection screen at all. I must display an error message "You are not authorized to use the transaction" just like how the standard functionality behaves. I have done the authority check and then used the message type 'E', but i see that the selection screen is displayed at the back side and the error message comes like a popup screen with the button called 'Exit'. Once I press this exit button then it goes to SAP easy access screen. Please let me know how to avoid the selection screen and straightaway go to the SAP easy access screen with the error message displayed at the bottom of this screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 12:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239246#M1719570</guid>
      <dc:creator>former_member353794</dc:creator>
      <dc:date>2013-01-21T12:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error message without going to the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239247#M1719571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write your authorization code at initilization event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 12:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239247#M1719571</guid>
      <dc:creator>former_member195270</dc:creator>
      <dc:date>2013-01-21T12:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error message without going to the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239248#M1719572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write authority-check object under at selection screen output event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 12:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239248#M1719572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T12:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error message without going to the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239249#M1719573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do is place the authority check in INITIALIZATION event of the program.&lt;/P&gt;&lt;P&gt;If the authority check fails, then u write the statement MESSAGE xxxx TYPE 'S' DISPLAY LIKE 'E'. and then write LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should solve your problem.&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;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239249#M1719573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error message without going to the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239250#M1719574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get the results. Try this .... you will get the below screenshot result&lt;/P&gt;&lt;P&gt;plz award points if it helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you display error message for authorization code&amp;nbsp; : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; message s001(MSG_CLASS) display like 'E'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;SPAN class="L0S52"&gt;transaction &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SESSION_MANAGER'&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/176789" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Vivek&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-without-going-to-the-selection-screen/m-p/9239250#M1719574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-21T13:20:09Z</dc:date>
    </item>
  </channel>
</rss>

