<?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: Forcing Authorization for a transaction code without authorization check in in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661846#M293222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TCODE restricts the user only at command prompt level, not if you run the transaction for program using "CALL TRANSACTION" verb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we assign auth.object P_TCODE with some other transaction values (not one for which we want to restrict), then the authority check works for the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But say, if I have no other transaction code values to be assigned to auth. object P_TCODE for the restricted user ( therefore, obviously I don't assign auth. object P_TCODE to any auth. profile for the restricted user) then again, I am out of luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way, I have seen this working is to assign value space ( ' '  ) to auth. object P_TCODE and then assign this auth.object to one of the auth. profiles of the restricted user, BINGO!, then it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But our Authorization team has an objection saying "We assign the transactions ( to auth. object ) which the user should have access. It is not  proper to assign a no value to auth. object ( assigning space value ) "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know how much merit their argument has, however, I was wondering if there is another way I could achieve it without relying on tens of hundred of programs doing auth. checks whenever they call the restricted transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitendra Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2006 20:43:42 GMT</pubDate>
    <dc:creator>jitendra_mehta</dc:creator>
    <dc:date>2006-11-15T20:43:42Z</dc:date>
    <item>
      <title>Forcing Authorization for a transaction code without authorization check in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661844#M293220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Transaction code 'PP02' has an authorization object P_TCODE. So when a user who does not have authorization to transaction 'PP02' tries to execute it from command prompt, the SAP system appropriately restricts user saying "You have no authorization".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, If Ia program has  "Call transaction" verb calling this transaction and if the restricted user runs this report or module program, it does not restrict the user to access the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to restrict user to access the transaction from program without explicitly doing authorization check from within the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitendra Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 21:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661844#M293220</guid>
      <dc:creator>jitendra_mehta</dc:creator>
      <dc:date>2006-11-13T21:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing Authorization for a transaction code without authorization check in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661845#M293221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well I'm not &amp;lt;i&amp;gt;absolutely&amp;lt;/i&amp;gt;  sure, but as far as I'm aware, the authorization object S_TCODE &amp;lt;i&amp;gt;is&amp;lt;/i&amp;gt;  checked on CALL TRANSACTION as well.&lt;/P&gt;&lt;P&gt;The more severe problem are the report-transactions. You have to restrict the auth objects for report names in the transactions SE38, SA38, SE80, SM37.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Info:&amp;lt;/i&amp;gt; In our production system, the report-start transaction are considered to be critical authorizations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's from my side. There might be some more detailed contributions coming up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Florin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 21:55:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661845#M293221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T21:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing Authorization for a transaction code without authorization check in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661846#M293222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florin:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TCODE restricts the user only at command prompt level, not if you run the transaction for program using "CALL TRANSACTION" verb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we assign auth.object P_TCODE with some other transaction values (not one for which we want to restrict), then the authority check works for the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But say, if I have no other transaction code values to be assigned to auth. object P_TCODE for the restricted user ( therefore, obviously I don't assign auth. object P_TCODE to any auth. profile for the restricted user) then again, I am out of luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way, I have seen this working is to assign value space ( ' '  ) to auth. object P_TCODE and then assign this auth.object to one of the auth. profiles of the restricted user, BINGO!, then it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But our Authorization team has an objection saying "We assign the transactions ( to auth. object ) which the user should have access. It is not  proper to assign a no value to auth. object ( assigning space value ) "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know how much merit their argument has, however, I was wondering if there is another way I could achieve it without relying on tens of hundred of programs doing auth. checks whenever they call the restricted transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitendra Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 20:43:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661846#M293222</guid>
      <dc:creator>jitendra_mehta</dc:creator>
      <dc:date>2006-11-15T20:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing Authorization for a transaction code without authorization check in</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661847#M293223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jitendra &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right about the CALL TRANSACTION statement. Here is what the SAP documentation says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Note &lt;/P&gt;&lt;P&gt;At the statement &amp;lt;b&amp;gt;CALL TRANSACTION&amp;lt;/b&amp;gt;, the authorization of the current user to execute the called transaction is not checked automatically. If the calling program does not execute a check, the called program must check the authorization. To do this, the called program must call function module AUTHORITY_CHECK_TCODE.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no simple solution for SAP standard report making use of the CALL TRANSACTION statement. However, if you need to call an transaction within a &amp;lt;u&amp;gt;customer report&amp;lt;/u&amp;gt; you can use function module &amp;lt;b&amp;gt;ABAP4_CALL_TRANSACTION&amp;lt;/b&amp;gt; which does the authority check.&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>Wed, 15 Nov 2006 21:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/forcing-authorization-for-a-transaction-code-without-authorization-check-in/m-p/1661847#M293223</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-11-15T21:12:12Z</dc:date>
    </item>
  </channel>
</rss>

