<?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: Custom T.code Authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552417#M250492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : L_TCODE LIKE SYST-TCODE.&lt;/P&gt;&lt;P&gt;  L_TCODE = 'VA02'.&lt;/P&gt;&lt;P&gt;*-Check whether user is authorized&lt;/P&gt;&lt;P&gt;  CALL 'AUTH_CHECK_TCODE'&lt;/P&gt;&lt;P&gt;       ID 'TCODE' FIELD L_TCODE.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE S000(ZVA02) WITH TEXT-116 'ZVA02'.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2006 16:27:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-16T16:27:05Z</dc:date>
    <item>
      <title>Custom T.code Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552415#M250490</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 have to check whether user has an authorization for custom t.code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say for example i have a custom program assign in t.code. if the user 'USANP' execute that t.code , in my program itself i have to check authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me some hints,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;john.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 16:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552415#M250490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom T.code Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552416#M250491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'AUTHORITY_CHECK_TCODE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    tcode  = 'SM59'&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    ok     = 0&lt;/P&gt;&lt;P&gt;    not_ok = 1&lt;/P&gt;&lt;P&gt;    OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;  MESSAGE e172(00) WITH 'SM59'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 16:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552416#M250491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T16:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom T.code Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552417#M250492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : L_TCODE LIKE SYST-TCODE.&lt;/P&gt;&lt;P&gt;  L_TCODE = 'VA02'.&lt;/P&gt;&lt;P&gt;*-Check whether user is authorized&lt;/P&gt;&lt;P&gt;  CALL 'AUTH_CHECK_TCODE'&lt;/P&gt;&lt;P&gt;       ID 'TCODE' FIELD L_TCODE.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE S000(ZVA02) WITH TEXT-116 'ZVA02'.&lt;/P&gt;&lt;P&gt;    LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 16:27:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-t-code-authorization/m-p/1552417#M250492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T16:27:05Z</dc:date>
    </item>
  </channel>
</rss>

