<?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 Pick up cost center based on authorization object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679900#M886160</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 report which displays information based on cost center.&lt;/P&gt;&lt;P&gt;Now I have to restrict so that the user will be able to view the data from their cost center only.&lt;/P&gt;&lt;P&gt;We are maintaining cost center based on authorization object.&lt;/P&gt;&lt;P&gt;Here my requirement is to pick up the responsible cost center for the users.&lt;/P&gt;&lt;P&gt;Please help me to find out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Apr 2008 09:19:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-14T09:19:33Z</dc:date>
    <item>
      <title>Pick up cost center based on authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679900#M886160</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 report which displays information based on cost center.&lt;/P&gt;&lt;P&gt;Now I have to restrict so that the user will be able to view the data from their cost center only.&lt;/P&gt;&lt;P&gt;We are maintaining cost center based on authorization object.&lt;/P&gt;&lt;P&gt;Here my requirement is to pick up the responsible cost center for the users.&lt;/P&gt;&lt;P&gt;Please help me to find out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 09:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679900#M886160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T09:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pick up cost center based on authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679901#M886161</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;U need to get all Cost Center in according to selection-screen and then do a check of your authorization object by AUTHORITY-CHECK statament.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the control fails you need to not to show the cost center.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 09:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679901#M886161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T09:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pick up cost center based on authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679902#M886162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there is anyway to get cost center details from tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 09:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679902#M886162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T09:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pick up cost center based on authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679903#M886163</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;No! There isn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can check the cost center only after selecting it from database, u can't do it while selecting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE ....
   AUTHORITY-CHECK OBJECT &amp;lt;OBJECT&amp;gt;
        ID &amp;lt;FIELD&amp;gt; FIELD &amp;lt;TABLE-FIELD&amp;gt;.
   IF SY-SUBRC = 0.
     WRITE &amp;lt;TABLE-FIELD&amp;gt;.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2008 11:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pick-up-cost-center-based-on-authorization-object/m-p/3679903#M886163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-14T11:59:13Z</dc:date>
    </item>
  </channel>
</rss>

