<?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: SM50 Authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141067#M1191546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to use that code, the system uses it when you try to perform "process administration functions" in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by not granting authority for the object checked in the standard coding above, your user would not be able to perform this function regardless of their tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, it is better to use the menu and set objects to "Inactive" (or tweak SU24) than to insert manual authorization instances. This way, other people will understand what you have done and why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2009 11:17:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-09T11:17:35Z</dc:date>
    <item>
      <title>SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141064#M1191543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using SAP NetWeaver 2004s. There is a new user that I need to create, I have created a role for it as well. However, in this role, I want the user to execute the transaction SM50, but the user shouldn't be able to cancel any of the work processes. How can I do it? Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 12:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141064#M1191543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141065#M1191544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the trace not work in your system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, forget about the tcode....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are looking for is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM AUTH_CHECK USING UCOMM AUTH_ERR.
  AUTH_ERR = 0.

  IF ( UCOMM &amp;lt;&amp;gt; 'END' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'BACK' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'ABBR' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'WPDI' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'CPU' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'USER' ) AND
     ( UCOMM &amp;lt;&amp;gt; 'REFR' ).
    AUTHORITY-CHECK OBJECT 'S_ADMI_FCD'
      ID 'S_ADMI_FCD' FIELD 'PADM'.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE S433.
      AUTH_ERR = 1.
    ENDIF.
  ENDIF.
ENDFORM.                    "AUTH_CHECK&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 12:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141065#M1191544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141066#M1191545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dude,&lt;/P&gt;&lt;P&gt;   Thanks for the reply, however, I didn't really get what was that all about. The code that you gave, I was not able to make out as to how am I suppose to use that code. So I figured out my own way out of this. When you create a role using PFCG transaction, do not use SAP_ALL profile. Add the transaction SM50 manually in the Auth object S_TCODE, Then Use the Authorization class  AAAB which take care of all the Cross Application Authorization objects, and add an auth object S_SPI_AUTH. Add 03 in the Activity with which you can only display the Work processes. &lt;/P&gt;&lt;P&gt;    Anyways I atleast appreciate you replying.&lt;/P&gt;&lt;P&gt;Thanks for you help...&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;Sreekul Nair.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 10:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141066#M1191545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T10:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141067#M1191546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to use that code, the system uses it when you try to perform "process administration functions" in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, by not granting authority for the object checked in the standard coding above, your user would not be able to perform this function regardless of their tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, it is better to use the menu and set objects to "Inactive" (or tweak SU24) than to insert manual authorization instances. This way, other people will understand what you have done and why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 11:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141067#M1191546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T11:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141068#M1191547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dude,&lt;/P&gt;&lt;P&gt;   you're name should Indeed be Genius, than Julius....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankz for the reply, you ought to get more points..&lt;/P&gt;&lt;P&gt;bye.&lt;/P&gt;&lt;P&gt;Take care...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sreekul nair.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 12:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141068#M1191547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: SM50 Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141069#M1191548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I prefer "Guru"... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how did you solve it? I thought we were just getting started...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 20:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sm50-authorization/m-p/5141069#M1191548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T20:47:34Z</dc:date>
    </item>
  </channel>
</rss>

