<?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: problem with authority_check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887746#M372210</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;Actually I need to know what are the authorised purchase orders for an logon user.&lt;/P&gt;&lt;P&gt;Similarly i need the same for sales orders also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jan 2007 14:59:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-10T14:59:18Z</dc:date>
    <item>
      <title>problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887737#M372201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one suggest me what values i have to pass to&lt;/P&gt;&lt;P&gt;FM AUTHORITY_CHECK.&lt;/P&gt;&lt;P&gt;  USER = SAPUSER&lt;/P&gt;&lt;P&gt;  object = ?&lt;/P&gt;&lt;P&gt;field  = ?&lt;/P&gt;&lt;P&gt;value = ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its so urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 12:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887737#M372201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T12:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887738#M372202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajesh,&lt;/P&gt;&lt;P&gt;here a short example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    AUTHORITY-CHECK OBJECT 'F_KNA1_BUK'&lt;/P&gt;&lt;P&gt;                    ID 'BUKRS' FIELD T001-BUKRS&lt;/P&gt;&lt;P&gt;                    ID 'ACTVT' FIELD '03'.&lt;/P&gt;&lt;P&gt;    IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE E010 WITH 'No Authority'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look via F1 on AUTHORITY-CHECK in the Docu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 13:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887738#M372202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T13:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887739#M372203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Rajesh,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
