<?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: authority check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139960#M114289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check demo programs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_AUTHORITY_CHECK    &lt;/P&gt;&lt;P&gt;DEMO_SPECIAL_TECH_AUTH_CHECK&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;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2006 12:47:32 GMT</pubDate>
    <dc:creator>Lakshmant1</dc:creator>
    <dc:date>2006-02-24T12:47:32Z</dc:date>
    <item>
      <title>authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139958#M114287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI abapers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to check the authority for a custom field in my screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 12:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139958#M114287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139959#M114288</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;look the syntax of the command : Authority-check. (F1 in SE38 on this words).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 12:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139959#M114288</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-02-24T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139960#M114289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check demo programs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_AUTHORITY_CHECK    &lt;/P&gt;&lt;P&gt;DEMO_SPECIAL_TECH_AUTH_CHECK&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;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 12:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139960#M114289</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2006-02-24T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139961#M114290</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;check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS pa_carr LIKE sflight-carrid.&lt;/P&gt;&lt;P&gt;DATA wa_flights LIKE demo_focc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AUTHORITY-CHECK OBJECT 'S_CARRID'&lt;/P&gt;&lt;P&gt;                  ID 'CARRID' FIELD pa_carr&lt;/P&gt;&lt;P&gt;                  ID 'ACTVT' FIELD '03'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 4.&lt;/P&gt;&lt;P&gt;    MESSAGE e045(sabapdocu) WITH pa_carr.&lt;/P&gt;&lt;P&gt;  ELSEIF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e184(sabapdocu) WITH text-010.&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;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  carrid connid fldate seatsmax seatsocc&lt;/P&gt;&lt;P&gt;    FROM  sflight&lt;/P&gt;&lt;P&gt;    INTO  CORRESPONDING FIELDS OF wa_flights&lt;/P&gt;&lt;P&gt;    WHERE carrid = pa_carr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WRITE: / wa_flights-carrid,&lt;/P&gt;&lt;P&gt;             wa_flights-connid,&lt;/P&gt;&lt;P&gt;             wa_flights-fldate,&lt;/P&gt;&lt;P&gt;             wa_flights-seatsmax,&lt;/P&gt;&lt;P&gt;             wa_flights-seatsocc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 12:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139961#M114290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-24T12:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: authority check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139962#M114291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUSR_USER_DISPLAY_WITH_AUTHS  Displays user authorisation objects (Note: may have to debug around authority checks)  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The following code demonstrates how to check that a user has the correct authority for a particular transaction code. Useful to check if a user has the correct authority before executing a transaction via &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; authority-check object 'S_TCODE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                id     'TCD' &lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;field  'SM35'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  User does not have authority for transaction SM35!!! &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;&lt;/P&gt;&lt;P&gt;Authorisation trace analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Open two sessions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Execute transaction ST01 in one of the sessions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Select the authorisation checkbox, note the other traces &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   you can perform (SQL, RFC, Table Buffer etc)   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Click the 'Trace On' button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Within your other session execte the transaction/report &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   you want to trace or get the user in question to do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Return to the session where you turned the trace on and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   click on 'Trace Off' otherwise it will continue to record all athorisation checks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Click on the 'Analysis' button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. Enter appropriate data into selection screen such as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Username, type of trace records (i.e. Authorization check) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. Click on the Execute button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. Report displaying trace results will now be displayed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2006 13:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authority-check/m-p/1139962#M114291</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-02-24T13:39:00Z</dc:date>
    </item>
  </channel>
</rss>

