Optional BEx query variables not working in WebI

Hi,
I have an Webi report based on Bex Query using BICS connection.
One characteristic is restricted with two variables. First an authorization variable and additional with an input ready variable.
This input ready variable is optional. When it comes up in webi and you choose a value it doesn't filter on it.
We are on BO 4.1. SP3 and BW 7.31.
With SAP_ALL the optional prompt is working, but for a user with limited access, the optional variable doesn't work.
I have already made a RSRT trace with a test user. But I'm not sure what's the problem.
Trace returned:
S_RS_AUTH  RC=4 -->  BIAUTH=0BI_ALL; type=RF;name=BICS_PROV_OPEN;
But I don't want to give the user 0BI_ALL, otherwise my analysis authorizations for this info object would be obsolete.
Any ideas?
Thx and Regards,
Katharina

Hi Neetika,
thank you for your advice!
I tried the filter without authorziation variable and it was working.
I in addition I tried another option: I defined auth variable as input ready and deleted filter variable and that would work working.
With this setting I recognized that for the authorization variable all allowed values are set as default values! If you execute query with SAP_ALL no default is set, but with limited access the allowed values are set as default.
This may be the problem here. I don't know if this behaviour is by design or if there is a problem with rights?
But now I know where the problem comes from.
Regards,
Katharina