field1 = 'TCD' "MDM
object = 'S_TCODE'
user = sy-uname
value1 = 'ZMEN'
EXCEPTIONS
user_dont_exist = 1
user_is_authorized = 2
user_not_authorized = 3
user_is_locked = 4
OTHERS = 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Check out this thread for reference ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="155799"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 13:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887739#M372203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887740#M372204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can use the authotity check.. for somany object to restict the user run the purticular Application..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we are using this we need to pass the Object ID and and the Field name.. &lt;/P&gt;&lt;P&gt;authority-activety--- 01 to create 02- to change and 03- to disply authorization,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Dieter and santhos told u can use that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 13:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887740#M372204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887741#M372205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Actually i need the Authority Check for  Purchase Orders and  Sales Orders.&lt;/P&gt;&lt;P&gt;Thats why when i am trying to execute AUTHORITY_CHECK Function Module in SE37 Tcode it is asking me the values of  Username, Object,Field1,Value1.&lt;/P&gt;&lt;P&gt;But how can we provide those values?&lt;/P&gt;&lt;P&gt;from where we have to get these values?&lt;/P&gt;&lt;P&gt;Can you guide me how to get these? and plz provide me the values for these SalesOrder and Purchase Order.&lt;/P&gt;&lt;P&gt;PLZ Its Urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887741#M372205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887742#M372206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se84 --&amp;gt; go to other objects --&amp;gt; select authorization object --&amp;gt; Give authorization object name  --&amp;gt; execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will retrieve all values of activity codes and fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Finding authorization object&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------" /&gt;&lt;P&gt;suppose you want to find autorization object for ME21(purchaseorder)&lt;/P&gt;&lt;P&gt;go to se93&lt;/P&gt;&lt;P&gt;give transaction code as ME21&lt;/P&gt;&lt;P&gt;choose 'display ' button&lt;/P&gt;&lt;P&gt;there you can find authorization object --(M_BEST_EKO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finding all activities of an authorization object&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;Goto SE84&lt;/P&gt;&lt;P&gt;go to other objects --&amp;gt; choose authorization object&lt;/P&gt;&lt;P&gt;give autorization object as M_BEST_EKO&lt;/P&gt;&lt;P&gt;execute&lt;/P&gt;&lt;P&gt;double click on authority object&lt;/P&gt;&lt;P&gt;click on 'Permitted activities'&lt;/P&gt;&lt;P&gt;you can the find the following activities&lt;/P&gt;&lt;P&gt;01	Create or generate&lt;/P&gt;&lt;P&gt;02	Change&lt;/P&gt;&lt;P&gt;03	Display&lt;/P&gt;&lt;P&gt;04	Print, edit messages&lt;/P&gt;&lt;P&gt;06	Delete&lt;/P&gt;&lt;P&gt;08	Display change documents&lt;/P&gt;&lt;P&gt;09	Display prices&lt;/P&gt;&lt;P&gt;75	Remove&lt;/P&gt;&lt;P&gt;76	Enter&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887742#M372206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887743#M372207</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;From where we can get this Authorization Object.&lt;/P&gt;&lt;P&gt;PLZ provide me such objects for SalesOrders and Purchase Orders if Possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887743#M372207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887744#M372208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajesh,&lt;/P&gt;&lt;P&gt;you have to find the real object you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SE38 goto EDIT PATTERN, select AUTHORITY CHECK&lt;/P&gt;&lt;P&gt;and select the OBJECT you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are two examples. In se84 you find more Information of the Objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'M_BEST_EKG'&lt;/P&gt;&lt;P&gt;         ID 'ACTVT' FIELD '__________'&lt;/P&gt;&lt;P&gt;         ID 'EKGRP' FIELD '__________'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'V_VBAK_VKO'&lt;/P&gt;&lt;P&gt;         ID 'VKORG' FIELD '__________'&lt;/P&gt;&lt;P&gt;         ID 'VTWEG' FIELD '__________'&lt;/P&gt;&lt;P&gt;         ID 'SPART' FIELD '__________'&lt;/P&gt;&lt;P&gt;         ID 'ACTVT' FIELD '__________'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think there are no Object for one SalesOrders&lt;/P&gt;&lt;P&gt;or one Purchase Orders &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dieter Gröhn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887744#M372208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887745#M372209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajesh,&lt;/P&gt;&lt;P&gt;I'm not what ur trying to achieve. Are you planning to use this authority check in any of your custom programs. &lt;/P&gt;&lt;P&gt;IF YES , ASK THE SECURITY ERSON TO CREATE AN AUTHORIZATION OBJECT WITH THE USER NAME , ACTIVITY AND SALESORDER T-CODE.&lt;/P&gt;&lt;P&gt;tHEN YOU CAN CALL IT IN YOUR PROGRAM AND PASS USER NAME AS SY-UNAME AND ACTVITY AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01 FOR CREATE, O2 FOR CHANGE AND SALES ORDER I.E T-CODE OR ANYTHING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF YOU WANT TO MAKE USE OF STANDARD IF ONE EXISTS THEN SEARCH IN  T-CODE SU21 UNDER SD CLASS . DOUBLE CLICK ON THIS YOU WILL THE AUTH OBJECT AND YOU HAVE CALL THE APPRORIATE AUTH OBJECT IN YOUR CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you want to create one if in case your security person is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887745#M372209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887746#M372210</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;Actually I need to know what are the authorised purchase orders for an logon user.&lt;/P&gt;&lt;P&gt;Similarly i need the same for sales orders also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2007 14:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887746#M372210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-10T14:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem with authority_check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887747#M372211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here there are no Basis Security person to give the Object, Field and vlaues.&lt;/P&gt;&lt;P&gt;I don't know what i have to give in order to execute this Authority_Check Function Module for checking " who are the valid/authorised users for viewing Purchase Orders"&lt;/P&gt;&lt;P&gt;Suppose there are 100 Purchase Orders in an SAP Server can we provide authorisation 20 for some users 30 for some users and remaining 50 for some other users.&lt;/P&gt;&lt;P&gt;Is it possible to check who are the Authorised users for these Purchasse Orders using AUTHORITY_CHECK function Module by passing the values of Object,Field1,Value1.&lt;/P&gt;&lt;P&gt;If it is possible can you provide what are the values i have to give for &lt;/P&gt;&lt;P&gt;OBJECT1----&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;FIELD1----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;VALUE1----&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ SHARE YOUR IDEAS&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2007 07:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-authority-check/m-p/1887747#M372211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-11T07:45:31Z</dc:date>
    </item>
  </channel>
</rss>

