<?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: authorization by user exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561201#M584102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;       Variable is nothing but a conditon to when you generating query against hirarchy report. For example looking data IBM of america, Brazil, China etc. if you put this three location into one variable then it is used in query to bring data per requirement. In Bw 3.5 you can generate variable at runtime itself no need now. There is no concept using variable aurhorizaton, it was old concept &lt;/P&gt;&lt;P&gt;              If you need more help let me know&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;happy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 02:43:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T02:43:34Z</dc:date>
    <item>
      <title>authorization by user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561200#M584101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to share the authorization of a query / web template via variables and a user-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an authorization x1 that has one variable for values and one variable for hierarchy nodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hierarchy contains different Infoobjects on different node levels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing I replaced the variables by fix values. But I can only get the thing running when I put in the top node of the hierarchy for the hierarchy part. As soon as I put in a lower node (a node based on another Infoobject) I get a short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By reading the SapHelp I found that in a hierarchy variable I have to put the nodevalue in the range_low and the name of the infoobject in range_high. So I guess I can use one variable for different Infoobjects as I need to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting side event is that when I execute the query in RSRT I do not get a authorization error but everyting works fine. As soon as I execute it in the web I get a dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I trace the error I get a RC = 3 in function 'BICS_PROV_SET_HIERARCHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me how I have to implement the variables for my hierarchy using different InfoObjects on different node levels?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;christophe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        christophe buehlmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 23:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561200#M584101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-12T23:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: authorization by user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561201#M584102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;       Variable is nothing but a conditon to when you generating query against hirarchy report. For example looking data IBM of america, Brazil, China etc. if you put this three location into one variable then it is used in query to bring data per requirement. In Bw 3.5 you can generate variable at runtime itself no need now. There is no concept using variable aurhorizaton, it was old concept &lt;/P&gt;&lt;P&gt;              If you need more help let me know&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;happy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 02:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561201#M584102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T02:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: authorization by user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561202#M584103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply happy but yes I need some more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am on BW 7.0 (NW2004s). The SapHelp tells me that I can use a variable to get the authorization values at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hierarchy looks like the following:&lt;/P&gt;&lt;P&gt;TopNode&lt;/P&gt;&lt;P&gt;      costcenter1    (InfoObject 0costcenter)&lt;/P&gt;&lt;P&gt;   DepartementA   (InfoObject GLB (custom Object))&lt;/P&gt;&lt;P&gt;       costcenter2   ...&lt;/P&gt;&lt;P&gt;       costcenter3&lt;/P&gt;&lt;P&gt;    DepartementB&lt;/P&gt;&lt;P&gt;       costcenter4&lt;/P&gt;&lt;P&gt;       costcenter5&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now it only works when I give fixed values in the authorization. Like&lt;/P&gt;&lt;P&gt;costcenter 2 for the value variable and the topnode for the hierarchy variable.&lt;/P&gt;&lt;P&gt;And it also works when I give costcenter2 for the value variable and the costcenter2-node for the hierarchy variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it does not work when I have costcenter3 in the value variable and dpartementA in the hierarchy variable. Or when I only give a hierarchy variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I need to do this. If the user  is authorized for all the costcenters in departementA and he selects costcenter 3 in the query he should be able to see this costcenter 3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for and ideas.&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 11:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561202#M584103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: authorization by user exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561203#M584104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok problem is solved now. The problem was the CO_AREA that is attached to COSTCENTER. Once we have given * to the CO_AREA the variables work fine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2007 10:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-by-user-exit/m-p/2561203#M584104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-08T10:23:14Z</dc:date>
    </item>
  </channel>
</rss>