Similar Messages

  • Bex Query is not working in portal

    Dear Experts,
    i have uploaded BI master role into portal, By default Bex Queries are assgined to Master Role. when I clcik on preview for particular Bex Query, it's working fine. but after assigning the master role to end user, that same Bex Query is not working. it's showing Below error..
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 05:22_18/08/10_0002_7116150
    Refer to the log file for details about this exception.
    please give me suggetions...
    Regards,
    VENU

    Hi Venu ,
    Can you please check the logs for details -  http(s):<host>:<port>/nwa . This may be a permissions issue . Check if the iview has read permission for everyone group and then test . Also post the error details here .
    Regards
    Mayank

  • Substitution Variables Not Working in Web Analysis

    <p>Our current month /current year (CMCY)substitution variables donot work in Web Analysis.  The variables are set up properlyon the Essbase server and work fine with the excel add-in. The prior month / current year (PMCY)sub variable does workin Web Analysis.  Does anyone know why web analysis is hit ormiss with sub variables?</p>

    There is a dedicated forum for SQL Developer related questions
    SQL Developer
    I should admit however, that query you have provided ( with substitution variables) works like a charme in my environment (SQL Developer 1.1.0.23 build 23.64)
    Best regards
    Maxim

  • BEx Fiscal Period variables not working in Webi

    Hello,
    We have an BEx user entry variable for Fiscal period, that works correctly in BEx. In the prompt LOV, I get values from year 2003 to 2013.
    When I run it in Webi, the LOV starts from year 0000 to 2040. Also there are 16 periods in a year, wheras the LOV displays 24 period, even after restricting on fiscal variant.
    Has anyone  successfully been able to make Webi work with BEx fiscal period variants?
    Thanks,
    Nikhil

    I created a universe objects with following in the
    "Select"
    [0P_FPER].[NAME]
    "Where" condition
    <FILTER KEY = "@Select(Fiscal year Period\LovPeriod_Fiscal Year)">
    <CONDITION OPERATORCONDITION = "Greater">
    <CONSTANT CAPTION = "AB1000001"/>
    </CONDITION></FILTER>
    When I create a report with this object, I get no data.
    I change the above to
    "Select"
    [0P_FPER].[NAME]
    "Where" condition
    <FILTER KEY = "@Select(Fiscal year Period\LovPeriod_Fiscal Year)">
    <CONDITION OPERATORCONDITION = "Less">
    <CONSTANT CAPTION = "AB1000001"/>
    </CONDITION></FILTER>
    I tried changing the CONSTANT CAPTION values, everytime "Less" works but "Greater" does not. Does "Greater" not work?

  • Search query variable not working

    Apologies for this essay but I felt it may be best if I include all the details in order to describe the issue I'm experiencing.
    I have two site collections in one web app called Library and Store respectively. The library site collection has a content type called Book which is made available to the Store site collection through the content type syndication. The Book content type
    has a site column in it called Book Author which is of managed metadata type (the term set has a few terms representing authors). The parent content type of the Book is the out of the box Article Page and the Store site collection has custom page layout associated
    with the Book content type.
    I then add a page and switch its page layout to my custom layout based on the Book content type and on the page, I put a content search web part. I have a managed property called BookAuthor which is mapped to the crawled property pointing at the Book Author
    field and this is where things start to go awry. The query I use in the content search web part looks something like this:
    ContentType:Book BookAuthor:{Page.Book Author}
    According to the documentation of the query variables and FQL (http://technet.microsoft.com/en-us/library/jj683123(v=office.15).aspx), this should return items that are of the Book content type where the BookAuthor is the value of the Book Author field on
    the current page that the content search web part resides on. In this case, my query returns no results. In order to test if it actually works, I manually typed in the value of the author for the BookAuthor property so it looked something like this:
    ContentType:Book BookAuthor:John Doe
    The second query returned the results I expected, but the first one didn't. I've come across a similar problem to  this and previously, I found out that SharePoint had duplicated the Book Author field in the content type such that one was named "Book
    Author" and the type showing was TaxonomyFIeldTypeMulti while the other one was named "Book Author_0" and the type showing was Note. I used the following powershell script to determine the names of the fields in the content type:
    $site = new-object Microsoft.SharePoint.SPSite("http://www.yousite.com/")
    $web = $site.OpenWeb()
    $list = $web.Lists["YourList"]
    $list.Fields | Format-Table Title, InternalName, TypeAsString
    Previously when I encountered this problem, I simply tried both fields and one would always work. For example, I would try BookAuthor:{Book Author} and BookAuthor{Book Author_0} and one of them would work. In this case, I've tried both and none of them seem
    to yield any results in my query. I noticed that I always seem to get duplicated fields only when I'm using columns of managed metadata type. I know my managed properties work because I can specify manual values and that yields the results I expect, but as
    soon as I try to use the query variable from the page fields, it doesn't work. Strangely enough, I can use the Title or any other non-managed metadata fields of the page in my query variable (e.g. {Page.Title}) and I can get results that way. I've done index
    resets and full crawls but nothing seems to fix this. Any help or insight on this would be greatly appreciated as it is driving me nuts!

    Hi,
    Please refer to the following post:
    Infoobject F4 help in the Query takes lot of time and hangs
    F4 Process takes a long time to show the values
    There are several SAP notes on performance improvement for F4 help as mentioned in the first post. You may refer to the SAP notes as well.
    Hope it helps,
    Thanks,
    Abhishek.

  • 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

  • Query Filters not working in webi report.

    Hi all,
    I have a bex query where i have some filters on Key figures but when i run that query on webi report i dont get exact data as in bex...
    There are no other filters i have applied in webi, but i am not able to see the exact data..?
    what may be the issue....

    Thanks for the earliest reply.......
    I am using Business object XI 3.1 SP 1 FP 0.882.
    In webi i can see all the values i.e I have applied filter on key figure TARGET GI QUANITY which brings only that quantity which has missing parts.
    But i get all the quantity in my webi report.
    so what can be the issuse....?

  • Search option for a variable not working in BEX

    Hi Experts,
    I have a variable on selection screen "Sold to". I am not able to do a search on this for "texts". For keys i am able to do. Is there any reason? Please suggest.
    Thanks & Regards,
    Vijaya

    Hi Vijaya,
    Check in BEx tab of sold to..which text(short, medium, long) are you using in BEx.
    Check if the selected format of text is loaded in Sold to text master data table...
    Check if you have created characteristic value variable...
    Hope it helps,
    Best regards,
    Sunmit.

  • Exit variable not working in web URGENT

    Hello Gurus,
      I have a exit variable off fiscper.  If I execute the report containing this variable in rsrt, rsrt2 or excel it works fine.  When I click the execute in web from query designer it returns '#' every time.  I tried logging out and everything.  Any advice?
    Forgot to add.  I have a 2004s backend and 3.x front end.
    Message was edited by:
            MG

    Take a look at SAP Notes 1026143 and/or 1073652. These describe symptoms similar to yours.
    Hope this helps...
    Bob

  • Bex Query variants not working

    Hello Experts,
    I have a unique problem with one of my queries, the query variants which are created before Nov 1 are not fetching any vaules instead it gives a message MAKE ENTRY IN ALL THE FIELDS......
    the variants which are created in Nov are working fine.....we have not done any upgrade....
    does anyone faced this kind of problem? what needs to done to get back the variant values in the selection screen.
    Any help is highly appreciated.
    Regards

    Was there a change to an InfoObject that is in the InfoProvider that is also one of the query input options?
    e.g. IO ZHARA used to be defeined as a Char with a length of 4, but was changed after Nov 1 to Char, length of 8.
    If you change an IO like this that is in the variant, that will render the variant unusable.
    There is a program that checks for variants that have been broken like this, and another that you enter the query's technical name and it repairs the variant.
    Try a search on SDN for something like "query variant program".  I'll post the program names after I get back in the office tomorrow.

  • WebI Prompts using BEx Query Variables

    Hello,
    I have the following issues with WebI report selection input paramaters (prompts) that use BW BEx Query variables. Could anyone please assist?
    Issue 1:
    The WebI report has one mandatory and two optional input paramaters (all paramaters from BW BEx Query). When I execute the report via WebI rich client directly, enter the value for mandatory input parameter and leave blanks for both optional input parameters, the report ran OK and has no issue. However, when I ran it through CMC a strange thing happen: I could not select the value for mandatory input paramater as it requires to have values for both optional input paramaters first (which I wish to have them blank and optional). When I refersh values for the mandatory paramater, it says "List of Values for current prompt requires values for following prompts:...(ie. the two optional parameters).
    Anyone has any idea - it seems like it is a CMC issue for the WebI...
    Issue 2:
    Take the same WebI report above, the issue here is the order sequence of the prompts (ie. the selection input parameters). How can we change/control the sequence of the prompts? Whatever sequence of the varaiables (input paramters) in BW BEx Query, the WebI ignores it. Please advise.
    Thanks & Regards,
    Andy

    I did not see separate thread for issue #1, therefore I'll us this thread.
    I am running into similar issue when I get an error message ''List of Values for current prompt requires values for following prompts: <Name of the prompt>".
    We are using BO V4, SP2, Patch 10 with SAP BW as DB via BEx queries.
    I opened support ticket for this issue since obviousely it's still an issue after applying patch 10.
    It's not an issue when 'Rich Internet Application' option is selected to view report in 'Reading' mode (via Launchpad Preferences then Web Inteligence; defautl value for viewing is 'Web').
    I have not tried to use Client tools but even if it works with Client tools - it is not a solution for us. Our company does not plan to install client tools on end user computers.
    Bigger issue us is that report scheduling invokes Web version (not Rich Internet Application). Therefore we cannot schedule report that is giving us problem described. I tried scheduling report from Launchpad and from CMC and both game me error highlighted.

  • Dynamic filtering with BEx query variables in WebI 3.1

    Hi experts.
    Can anybody help me ?
    1) I use BEx query variables in WebI 3.1 .  But i can't understand how to order fields of selection screen in WebI reports
    2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
        It's need that  list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
        Need i use BEx user-exit variables ?
    Thank you

    Hi,
    1)  Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv  (this enhancement exists in 4.0 )
    2)  Dynamic filtering?  Yes, Exit routines are the best way to go for this.
    Regards,
    H

  • LOVs not working in Webi Report for SAP BO 4.1 SP 2 Patch 3

    Hello ,
    I have developed reports and universes in SAP BO 4.0 SP 5 and i have migrated those reports to higher version of BO which is 4.1 SP2 Patch 3.
    My universe is working fine with LOVs but when i run the webi report , the LOVs arent working.
    have anyone facing the same issue. any idea why the LOVs arent working on higher version.?

    Hi Victor,
    The List of values we will assign in universe in order to get filtered data works on universe query panel
    but the same objects when i am using in report(webi report) , the List of values are not working .i.e
    they are not getting displayed in webi report.
    for ex: i have country object having country names as LOVs and state objects having state names as LOVs . Now when i select Country value , the LOVs of state objects should get filtered and shows only states which belongs to country .
    the above logic is not working in webi report , i am only able to select country and when i go for state, the state names do not get filtered.
    please let me know why this is happening in the SP2 patch 3 version and its working fine for SP2  , but the chrome issue gets solved after applying patch 3 and not if we only upgrade to SP2.
    the webi reports are not working in chrome browser if we using SAP B04.1 SP2 and lower version
    but the LOVs are not working in SAP BO 4.1 SP 2 patch 1, 2,3.
    kindly help me with the issue

  • Temporary Table In SAP Query - Does not Work?

    DECLARE @date DATE
    DECLARE @delrows INT
    DECLARE @delquan INT
    DECLARE @a INT
    DECLARE @recrows INT
    DECLARE @recquan INT
    SET @a=0
    IF OBJECT_ID('tempdb..##tab) IS NOT NULL DROP TABLE ##tab
    CREATE TABLE ##tab
    [Date] date,
    [Delivery Rows] varchar(40),
    [Delivery Total Units] varchar(40),
    [Receipts Rows] varchar(40),
    [Receipts Total Units] varchar(40),
    WHILE @a!=7
         BEGIN
         SET @date=DATEADD(day,-@a, getdate())
         SELECT @delrows=ISNULL(COUNT(DLN1.[LineNum]),0), @delquan=ISNULL(SUM(DLN1.[Quantity]),0)
         FROM ODLN
         INNER JOIN DLN1 ON ODLN.[DocEntry]=DLN1.[DocEntry]
         WHERE ODLN.[CreateDate] = @date
         SELECT @recrows=ISNULL(COUNT(PCH1.[LineNum]),0) , @recquan=ISNULL(SUM(PCH1.[Quantity]),0)
         FROM OPCH
         INNER JOIN PCH1 ON OPCH.[DocEntry]=PCH1.[DocEntry]
         WHERE OPCH.[DocDate]=@date
         SET @a=@a+1
              INSERT INTO ##tab VALUES(@date,@delrows,@delquan,@recrows,@recquan)
    END
    SELECT * FROM ##tab
    {/code}
    Can anyone explain why this query does not work in SAP? It works fine on SQL but gives me this message in SAP:
    1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near ')'.
    2). [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement 'Service Contracts' (OCTR) (s) could not be prepared.
    Edited by: Chris Candido on Feb 2, 2011 8:38 PM

    Chris,
    There are several areas in your code which needed changes. 
    1. On the field name for your temp table you had spaces.
    2. The SAP table name ODLN, OPCH, PCH1 had to be fully referenced like
    [dbo].[ODLN]
    3. You really need not have ## in front of your temp table, it could just be #
    The select at the end is actually what causes the most problem as for some reason from within SAP it does not produce the result.  I would suggest you put the whole code into a Stored Procedure and call the SP from SAP.  Corrected SQL below.  If you remove the Select line at the end the query would work with in SAP, but keep it give give you an error. SP is the best option for this.
    DECLARE @date DATE
    DECLARE @delrows INT
    DECLARE @delquan INT
    DECLARE @a INT
    DECLARE @recrows INT
    DECLARE @recquan INT
    SET @a=0
    IF object_id('tempdb..#tab') IS NOT NULL
    BEGIN
       DROP TABLE #tab
    END
    CREATE TABLE #tab
    [Date] date,
    DeliveryRows varchar(40),
    DeliveryTotalUnits varchar(40),
    ReceiptsRows varchar(40),
    ReceiptsTotalUnits varchar(40),
    WHILE @a!=7
    BEGIN
    SET @date=DATEADD(day,-@a, getdate())
    SELECT @delrows=ISNULL(COUNT(DLN1.LineNum),0), @delquan=ISNULL(SUM(DLN1.Quantity),0)
    FROM [dbo].[ODLN]
    INNER JOIN DLN1 ON [dbo].[ODLN].DocEntry=DLN1.DocEntry
    WHERE [dbo].[ODLN].CreateDate = @date
    SELECT @recrows=ISNULL(COUNT([dbo].[PCH1].LineNum),0) , @recquan=ISNULL(SUM([dbo].[PCH1].Quantity),0)
    FROM [dbo].[OPCH]
    INNER JOIN [dbo].[PCH1] ON [dbo].[OPCH].DocEntry=[dbo].[PCH1].DocEntry
    WHERE [dbo].[OPCH].DocDate=@date
    SET @a=@a+1
    INSERT INTO #tab VALUES(@date,@delrows,@delquan,@recrows,@recquan)
    END
    SELECT * FROM #tab
    Suda Sampath

  • (Substitution Variables) not working in "SQL Developer" Environment !!!!!!!

    this photo illustrate how that (Substitution Variables) not working in "SQL Developer" Environment :-
    http://www.imagehosting.com/show.php/1555180_ddddd.PNG.html
    any solve for this problem ?????!!!!!!!!!!

    There is a dedicated forum for SQL Developer related questions
    SQL Developer
    I should admit however, that query you have provided ( with substitution variables) works like a charme in my environment (SQL Developer 1.1.0.23 build 23.64)
    Best regards
    Maxim

Maybe you are looking for

  • Auto login and password problems with Safari after OS 7.0.4 update?

    Hi all,    I updated my IPad 4 to OS 7.0.4 , now Safari won't auto login to my favorite forums and won't remember my user names or pass words. I checked in Safari settings and Names/passwords and auto fill are on. Have restarted a number of times but

  • What is the difference b/w ALV Function Module and ALV Methods?

    Hello Friends,       Can anybody help me in finding out the difference between ALV Function Modules and ALV methods? Thanks & Regards Sathish Kumar

  • Workspace Startup Option shows only None

    Hi All, I have just installed epm 11.1.2.3. We are using Foundation, Planning, Essbase and Workspace only. After the successful configuration, in Workspace, under Manage Preferences and within the Default Startup Options drop down box i can see only

  • Auto Stop for Applications

    Essbase supports the Auto Logoff for users depending on inactive time. I'm looking for a kind of "Auto Stop" for Applications depending on 'non usage time': e.g. if a started Application has not been used for let's say 60 minutes, it shall be stopped

  • AICC reporting need help

    I have about 24 captivate swf files. I need them to report back to Saba, it is AICC output. First can multiple "movies" report back to the same quiz objective ID Second how do you create the csf file. I have reviewed the http://sdc.shockwave.com/devn