<?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: Authorizations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315570#M794167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt;  Any user who has authorization for the transaction SE37(to Run it) can run this BAPI.&lt;/P&gt;&lt;P&gt;If used in a program, then only those who have authorizations to run that particular program/ transaction will have authorzations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2008 16:27:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-06T16:27:55Z</dc:date>
    <item>
      <title>Authorizations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315569#M794166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way for me to know if a user has access to execute a specific function module or transaction? I want to know authorizations for BAPI_USER_GET_DETAIL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 16:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315569#M794166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T16:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Authorizations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315570#M794167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt;  Any user who has authorization for the transaction SE37(to Run it) can run this BAPI.&lt;/P&gt;&lt;P&gt;If used in a program, then only those who have authorizations to run that particular program/ transaction will have authorzations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 16:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315570#M794167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Authorizations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315571#M794168</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;The BAPI check for following auth objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
form auth_check using objtype val1 val2 val3 rc.
* lokale Definiton der Konstante aus Include MS01CTCO
* notwendig, da nicht alle Verwender des Includes MS01CC10 das o.g.
* Include aufrufen
data: obj_sys(3)        value 'SYS'.

  case objtype.
    when obj_objct.
      if val1 = space and val2 = space.
        authority-check object 'S_DEVELOP'
                 id 'DEVCLASS' dummy
                 id 'OBJTYPE' field 'SUSO'
                 id 'OBJNAME' dummy
                 id 'P_GROUP' dummy
                 id 'ACTVT' field val3.
      else.
        authority-check object 'S_DEVELOP'
                 id 'DEVCLASS' dummy
                 id 'OBJTYPE' field 'SUSO'
                 id 'OBJNAME' field val1
                 id 'P_GROUP' dummy
                 id 'ACTVT' field val3.
      endif.
    when obj_auth.
      if val1 = space and val2 = space.
        authority-check object 'S_USER_AUT'
                        id 'OBJECT' dummy
                        id 'AUTH' dummy
                        id 'ACTVT' field val3.
      else.
        if val1 = space.
          authority-check object 'S_USER_AUT'
                          id 'OBJECT' dummy
                          id 'AUTH' field val2
                          id 'ACTVT' field val3.
        else.
          if val2 = space.
            authority-check object 'S_USER_AUT'
                            id 'OBJECT' field val1
                            id 'AUTH' dummy
                            id 'ACTVT' field val3.
          else.
            authority-check object 'S_USER_AUT'
                            id 'OBJECT' field val1
                            id 'AUTH' field val2
                            id 'ACTVT' field val3.
          endif.
        endif.
      endif.
    when obj_prof.
      if val1 = space.
        authority-check object 'S_USER_PRO'
                        id 'PROFILE' dummy
                        id 'ACTVT' field val3.
      else.
        authority-check object 'S_USER_PRO'
                        id 'PROFILE' field val1
                        id 'ACTVT' field val3.
      endif.
    when obj_group.
      if val1 = space.
        authority-check object 'S_USER_GRP'
                        id 'CLASS' dummy
                        id 'ACTVT' field val3.
      else.
        authority-check object 'S_USER_GRP'
                        id 'CLASS' field val1
                        id 'ACTVT' field val3.
      endif.
      when obj_sys.
      if val1 = space.
        authority-check object 'S_USER_SYS'
                        id 'SUBSYSTEM' dummy
                        id 'ACTVT' field val3.
      else.
        authority-check object 'S_USER_SYS'
                        id 'SUBSYSTEM' field val1
                        id 'ACTVT' field val3.
      endif.
  endcase.
  rc = sy-subrc.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Report RSUSR002 and check for above said objects you can find how many users have authorisation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 16:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315571#M794168</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-02-06T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Authorizations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315572#M794169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi after executing the transaction please check the SU53 transaction.. whcih will list out if the user does not have any specific roles to execute the BAPI... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swaroop Patri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 16:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorizations/m-p/3315572#M794169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-06T16:29:22Z</dc:date>
    </item>
  </channel>
</rss>

