<?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 authorization object in program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683630#M1450012</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 a requirement to determine the sales areas that a business partner is authorized to edit in my report program. Can this be done by programatically using the Authorization object CRM_BP_SA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shilpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Mar 2010 11:25:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-09T11:25:21Z</dc:date>
    <item>
      <title>authorization object in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683630#M1450012</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 a requirement to determine the sales areas that a business partner is authorized to edit in my report program. Can this be done by programatically using the Authorization object CRM_BP_SA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shilpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 11:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683630#M1450012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T11:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: authorization object in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683631#M1450013</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;You can do it by the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'CRM_BP_SA'&lt;/P&gt;&lt;P&gt;     ID 'ACTVT' FIELD '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&amp;lt;your logic in here&amp;gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&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;Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 11:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683631#M1450013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: authorization object in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683632#M1450014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer.&lt;/P&gt;&lt;P&gt;My scenario is that I have to populate an F4 help with sales areas based on the authorisation check.&lt;/P&gt;&lt;P&gt;So what I dont understand here is  what does ID and FIELD stand for and can this return me all the sales areas that satisfy the authority check for this object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'CRM_BP_SA'&lt;/P&gt;&lt;P&gt;ID 'ACTVT' FIELD '*'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&amp;lt;your logic in here&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shilpi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 11:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683632#M1450014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T11:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: authorization object in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683633#M1450015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         ID stands for activity type. For example, read/write/update etc., These activities are represented by numerical values and what they stand for can be found in the authorization object. FIELD represents a sub-component of the protexted object. Looking at the authorization object itself will give you an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun Prakash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Arun Prakash Karuppanan on Mar 9, 2010 5:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 11:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683633#M1450015</guid>
      <dc:creator>arunprakash_karuppanan</dc:creator>
      <dc:date>2010-03-09T11:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: authorization object in program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683634#M1450016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shilpa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you have confirm first that the report is only for display or doing some changes,later&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select all the entries from the check table .(like for plants(WERKS)  t001w).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the entry .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_werks type range of werks.&lt;/P&gt;&lt;P&gt;data:ft_werks type range of werks.&lt;/P&gt;&lt;P&gt;data: wa_weks type werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select werks from t001w into t_werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_werks into wa_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authority-check-object = '?'&lt;/P&gt;&lt;P&gt;                        ID 'WERKS'  field    = wa_werks&lt;/P&gt;&lt;P&gt;                        ID 'ACTIV'   field = '*'.&lt;/P&gt;&lt;P&gt;if sy-subrc in initial.&lt;/P&gt;&lt;P&gt;append wa_werks into ft_werks.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use table ft_werks for F4 help .&lt;/P&gt;&lt;P&gt;&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;Kiran Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Mar 2010 12:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-object-in-program/m-p/6683634#M1450016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-09T12:06:26Z</dc:date>
    </item>
  </channel>
</rss>

