<?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: BI Variable authorization issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798131#M1586816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If the query has only CC data and no PC data then query is giving message saying no data available.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check if the table storing the CC and PC data has PC defined as the Primary key. In that case a NULL value for PC would not return any output (not even the CC data)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2011 10:38:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-01T10:38:17Z</dc:date>
    <item>
      <title>BI Variable authorization issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798130#M1586815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Please help me with the below issue. I have implemented Variable authorizations as below.&lt;/P&gt;&lt;P&gt;1)I have marked Cost Center and Profit Center info objects as Auth relevant.&lt;/P&gt;&lt;P&gt;2) Created a global Variables for CC and PC with processing by authorization &amp;amp; user exit.&lt;/P&gt;&lt;P&gt;3) Created analysis authorization for the info object 0cost center and Profit Center and added value as $ ZCOST. &lt;/P&gt;&lt;P&gt;4) Created the include program ZSECTEST in the user exit to check the Variables.&lt;/P&gt;&lt;P&gt;I have created only one analysis authorization with both CC and PC fields and restricted to Variables.&lt;/P&gt;&lt;P&gt;Scenario 1: If the Query that was built on the Cube has only CC data authorizations are working fine by picking the values from the table. u2013 Working&lt;/P&gt;&lt;P&gt;Scenario 2 : I have a query that was created on MP which has cube A with CC and cube B with PC data.&lt;/P&gt;&lt;P&gt;(system checks if the user has access both info objects since both were auth relevant fields)&lt;/P&gt;&lt;P&gt;When user ran the query u2013 custom code checks the table and gets the CC and PC values to the query variable screen.&lt;/P&gt;&lt;P&gt;Issue: If the query has both CC and PC data for the given date it was showing results fine.&lt;/P&gt;&lt;P&gt;If the query has only CC data and no PC data then query is giving message saying no data available.&lt;/P&gt;&lt;P&gt;My requirement is even there is not PC data for that date I want to display the CC data.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 21:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798130#M1586815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-31T21:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: BI Variable authorization issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798131#M1586816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If the query has only CC data and no PC data then query is giving message saying no data available.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check if the table storing the CC and PC data has PC defined as the Primary key. In that case a NULL value for PC would not return any output (not even the CC data)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandipan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 10:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798131#M1586816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-01T10:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: BI Variable authorization issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798132#M1586817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandipan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.  Primary key has been already defined in the table.  Issue is I have only one analysis authorization created with fileds  CC and PC restrcited to variables VAR1 and VAR2 respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the query in the variable selection screen values are coming fine as below from the custom table. (works)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable selection screen :&lt;/STRONG&gt;                    &lt;/P&gt;&lt;P&gt;Cost Center   -    1,2,3,4&lt;/P&gt;&lt;P&gt;Profit Center   -     A,S,D,F &lt;/P&gt;&lt;P&gt;Date               -   10/2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above example if the query has only CC data for that date - I get error no data available because system is fetching for the  combination of CC 1,2,3,4 and PC A,S,D,F .  I guess some aggregation auth are missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute the same query with SAP_ALL and BI_ALL I get results with only CC - because PC data on this query was not available for that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is  even if the PC data was not avaiable for that date I want to display all the CC realted  data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 15:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bi-variable-authorization-issue/m-p/7798132#M1586817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-01T15:47:55Z</dc:date>
    </item>
  </channel>
</rss>

