Hierarchy Settings at query level

Hi,
I my system Profit Center is compounded on Controlling Area.
In Cube These are 2 different fields.
I had a Profit Center Hierarchy that is being extracted from ECC...in the hierarchy The Profit center Key is a combination of Controlling Area + profit center Key.
The query is restricted on Hierarchy....currently when i execute query its not displaying any data as key is not matching (Profit center key with that of Profit center key in Hierarchy)
How can i resolve this
Thanks

Venkat,
To troubleshoot your query, remove your filter values and run the query.
Drill into your data by the characteristics you have set with filter value and see what actual values are in your system for these characteristics.
Chances are you are filtering by something that has no data hence the No data Available result.
Regards
Gill

Similar Messages

  • WEB BEx Analyzer Comments on Query level

    I would like to enable BW users to create comments for some queries an enable other user to read them. System BW 7.01.
    Issues and questions:
    -how to create comment on query level - it's always on data (KYF), Metadata or Master data level
    -I would like to show the document icon - next to the query title (it's relevant for the query)
    -when I create Comments (with the button in the standard template), it's on the data level (combination of KYF) - and when I
    switch to icon display (settings) I get icons in every line. If this would be just at KYF header??
    -where can I edit, delete, ... recorded comments
    Thanks, Tom

    Hi Tom,
    1) If you want to create comments on query level, you need to create metadata documents, object type 'ELEM', object name is the technical name of the query.
    2) Document icons are always shown in the data table. Thus it will be hard to show a document icon for a document on query level. If you are using web templates, you can insert a single document item on metadata documents to display the comment on the query.
    3) Where the document is displayed depends on the document properties. If a characteristic is document property depends on the infoobject setting -> transaction RSD1 -> enter the characteristic -> tab 'general'.
    To see the document properties you can execute the query for example in RSRT (html mode) -> create a new document on any cell. On the bottom you will see the document assignment. Compare this assignment with the cell next to it. If its the same the document will be displayed in both cells. The same can be done for example in java web -> create a new document and switch to the second tab ('BI').
    4) Documents can be edited and deleted in the document browser itself, when you open the document in the executed query or in transaction RSA1 -> documents.
    Best regards,
    Janine

  • 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.

  • 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

  • Underline a Hierarchy after a specific level in crystal reports

    hello,
    i have a requirement to create a report in crystal from a BEx query with a hierarchy.
    1) in the report, they want to show the first 3 levels of the hierarchy (total of 4 levels) on the report at startup, and after every 3rd level, they want a underline from one side of the report to the other.
    2) the third level in the hierarchy is sorted in a specific way in that, the total field is last. i have the group sorted in the original hierarchical way, but yet it is still in alphabetical order.
    andy thoughts on these two issues?
    thx in advance.
    erik

    If I understand, Either
    Draw a line across the bottem of the 3rd group footer
    or
    split the section for the 3rd group footer, make the last section narrow with a different backgroud color

  • Want to convert MMDDYYYY to DDMMYYYY at Query level

    Hi All,
             I have done all the user settings for DDMMYYYY format. However till cubel level its coming in DDMMYYYY format. In query its showing MMDDYYYY, is there any setting in Analyzer which i need to do to fullfill the requirement.
    I have gone with FM too, however when am getting at cube level the way i require at query level its in MMDDYYYY format.
    Regards,
    Krishna.

    Hi,
    Craete Custome Exit Variable on CalDay and use the follwoing code in CMOD
    In the following code I declared ZT_DT1 as SY-DATUM, I think in your case you change the data type and check, but the code is same, you need to check data typs only.And also if required use LOOP and ENDLOOP else delete it directly use Variable 'ZT_DAY1' .
    i.e.
    WHEN 'ZT_DAY1' .
            ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
    Else
    WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
              CONCATENATE ZT_DY ZT_MT ZT_YR INTO ZT_DT1.
              l_s_range-low = ZT_DT1
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    Thanks
    Reddy

  • Conflict between Date values at Infocube & Query Level

    Hi Folks,
    I am stuckup with a strange situation and it is:
    The value of date fields are coming correctly at infoprovider level and when i call the same infoprovider at query level the values are totally different.
    Any suggestions in this regard.
    Thanks

    Hi,
    Are you using the same user for running the query and for checking data in InfoProvider, otherwise there might be personal settings difference.
    Execute your query in RSRT and check the output.
    Regards,
    Durgesh.

  • 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

  • Date to Month Conversion at Query Level.

    Hi,
    I have Net due date in the Info provider.
    At query level i have to create a restricted keyfigure based on Net Due Month.
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    Thanks and Regards,
    MuraliManohar.

    Hi,
    Is there any way i can calculate Net due month at runtime and then create the restricted keyfigure using the net due month instead of using net due date directly(linke 01-10-2010 to 31 -10-2010 for october 2010).
    you can calculate , but as he said you can add in cube ,  may be for cal month you are taking som eother date field.
    in this case write one customer exist code .
    create one varaibel on netdue date with customer not ready input (if user wants to enter input then ct=reate user entry varaible with reday input by using customer exit).
    in routine wriet the code as when that varaible .
    l_s_range - high , low and give then take the month form that date
    like netdue date +0(6)-- gives month and year
          netdue date +0(2)-- gives month
    then rtestrict that variable with your keyfigure.
    Thanks & Regards,
    sathish

  • Logical Formula at query level?

    I have requirment like if D =  0 then ' ' (SAPCE) else E / F.
    I dont know how to get space ?
    please help me to create this formula at query level?

    hi Hari,
    I am not really sure ,but u can try this...
    if D = 0 then ' ' (SPACE) else E / F.
    use the same formula and make it Zero instead of space and then in the Query properties replace Zero with Blank or Space Values.
    Rgds
    SVU123
    Edited by: svu123 on Sep 30, 2010 6:53 AM

  • Infoset resulting multiple results at query level

    Hi,
    I have joined 1 DSO and 1 Infocube in Infoset.. Mapped Plant, Material and Batch
    DSO
    Plant     Material      Batch      Caldate         Qty
    P1          M1          B101          01/02/2014     1000
    P2          M2          B102          05/02/2014     2000
    Infocube
    Plant          Material         Batch     Caldate               %
    P1               M1               B101          02/02/2014          20
    P1               M1               B101          05/01/2014          20
    P2               M2               B102          07/02/2014           15
    I'm considering date only on DSO and ignoring Infocube date. When I execute the report for the month of February, report output is as follows.
    Plant   Material     Batch     DSODate         Qty           %
    P1          M1               B101     01/02/2014          1000          40 (Summing up with January Date)
    P2          M2               B102     05/02/2014          2000          15
    I want data % value to be 20%.
    Is there any possibility to change at query level or join level.
    If we have one line item, data is correct but not the case with multiple line items.
    Kindly do the needful!
    Thanks
    SS

    Hi,
    When you join the two infoproviders in the infoset ignoring infocube date, you are creating as many records for each record in DSO. That means for the first record the infoset creates :
    Plant     Material      Batch      Caldate         Qty     %
    P1          M1          B101          01/02/2014     1000  20   (for first row in infocube)
    P1          M1          B101          01/02/2014     1000   20  (for second row in infocube)
    I also think same as Anshu, you have all the common characteristics, you can as well use a multiprovider.
    regards
    Yasemin...

  • Using different hierarchy in a query and last value error

    Hi guys,
    there is a hierarchy for customers in the 0Customer Infoobject which I should use in my query.
    I have activated the hierarchy in the query and now some results are not appearing but red crosses "x" are shown.
    And the error message: The function Calculate Results as ... could not be applied everywhere.
    I know that I am using the result as "last value" for some columns because I need them there (for example: to determine the last value for the credit limit of the current month). I think these columns where I am using the last value calculation are only affected.
    I mean my query has a lot of characteristics and key figures and I was told that a hiearchy for customers which is available should be used. But now there are these red crosses.
    I don´t see any other solution as not to use this specific hierarchy.
    Has anybody a suggestion what could be an argument to use or not to use a hierarchy?
    Is it sometimes like in my case that a hierarchy is not possible to use?
    Thanks in advance!

    Hi,
    say for example your customer hierarchy is customers grouped under region. You can maintain this region as one of the attribute of customer and you can display this attribute in the report. Indirectly, this will give similar output to that of hierarchy.
    But lot depends on how your hierarchy is formed, before commenting whether it can be moved to master data attributes.
    Thanks.

  • Currency Conversion at Query Level

    Guys,
    Can some one tell me step by step procedure to do Currency conversion from USD to Mexican PESO at query level in BI 7.0. I have read lot of threads but not clear in maintaining the Exchange rates and also in creating the variables. 
    Thank you,
    Kumar

    Hi Kumar ,,
    You're able to convert the currency amount on the routine ...
    Using this function :
    CONVERT_TO_LOCAL_CURRENCY
    Sample:
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
         EXPORTING
            DATE             =  " current date.
            FOREIGN_AMOUNT   = " local currency amount (peso)
            FOREIGN_CURRENCY =  " local currency
            LOCAL_CURRENCY   = 'USD'
         IMPORTING
            LOCAL_AMOUNT     = RESULT " result.
         EXCEPTIONS
            NO_RATE_FOUND    = 1
            OVERFLOW         = 2
            NO_FACTORS_FOUND = 3
            NO_SPREAD_FOUND  = 4
            OTHERS           = 5.
    To maintain the exchange rate, you can go to tcode: OB08
    Hopefully it can help you a lot..
    Regards,
    Niel
    thanks for the points you choose to assign.

  • Query level formula is not working for all the amounts

    Hi Friends,
    In my production system I found new thing that in my query level I done some calculation (as per my requirement I done amount devide by 100 to get correct values)
    It is working for all the amounts except 1or 2 amounts, im uploading same source file for  all the amountsu2026 why it is happening like this u2026and is there any availability to change those 1 or 2 values at data base tables level  or at any pleace (I hope in SAP it is may not possible)u2026can any body tell me why it is happening like this. u2026 because of  this issue only my report is pending to sign off u2026.please  can any body find  the solution ASAP.
    Regards,
    VENKAT

    Are they non decimal currencies?
    If yes, create RKF1 on amount field excluding the currencies for which you are not getting currect values then in CKF or formula as RKF1 / 100.   Similarrly create another RKF2 on amount only including the currencies which are excluded in RKF1, create a CKF or formula as RKF2/10000. Then created another formula wich adding CKF1 and CKF2.

Maybe you are looking for