Linking the restrictions on different characteristics by OR in BEx query

Hi ,
Can anyone suggest on how  a Bex query can be bulit   in which the restrictions on different characteriastics are combined by OR .
For eg. select *  from infoprovider where plant = '3001 'or distibution channel = '05' .
The usual way of resticting different characteristics goes with AND  combination between the characteristics  in Bex.
Working out through conditions is also not possible as characteristics have to be combined with OR not keyfigures.
Regards,
Narasimha.

Hi,
This can be done. Try the follwoing.
Create 3 RKF/Selctions.
RKF1 --> Restrict on Plant 3001, Include the required base key figure
RKF2--> Restrict on Distribution Chnnel 05, Include the required Key Figure
Now create a CKF1 = RKF1 + RKF2, display the CKF in query.
If you have case where Plant is 3001 and Dist channel is 05 abd this also be displayed then above calculation will give you twice as base key figure which will be incorrect, In rest of the cases only one RKF will fetch the value so it will be correct.
Now to over come this create one more RKF3
RKF3 -- Restrict Plant 3001, Dist Channel 05 and base key figure,
Create one CKF2 on this
CKF2 = 0-RKF3
Now you have to change the CKF1's definition
CKF1=RKF1+RKF2-CKF2
Display CKF1 in report
I hope it will help.
Thanks,
S

