Date Filter in BEx Query not applied to Webi Document

Hi
I have a simple BEx Query on 0MATERIAL - with Article (0MATERIAL) and Created On Date (0CREATEDON) characteristics in the Rows and 1ROWCOUNT key figure in the columns.
If I restrict the BEx Query on 0MATERIAL to a single value, only that particular record is returned when I run the query in WebI - which shows Article and Created On Date.
However, if I restrict the BEx Query to a specific 0CREATEDON date, the WebI report ignores this restriction and returns ALL records in the InfoProvider 0MATERIAL.
If I run the BEx Query in the web, only those records with the particular restricted date are returned, so why does the WebI report ignore the BEx Query date restriction?  Any ideas where I am going wrong?
Thanks
Anton

Hi Victor
Thanks for the reply.  It turns out even after refreshing the universe structure and exporting I had to shut down Webi and reopen it for the changes (date restriction) to take effect.
But thanks for the headsup on that bug/SAP note anyway - it is helpful to know.
Rgds
Anton

Similar Messages

  • Changes made in Bex query not refelecting in Webi reports BO 4.0

    Hello Every One,
    We have made changes in BeX query and these changes are not getting reflected in webi reports.
    - We try to edit the connections.
    - Recreated the new connections and point it the webi report.
    We are using BO4.0 patch 2.9.
    DO we have to made any setting in BICS or in CMC or there are any parameter need to tkae care while creating the OLAP connections. we are using SSO.
    Thanks in Advance.

    Hi,
    You shouldn't have to do a "change source" at data provider level, but confirming the object mappings again by repointing webi to the bex query should help.
    As i'm sure you know, we are delivering many corrections in this area, for example:
    If this concerns a Hierarchy change see ADAPT01607814   (P2.11)
    If it concerns change to prompt variables see ADAPT01609491   (P2.12)
    Here's the link to the readme for Patch2.12 (out today) https://websmp101.sap-ag.de/~sapidb/011000358700001362992011E
    Out of interest, what change did you make in the bex query specifically ?
    Regards,
    H
    Edited by: Henry Banks on Feb 17, 2012 10:01 AM

  • Error while trying to retrieve data from BW BEx query

    The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50.
    In BEx report there is a limitation but is it also a limitation in Webi report.
    Is there any other solution for this scenario where it is possible to retrieve more than 50 Characters?
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[3OD1RJNV2ZXI7XOC4CY9VXLZI], [Measures].[3P71KBWTVNGY9JTZP9FTP6RZ4], [Measures].[3OEAEUW2WTYJRE2TOD6IOFJF4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZHOST_ID2].[LEVEL01].MEMBERS, [ZHOST_ID3].[LEVEL01].MEMBERS ), [ZHOST_ID1].[LEVEL01].MEMBERS ), [ZREVENDDT__0CALDAY].[LEVEL01].MEMBERS ) ........................................................ failed to execute with the error Invalid MDX command with UNSUPPORTED: > 50 CHARACT.. (WIS 10901)

    Hi,
    That warning / error message will be coming from the MDX interface on the BW server.  It does not originate from BOBJ.
    This question would be better asked to support component BW-BEX-OT-MDX
    Similar discussion can be found using search: Limitation of Number of Objects used in Webi with SAP BW Universe as Source
    Regards,
    Henry

  • KM Document InfoProvider Data Assignment from BEx Query

    Hello,
    I am trying to create a document in a BEx query that applies to the combination of characteristics in the report but can be viewed by other queries on that same InfoProvider.  When I create the document, it is automatically assigned the InfoProvider name and Query name.  How do I change the default assignments for new documents so that it is query agnostic?  In the link below I'm trying to replicate the scenario "InfoProvider ABC"
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/5c3582b9065f6be10000000a1553f6/frameset.htm
    Thanks,
    Joe

    Still hoping for an answer.

  • Acrobat Pro 10 Actions Not Applying Fast Web View

    Acrobat Pro 10 actions are pretty useful overall, however they are not applying Fast Web View all the time. In my opinion, all PDFs generated today should be Fast Web View by default, but among the many applications which allow for PDF creation, not all apply Fast Web View for some reason.
    I did see http://forums.adobe.com/message/3335827for a potential band-aid fix. Unfortunately, it did not work for me.
    Here is the text from my Action sequence file:
    <</Commands [/c << /0 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /FlattenOCGs]
      /Params [/c <<>>]
      /Title [/t ()]
    >>]
    /1 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /ReduceFileSize]
      /Params [/c <<   /RFSCompatibility [/i 6]
    >>]
      /Title [/t (Reduce File Size)]
    >>]
    /2 [/c <<  /Config [/c <<   /UIPolicy [/i 3]
    >>]
      /HandlerName [/a /ExamineDocCmd]
      /Params [/c <<   /RmAnnots [/b false]
       /RmAttachments [/b false]
       /RmBookmarks [/b false]
       /RmDeletedContent [/b true]
       /RmFormFields [/b true]
       /RmHiddenLayers [/b true]
       /RmHiddenText [/b false]
       /RmLinksActionsJS [/b false]
       /RmMetadata [/b false]
       /RmOverlappingObjects [/b false]
       /RmSearchIndex [/b false]
    >>]
      /Title [/t (Remove Hidden Information)]
    >>]
    >>]
    /Input [/c << /FileVariation [/i 3]
    >>]
    /Output [/c << /AddToBaseName [/b false]
    /DontOverwrite [/b false]
    /EmbedIndex [/b false]
    /FileVariation [/i 2]
    /HandleOutput [/b true]
    /NumbericNaming [/b false]
    /OptimizePDF [/b true]
    /PresetName [/t (test2)]
    /RunPDFOptimizer [/b true]
    >>]
    >>
    As you can see, the "/OptimizePDF [/b true]" is set per the instructions in the aforementioned link. It still does not set Fast Web View all the time. I ran a test of the action on a batch of 10 PDFs, some were set to Fast Web View and some were not. While one of the PDFs that was not set to Fast Web View was open in Acrobat, I ran the same Action again and it did apply Fast Web View! I even installed the latest patch hoping that would fix it, but unfortunately it did not. Distiller does in fact set Fast Web View, but it won't work on PDFs. The only way I can find to guarantee the establishment of Fast Web View is to manually do a Save As on every file which I think is asking a bit much when you deal with hundreds of PDFs on any given day. Also that would effectively defeat the purpose of running an Action on hundreds of PDFs in the first place.
    Any ideas?

    There is a bug because of which fast web view is always disabled. While that is fixed, here the workaround. Save the action and open the .sequ file in Notepad. Change:
                    /OptimizePDF [/b false]
    to
                    /OptimizePDF [/b true]

  • Could not apply template to document?

    Hi Experts,
    When i am trying to apply template to my report ,I am getting error like this...
    "Could not apply template to document".
    Please solve this issue.
    Thanks in advance,
    A. Kavya kumari.

    Hi Kavya,
    Try to apply the predefined template in these methods
    In the menu bar goto Report-> Template Expert. A new dialog appears, choose any of the predefined template. If this doesn't work then apply manually by clicking on the Browse button in the same window.
    By default, the sample templates shipped with Crystal Reports are installed at
    \Program Files\Business Objects\Crystal Reports 12.0\Templates.
    If this also doesnt work, then your template files might be corrupted. Try reinstalling the software n check.
    --Praveen G

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • Bex Query not passing blank columns to crystal reports

    good morning ladies and gentleman,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. very good...
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up.
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    i have tried to create a formula that will add 1 to the hours sick field, then all the rows should have a amount in it. but, it still does not show the employees who do not have sick time.
    here is the sql query from crystal.
    SELECT {[Measures].[4J8L2TQJ3P517ISQ1R4Y8UZ36], [Measures].[4J9PY3UANRIW2HW15YSOED92A], [Measures].[4J9TLIO0NDQROSA2YONCW6HB6]}
    ON COLUMNS, 
    NON EMPTY
    CROSSJOIN([0EMPLOYEE].[LEVEL01].MEMBERS, [0EMPLOYEE__0COMP_CODE].[LEVEL01].MEMBERS)
    DIMENSION PROPERTIES [0EMPLOYEE].[50COMP_CODE], [0EMPLOYEE].[50MAST_CCTR] ON ROWS
    FROM [ZCATS_MC1/ZZCATS_MC1_Q001C]
    SAP VARIABLES [0I_DAYS] INCLUDING [0CALDAY].[20100502] : [0CALDAY].[20100903]
    this is kind of an emergency and i have been working on this for two days and cannot come to a resolution.
    if anyone can help, i would appreciate it.
    i am guessing that there is a option somewhere that will allow blank records to show.
    please help.
    thanks,
    erik

    miss stated the issue. created new note.

  • Bex Query not passing all rows to Crystal reports

    hello experts,
    i have created a bex query that shows all employees from the master data table and links to the cats table to show absence hours...
    in bex, all employees are showing and some of the employees have hours showing for sick time. this is known as a left outer join.
    i have created a report in crystal with this bex query and it does not show rows from the master data that do not have a link to the cats table. only the rows that have a link to the cats table are showing up. (this is compared to a inner join)
    the reason i need the master data from the employee table is that the users want to divide the total hours off(sick time) per department by the total employees in that department.
    here is the sql query from crystal that was created automatically when i used the bex query to created the crystal report.
    SELECT {Measures.4J8L2TQJ3P517ISQ1R4Y8UZ36, Measures.4J9PY3UANRIW2HW15YSOED92A, Measures.4J9TLIO0NDQROSA2YONCW6HB6}
    ON COLUMNS,
    NON EMPTY
    CROSSJOIN(0EMPLOYEE.LEVEL01.MEMBERS, 0EMPLOYEE__0COMP_CODE.LEVEL01.MEMBERS)
    DIMENSION PROPERTIES 0EMPLOYEE.50COMP_CODE, 0EMPLOYEE.50MAST_CCTR ON ROWS
    FROM ZCATS_MC1/ZZCATS_MC1_Q001C
    SAP VARIABLES 0I_DAYS INCLUDING 0CALDAY.20100502 : 0CALDAY.20100903
    i am using the mdx driver, and the integration kit is 2.8.
    any thoughts?
    thanks,
    erik

    Thanks Ingo for the quick response.
    this sounds like a limitation in the integration between bex and crystal because the query shows the correct data and the crystal reports does not. i have tried to add a calculated key figure to all the rows and put a number in it but it still does not show the rows in crystal.
    my issue is that they(the business users) want to know all the employees in the employee master data along with all the sick / illness data.
    do you have a suggestion for this issue?
    do you think that the mdx driver should be updated to allow master data to flow to crystal?
    thx,
    Erik

  • BEX Query not dispaying results

    Hi All,
    I think this week am hit with number of issues....as mentioned in my earlier posts am new to SAP BW and having issues.
    Issue:
    We have a BEx query and it is not displaying results(in Web report). Error is "could not find any records for the given selection......... "
    I have checked the Infocube for the given selection in Query and I can display the records where as it is not displaying at all in BEx query results.
    I have reactivated the cube to see whether the data flows through but it didn't work.
    I tried executing query using RSRT and it is not displaying any results.
    I have deleted data in the infocube and loaded it again and it didn't work
    Any help would be much appreciated.
    Cheers
    Sandeep

    Hi Akshay,
    No errors while executing query under RSRT.
    Yes we are using time variants and we have included fical variant under characteristic restrictions.
    Cheers
    sandeep

  • BEx query not shown in BO 4.0; BICS

    Hi,
    I have a sample BEx query designed in Query Designer 7.x; I would like to use this query with Web Intelligence of BO 4.0. However, the query is not being displayed.
    In CMC -> Authentication we have entered our SAP BW system and we are getting the roles imported. So the connection seems to work.
    In the query I have turned on the option "Allow External Access to this Query" (but I think this isn't necessary for BICS?).
    However, the query isn't displayed when creating a new WebI document based on BEx. Do I have to do some more steps?
    Thanks!
    Edit: I now created a new OLAP connection, our BO server can see the query and cube. But: I don't see this OLAP connection in Web Intelligence Rich Client. I am using the administrator login and have full access.
    Edited by: SteveXI on Sep 7, 2011 5:29 PM

    Hi,
    I have created 2 OLAP connection in CMC with SSO and Predefined. (does not work with prompt).
    I can see the list of queries from cube with predefined connection, but all are gredout!!. what could be the reason?
    With SSO connection i get following error -
    com.google.protobuf.UninitializedMessageException: Message missing required fields: bytesValue
    Any input is much appreciated.
    Thanks.
    Edited by: Rajan Patel on Oct 12, 2011 4:40 PM

  • Can we restrict changes made in BEx query not to resemble in Universe

    Hello Gurus,
    I have a question. Lets say if there is a universe created based on BEx query and if later on BEx query is changed (newly added Chars, KF's or change in names) can we restrict the changes not to resemble in Universe?
    Please give me any related document or link which will be a big favor for me.
    Thanks a lot for your time.

    Changes in the BEx query are not reflected always automatically in your universe: Eg. if you add an new restriction or a new keyfigure. You have to maunally refresh the structure of your universe and export it again on your BOBJ server.
    Some changes will be automatically available though eg. if you change the code of a customer exit variable which is already used in your BEx query, even if you do not refresh the universe.
    Please keep in mind that some kind of changes in the query (removing existing key figures or characteristics) may cause error messages when you try to run your universe (assuming you did not update it).
    The recommendation here is to refresh your universe when you change the underlying BEx query. If you do not want to do that then your universe may stop working.
    Regards,
    Stratos

  • BEx query not getting reflected correctly in OLAP workspace

    Hi,
    I have an OLAP workspace based on a BEx query. Everything works fine with BEx query and We can see the BEx report as required. But in OLAP workspace for one of the feilds (profit center), the workspace is coming with the Texts but not keys. Keys says Not Assigned everytime.
    BEx
    OLAP Workspace
    1990909099/Super Center
    #/Super Center
    871812788/Athlon
    #/Athlon
    We refreshed the connection couple of times and created new reports without any better results. Can anyone suggest a solution for this.
    Thanks
    Neo

    Hi,
    Yes,We're using standart template.
    This below  URL generated froum Query Designer.
    http://<hostname>:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=KSD_M01_Q006
    regards

  • Last GR Date in the Bex Query

    Hello Experts,
    I have one requirement in BW, where I need to get the last GR (Goods Receipt) date.
    In my query, I will be having 4 KEY Fields and 1 CHR Field
    CHR Field is “ 0MATERIAL
    KEY Field is  : Closing Stock Qty , Closging Stock Value, GR Value, and Last GR Date
    I am using 0PUR_C01 and 0IC_C03  info provider for this query. Now my concern is, how do i get the “Last GR Dates”.
    No matter to which date I execute the report, it should always shows the latest date on when we have done the last GR.
    For example.. I executed the query as on 31/Dec/2013.. But the last GR date should be let’s say 03/April/2014.
    Regards
    Sachin

    u can follow this document Posted by  AL , Provides Detail steps how to show latest Record based on Date .
    How to show First and Latest Record at BEx Level

  • Opendoc date range into Bex query

    We are having an issue when trying to pass a date range in an Opendoc link. The report is built off a BEx query,  within the report we have an Opendoc link into a child version of the report. I can pass all the other prompts with no issue except for one which is the date range.
    I am defining the date range as "[19000101]..[19000101]" but we keep getting this error message:
    Has anyone lese had this issue?
    Thanks

    Hi,
    Try This
    "[Date(2014,04,01)]..[Date(2014,04,11)]"
    "[Date(yyyy,MM,dd)]..[Date(yyyy,MM,dd)]"
    http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf#page=26
    http://<servername>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sID
    Type=CUID&sRefresh=Y&lsRTime+Period:=[2000..2004)
    http://<servername>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sID
    Type=CUID&sRefresh=Y&lsRparamStringDR=[h..i]&lsRparamNumberDR=[7..8]&lsRparamCurrencyDR=[3..4]&lsRparamDat
    eDR=[Date(2003,6,7)..Date(2003,6,8)]&lsRparamDateTimeDR=[DateTime(2003,6,1,7,1,1)..Date
    Time(2003,6,1,8,1,1)]&lsRparamTimeDR=[Time(1,1,7)..Time(1,1,8)]&lsRparamUnbound1=(..6)&lsRpara
    mUnbound2=[6..)&lsRparamStringR=[a..d]&lsRparamNumberR=[1..3]&lsRparamCurrencyR=[1..3]&lsRparam

Maybe you are looking for