Restrict displayed data in a query using roles

Hi experts.
i'm writing to you to explain our trouble.
We have an infocube with 2 company codes 'A' & 'B'.
We are trying to display only one of them depending on the user that executes THE SAME query, whitouth using a filter for the company code (0comp_code).
We have done a couple of roles that restrict that infoobject and we have activated de chekbox in the infoobject properties/reporting "authorization relevant".
This doesn´t work as well as we wanted, it restricts the access to the data that we don´t specify in the role, but when the query is executed, we obtain a message which says that the user has not authorization to acces data, here is the main problem, we only want to display a company code, but when we execute the query and tries to acces the data that is not defined in the role for that user, the query crashes and doesn't display anything.
Is there a way to do what we want using role authorizations?
Thanks in advance.

Hi,
Thanks for your answers, but, i am still having the problem.
We are working with the 3.5 version, so we can not do what you say.
In the other hand we have already used the transaction rssm to do that, but we are still having the authorization message when we execute the query whitouth a filter and comes data that is not defined int our roles.
I am not sure, perhaps it is not possible with the 3.5 version.
Thanks.

Similar Messages

  • Not able to display data in different columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.

    Hi Venkat,
    After extracting data into DSO check the request whether active or not.
    Check data in DSO in contents.
    If is there any restrictions on info providers in Queries.
    Let us know status clearly.......
    Reg
    Pra

  • Not able to display data in separate columns using Unicode encoding

    Hi,
    Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
    Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
    This is an urgent need. Please help me out.

    Hi,
    I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
    eg:
    select
    case
    TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2)
    = :P15_EV_LCL
    then
    span style="background-color:lightgreen"
    || TRUNC((
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    else
    span style="background-color:yellow"
    || TRUNC(
    ( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
    ),2) || '%' || /span
    end "Effort"
    from actuals Z
    If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
    Please suggest
    Thanks
    Sudhir
    Edited by: Sudhir_N on Mar 23, 2009 10:00 PM

  • Display data in log file using PL/SQL procedure

    Just as srw.message is used in Oracle RDF Reports to display data in log file in Oracle Apps, similarly how it is possible to display data in log file using PL/SQL procedure?
    Please also mention the syntax too.

    Pl post details of OS, database and EBS versions.
    You will need to invoke the seeded FND_LOG procedure - see previous discussions on this topic
    Enable debug for pl/sql
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FND_LOG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    HTH
    Srini

  • Display data on ADF table using a VO binded to a message.properties file

    Hi,
    I want to display data in a JSPX page using ADF table which is based on a ViewObject. The attributes of the ViewObject should get it's value from a abc.properties file(static file).How can i achieve this.
    thanks in advance.
    regards,
    Himanshu.

    Hi Himanshu,
    When you create a VO based on static values, all of the records from your VO are generated into the MessageBundel.properties file like this
    devguide.entity.ViewObj.SL_0_0=1
    devguide.entity.ViewObj.SL_0_1=<val1>
    devguide.entity.ViewObj.SL_0_2=<val2>
    devguide.entity.ViewObj.SL_1_0=2
    devguide.entity.ViewObj.SL_1_1=<val1>
    devguide.entity.ViewObj.SL_1_2=<val2>
    You could add more lines to the properties files maintaining the same pattern. Also noticed that you can read all the values from a CSV file as well.
    The last resource is to programmatically read the file and start creating new rows on the VO, which won't use any of the declarative tools for VOs.
    -Juan Camilo.

  • Help on jsp code to display data in same page using using ajax ?

    Is there any jsp code to display in same page using using ajax ?

    Re: need help on how to display data in same jsp page. Locking.

  • Data and Dashboard Security using ROLES Variable in OBIEE 11g

    Hi all,
    I'm currently using OBIEE 11g. I'm wondering how to implement the security for data and dashboard in the 11g.
    Below is the sample of how the security matrix requirement when I use the 10g version. In 10g, we usually use GROUP (for the data filter in RPD) and WEBGROUPS (for dashboard objects) variables in my initialization block to read from database. As we have 2 different variables, it is possible to control security separately for data and dashboard.
    GROUP | Country
    G1 | US
    G2 | FR
    G3 | UK
    WEBGROUPS | Dashboard
    WG1 | D1
    WG2 | D1
    WG3 | D1
    WG1 | D2
    WG2 | D2
    WG1 | D3
    WG3 | D3
    WG3 | D4
    Now, in 11g, the recommendation is to use ROLES variable (for application role). So, how would I apply the required security matrix above in 11g using just ROLES variable? Do I still create G1, G2, G3, WG1, WG2, and WG3 as application roles then only use G1-3 in the RPD to filter the data and only use WG1-3 in the analytics to serve as webgroups?
    Any advice on this? Thank you very much.

    "...Could you elaborate more?"
    I mean that role creation and user->role assignment will be managed outside of to the obiee interface - whether that's via the database, LDAP, fmw etc.
    Webgroup creation and assignment is managed within the obiee interface and I think that has a lot of benefits - generally you have people responsible for shared folders and dashboard creation, so having them responsible for webgroups and presentation permissions is preferable for me.
    "are you saying that I use the role G1-3 only in the RPD, while using the role WG1-3"
    Yes .. I'm assuming you have something like
    G1 | US
    G2 | FR
    G3 | UK
    WG1 | Finance
    WG2 | Marketing
    WG3 | Sales
    Which becomes
    R1 | US
    R2 | FR
    R3 | UK
    R4 | Finance
    R5 | Marketing
    R6 | Sales
    And John belongs to R1 and R4, Fred belongs to R2 and R4 etc. So you would set your data filters against R1-R3 and use R4-R6 like webgroups in the presentation services.
    Regards,
    Robert

  • Query View not displaying data according to Query

    Hi,
    I have a query with current cal week vaiable set for 0CALWEEK. A Query View is created on that but everytime we have go and maually refresh the query view and save it to show the current week. Is there any setting in WAD, Queryview or the query to pick the data automatically from Query directly?
    Thanks

    Hi,
    Restrict the 0CALWEEK in the query with the variable 0CWEEK which is the current week. Then, create the view and the web template will automatically takes the current week.
    Edited by: P R on Feb 15, 2011 5:06 PM

  • How to display data on BI content using queries?

    Can anyone help me,not sure how to insert values in the queries then displaying it on the BI content.any step by steps instructions for me to follow?Please help,thank you=)

    Dear Koh,
    i was told that query is used to display the data i insert in the BI content(because i'm supposed to use BI content to display these data),in which there are infoareas created inside,so what should i do next?
    You will design Queries to analyze the data available in the InfoProviders ( InfoCube, DSO, Info Object etc.)
    There are Standard BI Content InfoProviders...if u are using them then just creat Query on top of them..If u are using Customized infoProviders ( Created by u ) then create Query on top of urs.
    Open Query Designer..from ur Start Menu > Business Explorer > Query Designer...and follow the above mentiopned process.
    Or
    Use Tcode RRMX to open Query Designer and create a Query.
    Regards,
    Ram.

  • Displaying date field in menu using HTML DB

    How do I display a date field in HTML DB as drop down. I have the below HTML code which needs to be represented in HTML DB.
    The display on the page should be like
    Enter Start Date : "Month" "Day of the Month" "Year".
    The above values in quotes should be displayed as enterable fields with LOVs.
    Any help would be greately appreciated.
    <td colspan="3">Select a Date Range for the Report</td>
    </tr>
    <tr>
    <td nowrap="nowrap">
    <label>
    <input type="radio" name="selectDateType" value="mdy">
    (Month Day, Year)</label></td>
    <td nowrap="nowrap"><label for="startDateStringMonth">Start date:</label></td>
    <td nowrap="nowrap" width="100%">
    <select name="startDateStringMonth" id="startDateStringMonth" tabindex="3" >
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>
    <select name="startDateStringDay" id="startDateStringDay" tabindex="4">
    <option value="">Day</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    <option value="21">21</option>
    <option value="22">22</option>
    <option value="23">23</option>
    <option value="24">24</option>
    <option value="25">25</option>
    <option value="26">26</option>
    <option value="27">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <select name="startDateStringYear" id="startDateStringYear" tabindex="5">
    <option value="2000">2000</option>
    <option value="2001">2001</option>
    <option value="2002">2002</option>
    <option value="2003">2003</option>
    <option value="2004">2004</option>
    <option selected="true" value="2005">2005</option>
    <option value="2006">2006</option>
    <option value="2007">2007</option>
    <option value="2008">2008</option>
    <option value="2009">2009</option>
    <option value="2010">2010</option>
    </select> </td>
    </tr>
    <tr>
    <td nowrap="nowrap"> </td>
    <td nowrap="nowrap"><label for="endDateStringMonth">End date:</label></td>
    <td nowrap="nowrap">
    <select name="endDateStringMonth" id="endDateStringMonth" tabindex="6">
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>

    I'm not sure why you would do it the way you have it implemented in 3 select lists.
    Why not use a Item Type of Date Picker, and let the user use the pop-up Date Picker to select the date.
    You code has some fatal flaws:
    1) You can't see any data before 2000
    2) You can't see any data past 2010 (probably not an issue now)
    3) It's possible to specify February 31 as a date
    Using the built-in Date Item type will eliminate these issues and at the same time, make your UI more streamlined.
    Thanks,
    - Scott -

  • Fetch Data through Caml Query using textboxes as parameters

    Hi All,
           *I am very new to SharePoint and working on SharePoint dev.I have task to get the list items based on 2 conditions and I am passing parameters as texboxes to get the data dynamically .
         *I had written the below code(Code 1) for which it is showing me errors and Code2 is working fine.Can any one help me what is error
    Code 1
      SPList mylist = myweb.Lists["Manager"];
                    SPItem myitem = mylist.Items.Add();
                    SPQuery myquery = new SPQuery();
                    string idvalue = txtid.Text.ToString();
                    //myquery.Query = @"<Where><Eq><FieldRef Name='ID'/><Value Type='Number'>"+txtid.Text.ToString()+"</Value> </Eq></Where>";
                    string idvaluuue=txtid.Text.ToString();;
                    myquery.Query = @"<Where>
                  <And>
                      <Eq>
                         <FieldRef Name='ID'/>
                         <Value Type='Number'>"+idvaluue+"</Value>
                      </Eq>
                       <Eq>
                         <FieldRef Name='NumberOfEvents'/>
                         <Value Type='Text'>"+drbcalenders.SelectedItem.Text.ToString()+"</Value>
                       </Eq>
                   </And>
                  </Where>";
    Code 2
    SPList mylist = myweb.Lists["sample"];
                    SPItem myitem = mylist.Items.Add();
                    SPQuery myquery = new SPQuery();
                    string idvalue = txtid.Text.ToString();
                    //myquery.Query = @"<Where><Eq><FieldRef Name='ID'/><Value Type='Number'>"+txtid.Text.ToString()+"</Value> </Eq></Where>";
                    string idvaluuue=txtid.Text.ToString();;
                    myquery.Query = @"<Where>
                  <And>
                      <Eq>
                         <FieldRef Name='ID'/>
                         <Value Type='Number'>9</Value>
                      </Eq>
                       <Eq>
                         <FieldRef Name='NumberOfEvents'/>
                         <Value Type='Text'>July</Value>
                       </Eq>
                   </And>
                  </Where>";
    Samar

    below is query with multiple AND usage...I hope it will help you out...
    string four = "4";
    string five = "5";
    string fifty = "50";
    myQuery.Query = @"<Where>
    <And>
    <And>
    <Eq>
    <FieldRef Name='PCurrency' />
    <Value Type='Currency'>"+fifty+@"</Value>
    </Eq>
    <Eq>
    <FieldRef Name='PNumber' />
    <Value Type='Number'>"+four+@"</Value>
    </Eq>
    </And>
    <Eq>
    <FieldRef Name='ID' />
    <Value Type='Counter'>"+five+@"</Value>
    </Eq>
    </And>
    </Where>";
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote ***

  • Data Warehouse report query using Entity Beans

    I have used the EJB technology on one project, so I am not all that familiar with
    best practices.
    In my new project, I have to produce reports using a query that goes against a
    dimensional database. I am wondering what options I have to run the query and
    extract the results given that the application will run on WebLogic.
    1) Straight JDBC
    2) BMP
    3) CMP (could be a problem because the quety is a join query, but I am not sure
    if WebLogic requires that the query is against a table rather than a view)
    The query is read-only. I am more interested in ease of coding and code management
    rather than application performance at this point because I think the query will
    spend a relatively large time executing on the Oracle database.
    I would like to hear the best practices to be employed in this case. Thanks very
    much!
    Ravi.

    Don't use entity beans for this. Straight JDBC is not perfect either, but it
    is preferable to entity beans for this type of work.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Ravi Navanee" <[email protected]> wrote in message
    news:3c92693d$[email protected]..
    >
    I have used the EJB technology on one project, so I am not all thatfamiliar with
    best practices.
    In my new project, I have to produce reports using a query that goesagainst a
    dimensional database. I am wondering what options I have to run the queryand
    extract the results given that the application will run on WebLogic.
    1) Straight JDBC
    2) BMP
    3) CMP (could be a problem because the quety is a join query, but I am notsure
    if WebLogic requires that the query is against a table rather than a view)
    The query is read-only. I am more interested in ease of coding and codemanagement
    rather than application performance at this point because I think thequery will
    spend a relatively large time executing on the Oracle database.
    I would like to hear the best practices to be employed in this case.Thanks very
    much!
    Ravi.

  • Display data of query in Analysis Process Designer mismatch query result

    Hi experts,
    I am having an issue with APD.when ii am display data of the query in apd i am having wrong values for key figures.
    any solutions?
    Thanks

    Hi,
    after doing a check by restricting data in the query, I see that the condition I have set in the query, to only give me the data where keyfigure X <= 2, the DSO is updated with all the values. So it seems that conditions in queries are ignored by the APD. Does anybody know anything more about this? Then I can understand why the job was taking so much time...
    Regards,
    Øystein

  • Reference date of last data load in query

    Is it possible to referece the date of the data load in a query via user exit / formula variable or some other way?
    We have a requirement to display data in a query based on when the data was last loaded. If the data load has not occured this month, then only records from the previous month should come into the result set.
    Has anyone ever done anything like this? Or can you think of a way using SY-DATUM in the update rules that would allow you to segment data on the front end?
    Thanks!
    Adam

    Defenitely there would be a better way.
    For short term you can use a date filed in cube which is filled using your update rule as sy-datum.
    Later you can fiter out while running the query
    try using the Infopackage load tables.
    if 2004s, try using any of RSDDSTAT*
    Mey

  • Formula based on Display data (summarized data)

    PrvYrAmt--PrvYrQty-- AvgPrice----CurYrQty--CurYrAmt
    (PrvYrAmt----
    (CurYrQty *
    / PrvYrQty)----
    Prv Yr AvgPrice)
    150 -
    10 -
    $15--15--
    225
    100 -
    20 -
    $5  -
    10----
    50
    Total  -
    $10 -
    25----
    250(sum 275)
    When I try to create a Formula with CurYrAmt I need to use $275 and not $250.
    I tried the SUMCT and SUMCT functions, but it does not use the summarized data $275 as it is a "display data" function. It uses 250 instead.
    Does anyone have any ideas to force BEX to use the Summed data 275 in the calculation?
    Thanks
    Edited by: Rajesh Francis on Nov 21, 2008 9:44 PM
    Edited by: Rajesh Francis on Nov 21, 2008 9:45 PM

    The problem is not with the SUM. I am able to get the sum value 275.
    The problem is when I use the result from the formula "CurYrAmt@PrvYrPrice" in another calculation. In that case the SUM value 275 is not used; only the value 250 is used.
    [email protected]YrPricePrdtivity
    (PrvYrAmt--(CurYrQty *--
    (CurYrAmt-(CurYrAmt
    / PrvYrQty)--Prv Yr AvgPrice)--
    /CurYrQty) - CurYrAmt
    ************************************************************************************************************@PrvPrice
    150 -
    10 -
    $15--15225240$16--
    $15
    100 -
    20 -
    $5 -
    10--5075$7.5--
    $25
    Total -
    $8.33 -
    25--208.25315$13--
    $106.75
    (sum 275)--(sum 23.5)--
    (sum 40)
    For Productivity Increase (Prdivity) = CurYrAmt - CurYrAmt@PrvYrPrice
    What is happening: Total =  315 - 208.25   =  $106.75
    What I want in the calculation = 315 - 275  =  $40
    For the Productivity Amount, I can still use the Summation property.
    BUT
    When I try to create a Formula for measuring Productivity +Percent %+ :
    *Formula =>   'Prdtivity' %A 'CurYrAmt@PrvYrPrice'*
    What is happening:   106.75 / 208.75    =  50.77%
    What I want:              40 / 275             =  14.5%
    Edited by: Rajesh Francis on Nov 24, 2008 4:28 PM

Maybe you are looking for

  • No Audio In After Effects CS5.5(Even after rendering)

    I currently have the After Effects CS5.5 Trial Version installed. I am running into a bad audio problem. For the first 2 days I have used it, the audio was fine, it played automatically and I didn't even have to render first to get it. Then, the thir

  • Unable to open the month view for May in Palm desktop

    My Palm Desktop will not open the May calendar in the month mode.  I can access that month in either daily or weekly mode but not in the monthly one.  May seems to be the only month that is affected.  It opens properly on my Treo 680 but not on the d

  • Images and image field problem

    Hi I would like the user to be able to upload an image that will be scaled proportionally to the size of the field pre determined. I understand that options of image field: "scale image proportionally" is meant for this exactly. For some reason, this

  • Where are the pictures of screensaver "National Geographic"

    I like the pictures of screensaver "National Geographic", I want to use one of them as my desktop background. But when I go to System/Library/Screensaver, I don't see a folder named "National Geographic". And I searched all the pictures in the Screen

  • Photoshop Elements 13 64 bit Topaz filters not working

    In Elements 13 64 bit, I can not get the Topaz Filter Star Effects to work.  It opens the filter but will not adjust the photo.  It worked perfectly in Elements 12.