<?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. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373021#M183290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the LOAD-OF-PROGRAM event.  In this event, check for the authorization,  if user doesn't have it, give message and leave the program,  the selection screen will not fire as a result, user will only see the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;



report zrich_0001.


parameters: p_check.

load-of-program.

* check for authorization here

If user_has_authroization = space.
  message s001(00) with 'You are not authorized'.
  leave program.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2006 17:14:12 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-05-24T17:14:12Z</dc:date>
    <item>
      <title>Selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373017#M183286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a report which have Selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this can be run by only those user which are maintained in some custom (Y*) table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i am just checking this Y* table in INITIALIZATION block &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and showing error message for users who don't have authorization for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my output have the error message and some blurred screen in background bacause of selection screen of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to removed this blurred screen while showing output message 'You are not authorized for this transaction'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 16:39:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373017#M183286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T16:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373018#M183287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use the error message as S and exit immediately after the error message&lt;/P&gt;&lt;P&gt;This will give your status in green but it will not further process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 16:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373018#M183287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T16:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373019#M183288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with keeping success message and exit statment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like below.&lt;/P&gt;&lt;P&gt;Message S000()&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 16:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373019#M183288</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-05-24T16:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373020#M183289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you give the message type 'E'?&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;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 16:41:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373020#M183289</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-05-24T16:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373021#M183290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the LOAD-OF-PROGRAM event.  In this event, check for the authorization,  if user doesn't have it, give message and leave the program,  the selection screen will not fire as a result, user will only see the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;



report zrich_0001.


parameters: p_check.

load-of-program.

* check for authorization here

If user_has_authroization = space.
  message s001(00) with 'You are not authorized'.
  leave program.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 17:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1373021#M183290</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-05-24T17:14:12Z</dc:date>
    </item>
  </channel>
</rss>

