Virtual Character in Bex Query / Filter by Attribute

Hi ,
We have a query where we need to resrict the query result by a character at run time. I think this is done by using virtuual characters with user exit RSR00002...Here is our requirement. We have the PCA query with Cost element heirarchy (Revenues & Expenses as nodes and several other sub nodes available) as the report out put and when we drill down by cost center user wants to see the result of blank cost centers only for Revnues but not for Expenses.
If this scenerio is not possible by virtual characters, I have a display attribute in Cost element where Revenues always have type 11 and Expenses have 1. So I need to exclude the cost center blanks for cost element type 1....But I'm not sure how to achieve this. Can any one advice if this is better to do in Info cube level / Bex query level...
Thanks

Hi,
This forum is for the BusinessObjects BI Solution Architecture. I would suggest you post your questions into the corresponding SAP BW Forum
regards
Ingo Hilgefort

Similar Messages

  • Bex Query Filter Page in BSP - Urgent Please...

    I have seen many threads about Bex query in BSP, but can any one tell me how can i display the default Bex Query Filter page in BSP.
    I created a query in Bex Query Designer and added few filters and when i execute i get a popup where i can enter the input values for which the report would be generated, can i get the same functionality or similar functionality if i have the same Bex query in BSP.
    Also apart from the filters specified in the Bex, all the columns displayed in the report appears in the filter section how can get the same functionality BSP.
    Note: I do not want to use Bex Web Application Designer
    Please tell me the steps for the same.
    Atleast please give me the steps at a high level. Please...

    Hi,
    1.  Create a CKF, inside the CKF window create a new Formula Variable --> Right click in left side window on var and say create new Variable
    2.  Create new variable of replacement path type and reference Characteristic as the TO DATE value which you want to be max.
    3.  Now drag this new created var to CKF and save.
    4. Now create condition with follwoing deatils:
    Key Figure              Operator     Value
    Max Date(CKF)       TOP N          1
    Save and execute your query. This will give you max value for the To Date field.
    Hope it works .
    Regards
    Raj Rai

  • Query Filter on attribute

    Hi,
    I am designing the BEx Query that requires the data to be filtered based on the attribute value of an infoobject - both are available in the BEx Query.
    However when I apply the Filter on the same infoobject in the BEx Query, it does not return me any data as result.
    Can you please let me know if there is a better way to filter Query Results based on attribute of a characteristic.
    Regards,
    Amogh

    Goto RSD1 > Infoobject Maintainence > Key in your Infoobject name & check the /BIC/M* table. Find all entries applicable for restriction. Make sure all the existing entries are same as that is visible at Info provider level. In BEx, if you are sure you are not going to make changes to query frequently, use Filters at Query level. Include all relevant entries you find applicable for your Characteristic Info object. As suggested in previous posts you need a Navigational Attribute for your Info object; if you want to capture Attribute data. Else, if you wish to create a filter at run time, use an input enabled Variable, which can capture Multiple Entries.

  • Error Message in Query Filter on attribute of 0MATERIAL filters charac.

    Hi All,
    i have a query with few variables , i used navigational attributes of 0material......
    I am getting the below Warning Message...  Ineed to supress the below Error Message....
    Please let me know the solution...
    Error Message: Filter on attribute of 0MATERIAL filters charac. values without master data
    Diagnosis
    Currently, it cannot be guaranteed that SIDs and master data exists for all characteristic attributes for the DataStore object to be read.
    There is a restriction on a navigation attribute of the listed characteristic in the query. This filters all characteristic values of the master-data bearing characteristic for which there is not yet master data out of the result.
    For performance reasons, this filtering is unavoidable.
    System Response
    Procedure
    In case of doubt, find other restirctions directly on the characteristic values of the characteristics contained in the DataStore object.
    Procedure for System Administration
      Notification Number DBMAN 345 
    Thanks All

    Dear all SAP Gurus,
    we've solved this problem and this is the solution:
    The warning is triggered by the method CL_RSDRV_ODS_QUERY-PROCESS_SFC_WITH_ATR when the BExFlag of the InfoProvider is not set. Using DSOs for direct update there is no change to change the BExFlag. As a result queries based on a DSO for direct update always throw the above mentioned warning when filter-characteristics are attributes.
    Regards, Clemens

  • Problem about printing special character in bex query analyzer

    Hi,
    in bex query analyzer i have created one restricted key figure , in which i have substracted two date with the help of replacement path.
    So i got result.
    But i am facing one problem. when in both date, if one date is null or # then it is giving some big value like -734567.
    But i want some special character like X instead of this big values.
    So how can i do this?
    With the help of if and else it can be done.
    But how can we print special character in report.
    Please help me
    Thank you in advance

    hi,
    You cannot show X in a formula result. You can highlight the row using exception.
    Still if you want to show X in the result then you need to create a formula variable on a char which returns X value all the times.
    Then you can use the three formula variable to write a formula so that it shows the difference:
    date1 -- formula variable
    date2 -- formula variable
    charx -- formula variable.
    the formula will be
    Count(date1)Count(date2)(date1 - date2) + charx *(count (delta(date1) + delta(date2))).
    this would return the X value if any of the dates are empty otherwise their difference.
    regards.
    Arvind.

  • BEX query: filter is not displayed in one of the users

    Hi,
    We created a BEX Query with a Month/Year filter.
    When I run the query with my user, it's working ok (photo 2).
    When I run it with another user, the filter is not dislayed (photo 1).
    I've checked the role with PFCG, bit i don't know what it's misssing. The infoarea, infocube and name of the query are included in the PFCG, as well as the activities: execute, visualize, etc. (Photo 3).
    Any ideas?
    Thanks in advanced!!
    Florencia

    Hi,
    Just compare assigned roles for My user and other user.
    Then you may know the missed authorizations.
    As my guess  your issue will authorization related one.
    Thanks

  • Uni on Bex-Query: filter on Structure - Without Keyfigures as column: error

    Hi All,
    I have a 'Without Key Figure structure' as a column called Version in which (amoung others) the values 'Actual' and 'Last Year' .
    Thus
    Version
    - Actual
    - Last Year
    Now i want to create a filter in my universe which pre-selects Actual.
    When I use the tool for that this is my standard definition of the filter:
    <FILTER KEY="@Select(Version\Version)">
      <CONDITION OPERATORCONDITION="Equal">
        <CONSTANT VALUE="Actual"/>
      </CONDITION>
    </FILTER>
    However it results in error: 'A database error occured. The database error text is: (CS) "Error on BindCol". (WIS 10901)'
    Meaning(i guess) that somehow i'm not getting the correct selection-command to the database,
    When i use the version-dimension itself in the reports as part of the query filter it works fine and LOV displays both versions for selection.
    We are using XI3.1 fp3.1; BW 701-sp5 on oracle 11
    I've look through the forum, but couldnt find an answer.
    If there is point me into that direction and i'll close this one
    Any other information on how filters etc should be specified in an Universe on a BW query is also greatly appreciated.
    I already have found some info but any information is welcome.
    Your help is greatly appreciated.

    I found my answer.
    Create a caption dimension for your keyfigures and filter on thath
    Dimension:
    [xxkeycharacteristicxx].[caption]
    Filter:
    <FILTER KEY="@Select(Key Figures\Key Figures Caption For predefined filters)"><CONDITION OPERATORCONDITION="Equal"><CONSTANT CAPTION="VERSIONS like Actual"></CONSTANT></CONDITION></FILTER>

  • Crystal didn't show the BEx query Attributes description changes/Values

    We experiencing the BEx query attributes/crystal report  issue.
    I create a crystal report using BW- BEx query. Bex query displays the attributes values. But in crystal report side it didn;t show up the values as well as description changes.
    But If I change the display properties of attributes (different from one attribute to another) the crystal report reflect the values. But crystal report didn't show the Attribute description changes , the one i did it in BEx query side.
    Example:
                         Bex has a Masterdata as well as attribute Field1, Field2 etc.. I changed the description like Field_Test1 and Field_Test2. Also I changed the display property for Field_Test1 is Key and text and long , Field_Test2 is Text & LOng text.
    I  got the attribute values is crystal report Xi R2. But crystal didn't reflect the description changes?
    Suggestions Please?

    Post your question to the Business Object Integration Kits forum

  • Cosmetic issue in WEBI report while creating on top of BEX query

    While Creating WEBI report on tob of BEX Query, it is displaying both Technical names and descriptions at webi design level.
    The infoobjects we had used in BEx Query is Navigation Attributes.
    In case if we are using normal Infoobjects, we can able to restrict as per my requirement like uniqe name, description or both.
    In this webi report user(Power user) having flexibility to drag and drop available characteristics.
    Due to this issue column heading is displaying both technical name and description. For example Customer(ZCUSTOMER)

    How come , if  it is display for data means it also need to be display for header (Dimension also).
    you can try alternatively in webi by creating variable  for that Iobj .
    Refer below blog provide details:
    BOBJ Tricks: Toggle the Display of Text and Key in Webi
    Regards,
    Seshu.P

  • Bex Query prompt

    Hi Experts,
    I have added End_date(zc_edat) in bex query filter panel and restricted with characteristic type variable Authcode End date( Ref char is zc_edat).
    Now the requirement is i want the same field (zc_edat) in query filter panel restricted with charcteristic type variable Expiration date (Ref char is zc_edat).
    So there will be 2 fields in the prompt, one is restricted with authcode variable and other is with expiration date.
    Please guide me how to implement this. Thanks is advance.
    Regards
    Dinesh

    Hi Dinesh,
    We can restrict the same characteristic with two types of elements
    by adding as many in your selections.
    Hope answers your need - Kumar

  • SAP BW BEx query - WEBi MDX query

    Hi Experts, have we had some discussion on this?
    Does MDX query send by WEBi report to BW use the same program to extract data from BW database?
    One of the option for WEBi report source of data is to build Universe on top of BEx query. Could you share how this process actually happen.
    I think
    - WEBi query will pass parameters that is relevant for BEx query filter of the universe
    - the BEx query will then extract the data (following normal process if we run BEx query independently)
    - if WEBi has further filtering, it will then get the BEx result above and filter it further ..??
    So, how is MDX query come into the picture?
    Or is it:
    - WEBi query and the BEx query will determine what MDX query will be generated, and this MDX query will then fetch the data.
    But why BEx query extract data faster then MDX query?
    Sorry, i am new to this. hope someone could share some light here. In the meantime i continue to real those documentation and try to get some more ideas of what is actually happening.
    Thanks.

    Hi Thanks a lot for pointing this out.
    Did i understand it correctly that BEx query is using a different set of program (platform) to retrieve data compare to MDX query, and not MDX uses those program that is used by BEx to retrieve data from BW database and have extra steps on top of that?
    Can anyone share what is actually happen WEBi MDX query is executed (how the database is hit with SQL, and what are the tools to evaluate the efficiency of the WEBi (or the used BEx). As for BEx we have RSRT to analyze it right.
    And even to test the MDX query using MDXTEST and try to get the data from WEBi report, i found WEBi report still take considerably a lot longer. Why is this so? just because BO is a different system then BW?
    And as it's shared the BO 4.0 is using the same platform as BEx to retrieve data from BW database, does this mean we don't need to care about MDX usage in BW anymore as far as BO data extraction concern?
    Thank you very much.

  • SAP BEx query's Conditions and Exceptions on BO Universe

    We are planning to create Conditions and Exception on SAP BEx Query. And provide this query to BO team for their development
    Could anyone tell me in what form will these BEx objects be visible in BO-Universe ....as detail objects...or query filters and a.s.o?
    Will they be Invisible? If invisible will they be atleast applied to BO-Universe.
    For e,g: I know that, BEx Query filter will be applied to the underlying query but are not visible in OLAP universe.
    - Anil

    Hi,
    Conditions and Excpetions are not supported by OLAP BAPI tehrefore they are not generated in universes or consumed at query level.
    You have to create conditions on measures in universes (except top end bottom exceptions that are not supported).
    Exceptions need to be done at cliient level (Webi, XCelsius, etc).
    I BOE CI 4.0 conditions will be supporte by the Semantic Layer direct acces with BICS but exceptions will continue to be created at client level.
    Didier

  • Problems about  query filter (BEx).

    Hello there,
    I have some problems about  query filter (BEx).
    I have master data and I want to use attribute in this master data to dynamic filter in query(BEx).
    But this attribute is key figure. I can't done it now. TT
    Is this possible? If yes, could anyone advise how this is to be done?
    Thanks in advance.

    Hi
    In BEx there is option as 'Exceptions' & 'Conditions'. If you go in condition, you can specify range for key figure output. This is either predefined or by user selection. You create the condition as per your requirement & it will show you filtered data.
    How to create conditions you will find easily on this site.
    You can create as many conditions as no of filters you want. You can create these at query level also at report output level.

  • Infoset - Query with navigational attribute as filter

    Dear all,
    We have created an InfoSet linking an InfoObject 0COORDER to an Info InfoCube containing order data.
    We have used a Left outer join to link 0COORDER tol 0COORDER in the InfoCube. The purpose is to be able to report on all 0COORDER even if they have no transaction data.
    When creating a query we get a list of all 0COORDER as expected. The problem arises when we try to use the navigational attribute "Status" from the InfoObect 0COORDER as a filter in the query. This does not work at all.
    Does anyone know what we are doing wrong here ? We are using BEx Query Designer 7.0.
    Kind Regards,
    Mikkel

    Hi Mikkel
    When you say that your Status field does not work at all, what is the error you are getting? Are you able to see this field in the query designer. If that is not the case that means your "status" is not chosen in the infoset design.
    If you are able to see it in the designer then please let us know what is the exact error you are getting.
    Thanks.

  • Custom Filter in Universe on top of BEX Query is not working in BO Explorer?

    Hi,
    I have created Condition(Filter) for an Dimension Object "Submitted by Group Hierarchy" in Universe designer tool on top of SAP BEx Query and then exported the universe to Repository.
    <FILTER KEY="@Select(Submitted By Group Hierarchy\L01 Submitted By Group Hierarchy).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT CAPTION="@Prompt('Submitted By Group ','A',' Submitted By Group Hierarchy\L01 Submitted By Group Hierarchy',multi,primary_key,,{‘Direct Sales’)"/></CONDITION></FILTER>
    To test my custom filter , I have created WEBI report and its allowing input entry in my custom filter and output is also coming .
    where as in Explorer, i am not able to enter input values for my custom filter as below.
    Can anyone suggest me how to create custom filter in universe and use it in explorer.
    Thanks in advance.
    Regards,
    Ramana.

    Hi Ramana,
    Please try using 'mono' in place of multi in @prompt syntax and then test.
    Regards,
    Pranay Sharma

Maybe you are looking for