Similar Messages

  • Modifying the text "Result" and "Overall Result" in a BEx query output

    Hi,
    1) Is it possible to modify the text "Result", "Overall Result" which appears in the sub-total and grand total lines of BEx query output? I do not see any related setting the properties area of the object in BEx Query designer. Do I have to write some VB code or can I do something in Customer Exits?
    Also my client wants that this text need to be made dynamic such as "Sub-Total for the month of Jan 2006".
    I can use work book option and change the texts manually.But this is not meeting my clients requirement.
    2)Is it possible to have dynamic title text for a BEx query?
    We are on BW 3.5 & if any of you could provide / guidance to the above issue.
    Thanks,
    Venkatram

    You will have to use VB Macros to change the text "Result" and "Overall Result", there is not settings in the query designer for the same.
    You can have dynamic descriptions for queries using text variables like Expense Query for month of Jan 2006, if user selected Jan 2006.
    Thanks.

  • Dynamic filter on time characteristics on OLAP SAP BEX query based universe

    Dear all,
    I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit.
    I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes.
    Everything works fine but I need to create a filter in the OLAP universe that allows to restrict data by current date (e.g. using TIME characteristic of Infocube such as 0CALDAY or 0CALMONTH). From that filter we could start creating other conditions to compare data to different time periods.
    I've already tried to use a SAP exit variable in  a BW query but this kind of object would restrict query data only by current date and for example it would be impossible to browse data by previous years (to bypass this problem we could use restricted key figures with different offsets but we have too many key figures in the query and the number of restrictions
    would rise exponentially). 
    In a relational DataBase we can do that using a "where condition" based on 'CURRENTDATE' (SQL DB2 syntax).
    Now, we need to apply the same logic but translated in MDX syntax. 
    Is it possible to enter a dynamic filter in the OLAP universe or just fixed or promt values ?
    Any advise?
    Thanks in advance.
    Best Regards.
    M.

    Hi Ingo,
    1) My question is: "How can I have to manage variable in BEX queries and in the UNIVERSE in order to obtain the maximum flexibility to create reports with measures on actual day (for example) without asking the user to promt a value ?"
    I want to use an unique BEX query to define an unique UNIVERSE. On this UNIVERSE I want to create many reports (actual day, previous day, and so on).
    If I restrict 0CALDAY with an EXIT variable then shall I be able to create a different restrictions on the same Universe based on 0CALDAY ?
    2) Another question is:
    Is it possible to insert an XML / MDX filter on the OLAP Universe with dynamic derivation of the system date ?
    For example:
    Instead of this:
    <FILTER KEY="[0FISCYEAR].[LEVEL01].[NAME]">
        <CONDITION OPERATORCONDITION="Equal">
            <CONSTANT CAPTION="Z12008"></CONSTANT>
        </CONDITION>
    </FILTER>
    Is it possible to insert a tag with a dynamic function to derive the system date ?
    Thanks in advance.
    Best Regards.

  • How to find the objects that are used for a particular BEx query

    Hi ,
    I am preparing the inventory for BEx queries. Means for a particular BEx query I want to know the correcsponding
    1. Selection screen variables
    2. Characteristics
    3. Restrcited, Calculated and normal key figures.
    I have checked all the BEx query related tabe but unable to find the proper relation between these tables to get the desired output.
    Can you help for table joins to get the output as mentioned above.
    Thanks in advance.
    Regards,
    Sai

    Hi,
    you want find the total information about query details use the T  CODE - RSRTQ.
    give the proper selection then execute.
    please find the doc.
    RSRTQ – Query Definition – Multipurpose T-Code on BEx Queries
    Thanks,
    Phani.

  • 4.x: Document Link passing range parameter to a WebI rpt using BEx query

    I'm new to working with BEx queries, so I may use the wrong terminology.  I'm trying to create a document hyperlink from one WebI report to another.  Both are based on BEx queries, which I didn't create, nor do I have access to modify.  The BEx query for the target report has a parameter, Fiscal year/period, which is a range parameter.  The displayed value in a report or in pick lists is in the format "JUL 2010".  The key is in the format "K4/007/2010". 
    I have tried using the Document Link expert to configure passing the range parameter, but have been unsuccessful.  The typical result is an error message, ERR_WIS_30270, which is most likely the result of an incorrect format for passing the range.  I've not been able to locate adequate documentation that describes the syntax for passing a range value to a BEx parameter.  I've successfully created Document Links to reports using BEx queries that have a parameter that requires a single value, and I've done Document links in non-Bex reports in 3.1 without issues.
    Has anyone successfully passed a range value to a BEx paramter?   If so, what syntax did you use?
    The environment is BI 4.0, sp 2 (14.0.2.439)
    Edited by: Steve Green on Oct 7, 2011 8:04 PM

    Marianne,
    Thanks for the heads up on the fixpack.  I tried looking at the note # you sent, but a search of SAP Notes says that the note has not been released.  However, reviewing the Fixed Issues in fixpack 6 shows the following item:
    ADAPT01580012
    Link to a WebIntelligence report using syntax OpenDocument fails when target document contains a prompt
    based on a BEx variable of type Interval. Error message is "An internal error occurred while calling
    'answerPromptEx' API. (Error: ERR_WIS_30270)".
    Behavior is now correct and refresh operation takes into account interval answer passed in OpenDocument URL.
    Now we just need to upgrade to fp 2.6 to see if it resolves this issue.  I've also opened a ticket with support, so I'll see what they say.
    Edited by: Steve Green on Oct 12, 2011 7:27 PM

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • What is the use of 'Convert to Formula' option available BEx Query Rpt?

    After refreshing the query in BI, when I right click on the query report, I am getting an option 'Convert to Formula'. Can you please tell me the use of this option, and how we can use this in our report.
    1) What does "convert to formula" do?
    2) After I click on "converting to formula" in the report , I am unable to paste the spreadsheet from i finance into excel. Below msg appears. What settings do I need to change?
    " Microsoft Office Excel cannot paste the data"

    Can anyone help me to get answers for the below questions

  • 'COUNT' the number of occurrences of a characteristic in BEx

    Good day all.
    3.x BEX.
    I want to count all the occurrences of a " Claim Number" in a BEx query.
    The u201CClaim numberu201D might have several u201Clinesu201D ie : Claim number u201CMMC123u201D has line 1, 2 and 3. I only want to count it as u20181u2019 Dealer claim number, not u20183u2019.
    I have a InfoObject "Counter" in DSO and transformation that counts all the lines, not just the claim numbers. If I set the counteru2019s key figure properties (calculate single value as..) to u2018minimumu2019, I will receive the correct quantity of lines when u201Cclaim numberu201D is displayed in the query results. BUT, I only want to display the total in the query (no detail).
    If I remove the Dealer claim number from the result, then the total displayed includes all the lines for the claim number as well.
    How do I get the correct quantity to display?
    Thanks in advance.
    Cj

    Hi,
    Use exception aggregation for Keyfigure (counter) Properties with referce to the char Claim Number.
    Goto->Counter(KF)Properties->exception aggregationTab-->select refchar(Claim Number)-->ok.
    then u will get aggregation value.
    Hope it willhelp.
    Regards,
    Satya

  • Urgent ! Assigning (or Linking ) the same workbook into two different roles

    Hi Gurus,
    Coul you tell how to link the same workbook to two different roles.
    I am assigning the same workbook to two different roles, but in the second role the workbook is displaying with different structure than in the first role. I want the workbook should be displayed with same structure in both the roles.
    This is Urgernt.
    Thanks in advance.
    Best regards
    Hari

    Hello hari,
    Both the roles should diplay the same layout for a single workbook.
    please ensure that both the users(with these 2 roles) have similar (all the other)authorisations.
    it's possible that one of the users may have further restrictions in authorisations. check out for z-authorisation objects if any.
    hope it helps..
    thanks,
    (*Don't forget to Assign points on SDN)

  • How to link the same horizontal page for two different vertical pages without duplicate them?

    Hey guys,
    Is there a way to link the same horizontal page on two different vertical pages without duplicate the horizontal page?
    I have a doublepage of a book splitted in two parts in different vertical pages but i want link the fullsized image in the horizontal page for both of them. Got that? hahaha
    Thank you all

    Confusing But interesing.
    I think it's possible. I have a idea. It will need one advanced trick.
    To explain it, I need test simply haha.

  • When I click on a link the new tab does not open chosen link, it opens a different link entirely

    This has been a problem for a month. Before that it was never an issue. If I do a web search, find what I want then click on that link the new tab that opens is the selected link--it is something else entirely. I like Firefox and want to continue using it as my browser but I am not having the problem with Chrome at all so I think it is something with Firefox settings and not my computer a virus of some kind...but then I don't know much about these things.

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • I have just upgraded from FF3 to FF8 Customized setting browser.link.open_newwindo.restriction 0 Popups triggered from searchable fields open in a new tab BUT they do not populate the originating field with selected results

    "Diabetes" in search box get choices 250 2504 check choice Hit confirm and search box should have a number 250
    Worked in FF3 not 8.

    Is that pref added by an extension?
    What happens if you right-click and reset that pref?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    * http://kb.mozillazine.org/browser.link.open_newwindow
    * http://kb.mozillazine.org/browser.link.open_newwindow.restriction (JavaScript window.open)

  • Hi Have problems with Firefox Aurora in terms of strange links in the text on different pages you visit. This occurs only on Firefox, not on other type internet

    Hi Have problems with Firefox Aurora in terms of strange links in the text on different pages you visit. This occurs only on Firefox, not on other type internet explorer. What could be wrong? Thorbjorn

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    You can also do a check for a rootkit infection with TDSSKiller.
    *http://support.kaspersky.com/viruses/solutions?qid=208280684
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How to compare two different characteristics at the same time in polestar

    Hi Gurus,
    I would like to analyse the e fashion universe in polestar with comparison of previous year product line with current year product line at the same time.
    is there any way to do that we can compare two years of the product line sales revenue at the same time with comparison chart like 2003 T shirts vs 2002 T shirts 
    in polestar we can compare the two measures at the same time but i want to compare the sales revenue of product lines of two years in a comparison chart at the same time.
    Regards and thanks
    Abid Paul

    Hi Stratos,
    I am actually able to compare the Measures  but i want the comparison between the two different characteristics like this year  productline  vs last year productline at the same time with say one measure like sales revenue or any other.
    Is it possible to compare the both and it should represent in the chart as well at the same time.
    In the polestar i can compare three measures at the same time but i want to compare characteristics like year  2009 productline VS 2008 productline with one measure say sales revenue.
    I would really appreciate if you could help me out.
    Regards and thanks
    Abid

  • HT201304 Can the restrictions pass code be different than the auto lock pass code?

    Can the restrictions pass code be different than the auto lock pass code. Defeats the purpose if a child can get into restrictions using the same code that is used to prevent unauthorized access to the phone itself.

    Dre73 wrote:
    Can the restrictions pass code be different than the auto lock pass code.
    Of course it can, for the reason you state.

Maybe you are looking for