Heirarchy Selection at query level

Hi all
I have 3 heireachy in Dev,let's say H1,H2,H3
Where as in QA i have heirarchy's like H1,H2,H3,H4.
If i want to execute the report on H4 in QA,do i need to keep this heirarhy name in DEV query and then i need run in QA?
Is it possible to select the heirarchys dynamically..like out of N number of heirachys in run time can i select any one heirarchy out of all???
Regards
Srini

Hi Lavany
So you mean to say i need to have the same heirachy in dev systems also in r3 side..then only H4 i can able to load in BI side and i can keep that at query level.?
NOrmally for master data..we are giving in filters as direct input even if that is not exisitng in dev.
example we have order type z1 z2 in dev   prod z1 z2 z3
while craeting the query in dev we in query deisnger we are kepping filter is z3 and we are trasnpoting the same to production..so in that case it will work fine...can't we make like that for Heirarchys?

Similar Messages

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • Query Level Analysis Authorization

    Experts,
    I have a requirement to provide Analysis Authorizations at a QUERY level.  For example, I have two analysis authorizations: (1) Org Unit and (2) Material Number.  I populate each of these Analysis Authorizations using a BEx Variable (through RSECAUTH) and customer exit "EXIT_SAPLRRS0_001".  In the user exit I look up what authorizations the user has for each field in a custom table.  For example, User A has access to Org Unit ORG1 and Materials M1, M2, M3.  User B has access to Org Unit ORG2 and Materials M4, M6, M8.  The Analysis Authorizations are assigned to the users via S_RS_AUTH object and it works perfectly.
    However,  we now have a new report, where we would like continue restricting the user to ORG1 but allow them to see ALL Materials.  But this requirement is only for a couple of reports. All other reports should continue to enforce BOTH restrictions.
    I don't see a way to determine which query the user is running.  In the user exit for normal variable exits, I can reference the field i_s_rkb1d-compid which has the query technical name.  But when filling the authorization variable in I_STEP = 0, that field is not populated.
    Has anyone experienced a way to create authorizations at a query level?  Is there an SAP InfoObject like 0TCAACTVT where I can specify a query name?  Your help is greatly appreciated.  Thanks!
    J

    Hi,
    SAP BW Authorization is definitely different from R/3 authorization. Why? Well, first, R/3 authorization usually involves up to the transaction code level. But for SAP BW, the mostly used transaction is "RSA1" and "RRMX". Therefore, authorization based on transaction code alone, is definitely not sufficient.
    So how do we design authorization in SAP BW? There's a few authorization objects that relates to SAP BW.
    For reporting, you will most probably use the following SAP BW authorization object:
    S_RS_COMP - Reporting Component, here is where you control the query authorization blah blah.
    S_RS_COMP1 - Reporting Component Owner, you can control users to only be able to access report created by Power Users, here.
    S_RS_FOLD - Disable/Enable the 'InfoAreas' button.
    Besides that, you will also need to configure the following authorizations:
    S_RS_ICUBE - Infocube authorization
    S_RS_ODSO - ODS Objects
    S_RS_HIER - Hierarchy Authorization
    For SAP BW administration purposes, aside from the above, you also need to configure the following authorization objects:
    S_RS_ADMWB - Administrator Workbench
    S_RS_IOBJ - Info Objects authorization
    S_RS_ISOURCE - Transaction Infosource
    S_RS_ISRCM - Master Data Infosource
    There that's what you need for authorization. Anyway, to achieve "field level" authorization like those in R/3, you can create a customize object, select the infoobject that has been set "authorization relevant", and add it in the authorization matrix, and walla, you got "field level" authorization.
    and refer the below link,
    Re: BI 7.0 Analysis authorization- How to control
    Hope it helps you,
    Regards,
    Ravindra.

  • Can you select another query in a query?

    i.e. SELECT A.FIELD1, <PSQUERYNAME>, A.FIELD2
    I'm trying to select the results of a select, e.g.
    SELECT A.FIELD1, (SELECT B.FIELDB FROM TABLE2 B) FROM TABLE1 A
    and it was suggested that I might be able to do this by making the embedded SELECT a separate query and then referencing it. Is this possible? If not, is there another way to do this within PS Query?
    Thanks.
    Mike

    Yes, that makes sense - but how can I construct this in the PS Query tool? The top level of the query asks you to pick a record, and then select record fields - I see no option that would enable me to select a query or the (one-row single field) result of a query.
    e.g., how would I code
    SELECT
    A.BIRTHDATE,
    (SELECT B.DUMMY FROM DUAL B)
    FROM PS_PERSON A

  • Display Of Material at the Query Level

    Dear all,
    I have an issue at query level....we have  Material categeorized into
    Material types like   1) Raw Materials, ROH
                                2) Intermediate  and INT
                                3 Finished products ..FIN
    in Raw materials we want to disply only one Material ..but this Material type has many materials but user need to disply only one meterial XXX and in material Type Inetermediate and Finished Product user needs all the materials ..
    i mean i want to display one Material From Raw Materials (ROH) and All materials from Intermediate (INT) and finished products(FIN) ....
    Points will be assigned
    Regadrs
    venu

    As mentioned by me below follow the step by stpe procedure:
    1) Create a new structure in 'ROWS'.
    2) Under the structure create 3 new seletions. (Right Click to see the option)
    3) First Selection :- drag the Material and Material Type to right window. Restrict the Material (single one XXX which u mentioned before) and material type ROH
    4) Second selection : drag the Material Type and restrict it to INT
    5) third Selection:- Drag the Materila type and restrict it to FIN.
    Hope I am clear on the above steps...
    - Amit

  • Dynamic selection in query structure

    Hi everyone,
    I wonder if it is possible to create dynamic selections in a query structure. Here is my scenario:
    In the columns section of my query I have a structure with all months of a year. Depending on the time of the year, all past months shall contain "actuals" whilst the upcoming months contain "forecast" data. (As far as I know) Using variables, I should be able to fill and name each month dynamically using variables. If it's March now, I would have the following resulting structure:
    - "Jan - Actual"  (containing actuals)
    - "Feb - Actual" (containing actuals)
    - "Mar - Forecast" (containing forecast)
    - "Apr - Forecast" (containing forecast)
    Each month is represented by a selection (if I understand correctly).
    Is it possible, to show or hide such a selection dynamically? The reason I ask: for the current period (March) I also want to display the "current" value (besides the forecast). Unfortunately, this selection moves a long the structure as time moves on: this month, the "current" shall be placed right before "Mar - Forecast".
    - "Jan - Actual"  (containing actuals)
    - "Feb - Actual" (containing actuals)
    - "Mar - Current" (containing currents)
    - "Mar - Forecast" (containing forecast)
    - "Apr - Forecast" (containing forecast)
    Next month it shall be right before "Apr - Forecast".
    - "Jan - Actual"  (containing actuals)
    - "Feb - Actual" (containing actuals)
    - "Mar - Forecast" (containing forecast)
    - "Apr - Current" (containing currents)
    - "Apr - Forecast" (containing forecast)
    Is this possible with BW 3.5? Or otherwise with BI 7? Or is this requirement too dynamic?
    Thanks in advance, Dan

    Hi,
    as already mentionned you can do that with the help of variables.
    For the "moving" column one solution would be to systematically create the column for each month and restrict it to the current month. Only one of this column will get a result different than 0. Then you enable the zero suppresion at query level and allow as well the suppression of the element of your structure (will will hide all the non current columns). This solution is not so elegant but would work.
    Othewise it shoul be also possible to make it with a complex variables implementation (ABAP etc...); in thery that should be possible, the question is it worth the time to develop it so sophisticated??
    hope this helps...
    Olivier.
    Edited by: Olivier Cora on Jan 9, 2008 12:38 PM

  • Exceptional Aggregation Option at Query Level in BW 3.5 Query Designer

    Hi all,
    I want to use Exceptional aggregation with reference char 0CALDAY,on Formula keyfigure in the Query designer(BW3.5).
    But I am not getting that option when I went into Properties of that Keyfigure.So please Suggest  me where I will Find that Exceptional Aggregation option & Ref.Char at the Query level.
    Thanks,
    Kiran Manyam

    Hi
    In the Key Figure Properties dialog box, choose Enhance >>. The Aggregation Behavior field is added to the dialog box.
    You can make settings for the aggregation of the calculated key figure and the time that the calculated key figure is calculated here. Depending on the complexity of the formula, you can select various settings in the enhanced properties of the calculated key figure. The following types of calculated key figures with the corresponding formula complexity are available:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/56853c08c7aa11e10000000a11405a/frameset.htm
    Hope it helps

  • Information Broadcasting Authorization at Query Level

    Hi,
    I would like to know, is there any way to authorized a user at query level in information broadcasting?
    For example, there are three plant P1,P2 and P3 showing in Query, now i want to broadcast this query to E-mail to two user U1 and U2 in following manner.
    1.) User U1 get only Plant P1 Data.
    2.) User U2 get only Plant P2 Data.

    Yes, you can do that. For that;
    Plant should be authorization relevant info object
    (ii) you must have roles to give access to users at Plant level
    (iii) Users U1 and U2 must be SAP user IDs and should have required role for Plant access
    (iv) Query to be broadcasted must have auhtorization variable for Plant
    Once the basic setup is ready, you can test it by executing the report for individual users U1 and U2 and they should see data only for respective Plants.
    Now in the broadcasting setting, specify the users U1 and U2 in User box seperated by semi-colon and tick the checkbox "User Specific" - this will make sure that data is executed as per the data aurthoziation and also format will be selected as per the user profile (date format etc).
    If U1 and U2 are not the SAP users, you will have give their email addresses and will have to create two different broadcast settings to send data for selection plants.
    I hope it helps.
    Regards,
    Gaurav

  • Sum up value at query level

    I want to sum up value at query level ]
    at cube level
    Material Year Period Qty
    A 001.2007 100
    B 001.2007 200
    A 001.2007 300
    C 002.2007 400
    at query, I want to show it in this way. How to do that in query? I don't want to make any change in cube.
    Material Year Period Qty
    A 001.2007 400
    B 001.2007 200
    C 002.2007 400
    Thanks.

    Hi,
    You don't need to change cube. Just add year, period and material to row and qty to column.  For period, select 'total' option.
    Viswa

  • Calculations at query level

    HI Experts,
    I need some calculations at query level,
    find the below user requirement.
    And one more thing we are not authorised to use Customer exits.
    SELECT
    [FA No] As [FA No],
    [FA Description] As [FA Description],
    Sum( CASE WHEN [Posting Date] < @fromDate THEN Amount ELSE 0 END) AS [Starting Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Debet Amount] ELSE 0 END) AS [Debet Amount],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Credit Amount] ELSE 0 END) AS [Credit Amount],
    Sum( CASE WHEN [Posting Date] <= @toDate THEN Amount ELSE 0 END) AS [Ending Balance],
    Sum( CASE WHEN [Posting Date] >= @fromDate AND [Posting Date] <= @toDate  THEN [Amount] ELSE 0 END) AS [Net Change]
    FROM FA06data
    GROUP BY [FA No], [FA Description]
    Please help as early as you can.
    Thanks,
    Naveen

    Thanks for your responce.
    we are using Sql with the query designer.
    what we can use? like calculated key figure.

  • Time conversion at Query Level

    Can anyone suggest any methods to convert the time from UTC time zone to PST time zone at Query level without changing at backend level???

    If it is a key figure you can create a formula and add the offset.
    If it is a characterisitc and you want to limit the selection you can use customer exit variables. If you want to display the characteristic value, then you may be able to do a replacement path variable to convert characterisitc to KF and then use a formula to adjust the offset.

  • Variable currency on query level (not KYF)

    Hello,
    I'm currently looking for an easy way to get a variable screen with one currency selection entry for all query amount key figures. Till now I used an own currency translation type with a target currency from a variable. But this I have to assign to every key figure in my query.
    Isn't it possible to set such a variable currency on query level and not on key figure level?
    Thanks for your help.
    Frank

    Hi
    I dont think whether there is a way to maintain currency translation at the query level.But you can map them to a fixed target currecy in mapping in the update rules itself....which will be universally available for you in the same currency in all the queries.....if you want specific to queries....i dont think there is a easy way
    Assign points if useful
    Thanks
    N Ganesh

  • BI Statistics - query level of detail

    Hi,
    Is it possible for us to specify the level of detail for the queries we create? If its possible please tell me how to do it?
    Regards,
    Suraj

    Hi Suraj,
       Yes its possible to specify the level of details for query objects. Here is some info...
    <b>Statistics Detail Level for the Query Object Type</b>
    For queries, you also have the option of selecting a detail level for the statistics data. You can choose from the following:
    &#9679;      0 – Aggregated Data: The system writes only one OLAP event (event 99999) for the query. This contains the cumulative times within the OLAP processing of the query. The system does not record data from the aggregation layer of the analytic engine or aggregation information.
    &#9679;      1 – Only Front End/Calculation Layer Data: The system records all OLAP events, but not separate data from the aggregation layer of the analytic engine.  The system writes only the general data manager event 9000 in the OLAP context as well as the aggregation information.
    &#9679;      2 – All: The system records all data from the area for the front end and calculation layer as well as data from the area for the aggregation layer and aggregation information.
    &#9679;      9 – No Data: The system does not record any data from the front end and calculation layer or from the aggregated event 99999. However, it does record data for the BEx Web templates and workbooks, depending on the setting.
    When you select the detail level, keep in mind that a very large amount of data is recorded when the system records data manager times.
    Hope this helps...
    Regards,
    Habeeb

  • Need the solution in the Bex Query level for a Business Requirement.

    Hi BI Experts,
    I have a requirement at Bex Query level and the scenario is like this:
    Business Logic.
    Right now am showing the Stocks falling in to time slot like 6-9 months and 10-12 months from the date of PKD in two columns B1 and B2 respectively.
    And also calculating the stock selling price of B1 with 30 % discount and B2 with 50% discount.
    In the above said discounts client may change the discount % in any future Quarters
    Now the requirement is, if client needs to see the history of sales according to the declared Discount selling prices of stocks falling into B1 and B2 slots, he must get the values accordingly.
    ( Am using the Formulas for calculating the Discount % for the Stocks fall in to B1 and B2 slots)
    Business Example:
    For Q4 2007 The discount for B1 Stocks is 35% and B2 Stocks is 60%.
    For Q2 2008 The discount for B1 Stocks is 35% and B2 Stocks is 55%.
    For Q3 2008 The discount for B1 Stocks is 30% and B2 Stocks is 50%.
    For Q4 2008 The discount for B1 Stocks is 40% and B2 Stocks is 50%.
    Now running report ( running in Q4 2008  at some date) if client needs to check the B1 and B2 stocks in Q4 2007 or Q3 2008 the values need to come with the calculation of repective % of disounts declared in that quarters along with the selling prices in that quarter.
    This all should be done at query level nothing to do at Infoproviders level.
    Is there any option like storing query data as a master data  and retrive it according to the selection to get the exact values of the respective % Discounts and time lines.
    If It is not clear come up with questions for still more clarifications.
    Points are assured.
    Thanks in Advance,
    RK.

    Who is defining the % discounts for periods/quaters?
    Is this maintained in a custom table or externally in legacy/R3 system?
    There are various ways to achieve the result. Variable exits can be used or virtual KF/char can be used but all depends on actual requirements.
    Cheers

  • Zero Suppresion Query Level

    Hi All,
    How do we have zero suppression activated at Query level automatically.
    In other words when the report is opened the zero suppression should work without manually going to properties and selecting Zero suppression.
    Thanks for the help.
    James

    Hi
       In the query properties (7th tab on toolbar of query designer) , go to rows/columns tab there you can select Supress zero as active . This is supress the rows/columns when they have zero values.
    Hope this helps. Let me know if you have any questions.
    Regards
    Suvarna

Maybe you are looking for