OBIEE filter/criteria limit for AND/OR operations for a report

Hi
We have a report that has around twenty "OR" criterias and ten "AND" criterias. All the filters are logically correct but report is returning invalid data. However if we reduce some filters then report works fine.
Any ideas of increasing filters limit for a report or reason of the issue.
Umer

Thanks Chaknor,
The report i created would not result any error code/msg.
The only reason i put question here is:
My report has around 50 predicates and is returning data without any respect of the predicates i have applied. However if i reduce some predicates (says reduce them to 20) then my report results correct data.
For the time i tried a work around and created two reports using half of the predicates in one and half in two. but i need everything in one single report.
The most important thing is that when i execute report with 50 predicates, the query i get in NQquery log omits many predicates.
Following is what i get in NQquery log
After removing half of the filters from the report the where clause from the log is given below;
WHERE ( t120650.patient_seq_num = t120867.patient_seq_num
AND t120585.location_seq_num = t120738.location_seq_num
AND t120585.visit_seq_num = t120650.visit_seq_num
AND t120585.provider_seq_num = t120767.provider_seq_num
AND t120650.procedure_seq_num = t121446.procedure_seq_num
AND t120738.practice = 'MSP'
AND t120800.plan_category = 'CORNEL IPA'
AND CASE
WHEN t120650.charge_seq_num = t120650.parent_seq_num
THEN 'NO'
ELSE 'YES'
END = 'NO'
AND t120767.provider <> 'SANDH,OLD'
AND t120767.provider <> 'GRANSR,OLD'
AND t120767.provider <> 'GRANATO,SR'
AND t120767.provider <> 'SANDHAUS,J'
AND t120767.provider <> 'AARONS,OLD'
AND t120767.provider <> 'DYBNER,OLD'
AND t120767.provider <> 'GRANJR,OLD'
AND t120767.provider <> 'AAR-DYBNER'
AND t120767.provider <> 'SUBIETAS,A'
AND t120767.provider <> 'TILLEM,OLD'
AND t120767.provider <> 'WEBER,OLD'
AND t120767.provider <> 'WOLGEL,C'
AND (t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'HIPNY', 'NYBCEMP')
AND ( t120800.insurance IN ('AETNA', 'HIPNY')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
AND ( t120800.insurance IN ('HIPNY')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
'WEBER,M')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
AND ( t120800.insurance IN
('ACSHEALTHN', 'CIGNA', 'HIPNY', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
'WEBER,M')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
AND ( t120767.provider IN
('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
'WEBER,M')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN
('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
AND ( t120767.provider IN
('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
'WEBER,M')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN ('DYBNER,R')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN
('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
AND ( t120767.provider IN ('AARONSON')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('AARONSON')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('AARONSON')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('DYBNER,R')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('DYBNER,R')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('AARONSON')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('DYBNER,R')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN
('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN
('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
OR t120800.insurance IN
('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
OR t120800.insurance IN ('AETNA')
OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
AND t120767.provider <> 'WOLGEL,OLD'
However when we increase the filters the where clause is truncated to;
WHERE ( t120650.patient_seq_num = t120867.patient_seq_num
AND t120585.location_seq_num = t120738.location_seq_num
AND t120585.visit_seq_num = t120650.visit_seq_num
AND t120585.provider_seq_num = t120767.provider_seq_num
AND t120650.procedure_seq_num = t121446.procedure_seq_num
AND t120738.practice = 'MSP'
AND t120800.plan_category = 'CORNEL IPA'
AND CASE
WHEN t120650.charge_seq_num = t120650.parent_seq_num
THEN 'NO'
ELSE 'YES'
END = 'NO'
AND t120767.provider <> 'SANDH,OLD'
AND t120767.provider <> 'GRANSR,OLD'
AND t120767.provider <> 'GRANATO,SR'
AND t120767.provider <> 'SANDHAUS,J'
AND t120767.provider <> 'AARONS,OLD'
AND t120767.provider <> 'DYBNER,OLD'
AND t120767.provider <> 'GRANJR,OLD'
AND t120767.provider <> 'AAR-DYBNER'
AND t120767.provider <> 'SUBIETAS,A'
AND t120767.provider <> 'TILLEM,OLD'
AND t120767.provider <> 'WEBER,OLD'
AND t120767.provider <> 'WOLGEL,C'
Need help !

Similar Messages

  • Query retrieval limit for discoverer reports in oracle applications

    Hi,
    I would like to set the query retrieval limit for discoverer reports in oracle applications. Can i have the steps for the same?
    Cheers
    Maytas

    Hi Maytas
    As Michael said the query retrieval limit can be defined by Discoverer Administrator
    like :
    - Discoverer Administrator >> Tools >> Privilege >> Select the user that will see the workbook >> Query Governor tab and there you setup the query retrieval limit.
    Note:
    Normally if you defined the limit for the user via Discoverer Administrator it should work but i saw that this was not happened in my case when i open Viewer so i entered with my eul owner on Discoverer Plus and defined the limit for all the workbooks
    Tools >> Options >> Query Governor >> Limit Query retrieved data to
    Regards,
    Dani

  • Set Filter Criteria Fields for ALV

    Hi everyone!
    Is there a way in ALV that you can set the filtering criteria fields for your ALV report, but not the field values itself?
    To be more clear (I hope), When you run the ALV report, it initially shows you the entire report, but when you click on the FILTER button, there are already pre-selected fields for the filter criteria.
    Thanks a lot.. points for any useful answer.

    Hi,
    Yes you can do with Layout button in the application tool bar.
    First filter out the columns and save it with name.
    Everytime you execute the program,click the layout button and select the layout variant .
    regards,
    Maha

  • Display Filter box automatically for Interactive Reports

    Hi,
    I have a page which uses an Interactive Report and I would like to automacially display the filter box on the screen when the page is loaded. Does anyone know how to do that?
    Regards
    Paul

    Hi,
    The IR Search bar is displayed and the user then can click the down arrow next to the green cog which displays opitions such as Filter, Sort, Save Report etc. If they click Filter the Filter box is displayed where the user can then select the column, operator and expression they would like to filter on.
    I want to display this Filter box automatically when the page is loaded. The javascript being called to display that box is 'gReport.controls.filter();'. I must be able to add that on my page somewhere when it is loading. If I do it ONLOAD or in the header or footer i get 'gReport is undefined'. If I create a button and call that javascript it works.
    Regards
    Paul

  • Retrieving sort and filter criteria for interactive report

    I have developed a test management system in APEX. Users log in and see an interactive report with their assignments. Each test they've been assigned occupies one row.
    There is an "Execute" link for each row that takes the user to the test execution page, where they can see the input steps / expected results and report the test passing or failing.
    I've implemented "Next >" and "< Previous" buttons on the execution page, so the user can immediately go forwards or backwards in his assigned tests without having to return to the assignments page and click the Execute link on the next or previous row.
    The test execution page figures out what the next and previous assigned test is using the LAG and LEAD functions, like this:
    lag(assignment_id) over (order by ref_num_full) prev_id,
    lead(assignment_id) over (order by ref_num_full) next_id
    Notice that I've "hardcoded" the over clause to be the reference number of the test.
    The problem here - this solution ignores any custom sorts or filters the user has put in place on the assignments (interactive) report.
    Is there a way I can "grab" the interactive report (1) sort criteria and (2) filter criteria dynamically? I'm thinking I could then use dynamic SQL to build an OVER clause used in the lag/lead calls so that the application now follows whatever sort and/or filter criteria the user has put in place.
    Any help is greatly appreciated...thanks!!

    Thanks WTine!
    I took a look and determined
    - I can get the sort criteria from the APEX_APPLICATION_PAGE_IR_RPT view (SORT_COLUMN_# and SORT_DIRECTION_# columns)
    - I can get the filter criteria from the APEX_APPLICATION_PAGE_IR_COND view
    Regards, Rich

  • How to set filter criteria for month and year using in timestamp input field?

    Hi,
    I am using jdev 11.1.2.3,
    I have one problem with Report generation,,,,,,I have one report table which is in the form of VO(query based) and i want to search this table as month and year basis
    but in this table(query) that field having timestamp based value.. how to search with month name and year only.. Here i am using totally query base VO's for generating
    reports........ Can any one guide me.
    Thank You.

    You can use a inputdate, which allows you to selecte a moth, year and a day. Once the selection is made you convert it to only allow moth and date like
            <af:inputDate label="Label 1" id="id1" autoSubmit="true" value="#{bindings.myMonthYear1.inputValue}">
              <f:convertDateTime pattern="MM/yyyy"/> 
            </af:inputDate>
            <af:outputText value="Selected #{bindings.myMonthYear1.inputValue}" id="ot1" partialTriggers="id1"/>
    then you have a string holding month and year only. This value you split into two variables you or pass it as a whole parameter to the query and split it there.
    Another way is to add two static lovs one for month and one for year and use them to get to the filter values.
    Timo

  • Filter Criteria in Value Help for InfoObject

    Hi,
    Is it possible to remove the value from Filter Criteria. When I use F4 for a Field (in Screen) , its showing a poup window (Value Help for Info Object) with some personal values. When I click "More Values" option its showing the General Value List, where I can see the Filter Criteria. When I click "Show Filter Criteria", its showing the Criteria with a Value (This value is coming from the field(Screen) from where I am coming). is it possible to avoid of passing value from my screen field to Filter Criteria ?
    Thanks
    Srinivas

    Murugan,
    I really hope that the moderator do not remove my points for this!
    WebDynpro ABAP Select-Options and OVS Help.
    How to Achieve OVS Search Help in Select Option in Web Dynpro ABAP
    How to Use OVS Help For Multiple Input Fields in Select-Options.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707f0d73-94f0-2d10-97a2-a3776e2118d8?QuickLink=index&…
    Using Select Options in a Web Dynpro(ABAP) Application
    Regards,
    Ashvin

  • Set filter criteria on page 1 for page 2 OData model - "best practice"?

    Hello, I have a problem with an app - where I want to filter data on a second page, based on settings from the first page. I use an OData model.
    The collections on both pages are not related in terms of "navigation" properties, that is my problem and I can not change the data source...
    So I am looking for ideas/best practices to solve this because sometimes my filtering doesn't work... the following problem occurred: Request aborted
    I have a page with a sap.m List with items="{/tabWorkPlace}" and and a local JSON model where I store relevant data during the app lifecycle.
    handleListSelect - first page
    var context = evt.getParameter("listItem").getBindingContext();
    var dataModel = sap.ui.getCore().getModel("dataModel");
    var workplace = context.getProperty("WORKPLACE_ID");
    dataModel.setProperty("/WORKPLACE_ID", workplace);
    this.nav.to("SubMaster", context);
    The general App.controller.js handles the nav.to function:
    var app = this.getView().app;
    var page = app.getPage(pageId);
    if(pageId == "secondPage") {
         page.getController().filterData();
    And the controller of the second page:
    filterData: function() {
    var oModel = sap.ui.getCore().getModel("odata");
    var dataModel = sap.ui.getCore().getModel("dataModel");
    var workplace = dataModel.getProperty("/WORKPLACE_ID");
    var items = this.getView().byId("list");
    var oFilter=new sap.ui.model.Filter("WORKPLACE_ID",sap.ui.model.FilterOperator.EQ,workplace);
    items.getBinding("items").filter(oFilter);
    I don't write this code into the onInit() or beforeRendering() function, because they are called only once and I am navigating back and forth between the two pages, because the pages are created only once and "just" the data is changed.
    The desired page looks like this - with an other collection bound to it:
    <List
      id="list"
      select="handleListSelect"
      items="{/tabWorkstep_Status}"
    >
    But when I call it - then the request gets aborted:
    The following problem occurred: Request aborted
    But despite the fact the Request is aborted, the list on the second page is filtered!
    The filter criteria for the model works when I type it into the browser with URL. Maybe this fails because the data binding for the list didn't took place at this phase?
    I have this pattern (filter criteria on one page and result on the second page) more times - (and I think a better data model would be better with navigation properties would be better, but I cannot change it)
    But at another constellation the filtering doesn't work - same error... the following problem occurred: Request aborted
    I also don't want to change the pattern (page 1 to page 2) into popup lists or this fancy new filtering possibilities because it is not suitable for my use case.
    Is there maybe a more elegant solution - because sometimes filtering works, sometimes don't..., do I have an error in my solution (general approach)?
    Many thanks for any input!
    BR,
    Denise

    Hello, yeah you are right, but it works without the odata> stuff because of this in App.controller.js:
    var uri = "http://localhost:32006/JsonOdataService.svc";
    var oModelMS = new sap.ui.model.odata.ODataModel(uri);
    sap.ui.getCore().setModel(oModelMS, "odata");
    oView.setModel(oModelMS);
    So my question is - how to navigate from one page to another - and on the other page first bind a collection to a select and then when selecting bind certain elements (a textfield) to the selected filtered entity.
    The stuff with context and binding won't work, because the two Collections don't have a navigation/association property between them...
    So for example:
    page1
    select a list item with property color: red and year 1985. Press one of the buttons and pass this criteria to another page.
    page 2:
    show a dropdown box with all car names which fullfill this criteria, and when one car is selected, then display the data for THIS car in several text fields.
    This is not a master->detail navigation example, because on page 1 i select certain criterias, and then with buttons I navigate to several pages with those criterias.
    But since the OData model has no relationships it is really hard to do it manually... With a dummy mock.json like in DJ Adams Fiori like SAPUI5 apps it is no problem... But with OData and no things related to each other it is hard...

  • GWI: Add new filter criteria for replication object BUPA_MAIN

    Hello,
    we are currently setting up Groupware Integration with CRM 7.0 and Outlook Exchange 2007. We would like to filter the BPs that are replicated to Outlook's public folder. The replication object BUPA_MAIN in Tx. SMOEAC has only got the following criteria fields:
    BPARTNER
    CENTRALARCHIVINGFLAG
    COUNTRYISO
    INDUSTRY
    IS_COMPETITOR
    IS_CONSUMER
    IS_CUSTOMER
    IS_DELETED
    IS_PROSPECT
    PARTNEREXTERNAL
    REGION
    SEARCHTERM1
    SEARCHTERM2
    SITE_ID
    We don't want to use any of those but would like to set a filter on BP Role and filter for all Groupware Employees. Only those should be replicated.
    We did set the filter conditions in customizing under "Filter Condition for Business Partners Exchange with Groupware" in order to replicate only BP with role GWEMP but still during Initial Load all Business Partners were replicated.
    Could anyone tell me how to avoid this?
    I hear it's possible to add new criteria fields to the replication object BUPA_MAIN.
    Could anyone tell me how this is done?
    Your help will be much appreciated.
    Thanks in advance!
    Angela

    Hello Angela
    Usually the settings under "Filter Condition for Business Partners Exchange with Groupware" should be enough to avoid the synchronization. With those settings all BP are filtered out except the ones with role GWEMP (Groupware Employee).
    We have the following setting in SPRO:
    BUPA     1     BUP001           X     X     
    BUPA     1     BUP003           X     X     
    BUPA     2        X     X
    BUPA     3                     X     X
    (first column empty, second and third column with X, last column empty).
    Regards
    Marco

  • TOP LIMIT FOR "OR" SEARCH IN METADATA FILTER

    Would anyone know the top limit for an "OR" search in the Metadata Filter.  Like if you are searching with keywords, how many keywords can you choose in the same column?  Could it be 20?  50?  I have an iMac with Mountain Lion 10.8.4 and Lightroom 5.
    Thank You For Any Help,
    Thank You,
    Sandy

    I agree with dj_paige.  I just did a quick experiment with a catalog containing 627 keywords:  In the Metadata browser, I added a Keyword column and selected all 627 keywords.  The same number of photos were displayed as when no keywords were selected, which is the expected result.

  • Get PO Approval limit for Approver and substitute

    Hello all,
    Description:
    When an approver assigns a substitute for approval, the PO Value Limit (HRP5503-LIMIT) for the position needs to be equal to or greater than that of the approver.  If this is not true, then an error message saying u201CSubstitute has insufficient signing authorityu201D should be returned to the user upon adding the substitute.
    Logic can be found in SAP program LBW02F01 (include)
    under routine FORM / D1328_FIND_DEPUTIES
    Here i need to fetch the PO approver details and substitute detaiils.
    Please let me know about this.
    Thanks in advance

    Substitution is for the total inbox ... 
    I don't think it can be done only for Purchase Order or Shopping Cart or What ever it is...
    You can use the Implicit Enhacement Operation to add code to the standard sap code...
    Try to re-use the following code and get the value limit from the Business Object BUS4101.
    "swc_create_object req_user 'BUS4101' sy-uname.
    swc_get_property req_user 'ApprovalLimit' lv_calimit-approval_limit.
    swc_get_property req_user 'ApprovalCurrency' lv_calimit-currency."
    FORM / D1328_FIND_DEPUTIES -- In this, "gt_deputies" is the standard table used by SAP in the code which stores all the substitute uses..
    You need to delete the user entries who are having value limit less than the approver user in the "gt_deputies".
    I have done the same for one of my requirements.. but it was not specific for only PO.
    Regards,
    PR.

  • Confusion in FILTER and SORT operations in the execution plan

    Hi
    I have been working on tuning of a sql query:
    SELECT SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), 0)),
           SUM(DECODE(CR_FLG, 'C', 1, 0)),
           SUM(DECODE(CR_FLG, 'R', NVL(TOT_AMT, 0), 0)),
           SUM(DECODE(CR_FLG, 'R', 1, 0)),
           SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), -1 * NVL(TOT_AMT, 0))),
           SUM(1)
         FROM TS_TEST
        WHERE SMY_DT BETWEEN TO_DATE(:1, 'DD-MM-YYYY') AND
           TO_DATE(:1, 'DD-MM-YYYY');Table TS_TEST is range partitioned on smy_dt and there is an index on smy_dt column. Explain plan of the query is:
    SQL> explain plan for  SELECT SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), 0)),
      2         SUM(DECODE(CR_FLG, 'C', 1, 0)),
      3         SUM(DECODE(CR_FLG, 'R', NVL(TOT_AMT, 0), 0)),
      4         SUM(DECODE(CR_FLG, 'R', 1, 0)),
      5         SUM(DECODE(CR_FLG, 'C', NVL(TOT_AMT, 0), -1 * NVL(TOT_AMT, 0))),
      6         SUM(1)
      7    FROM TS_TEST
      8   WHERE SMY_DT BETWEEN TO_DATE(:1, 'DD-MM-YYYY') AND
      9         TO_DATE(:1, 'DD-MM-YYYY');
    Explained.
    SQL> @E
    PLAN_TABLE_OUTPUT
    Plan hash value: 766961720
    | Id  | Operation                            | Name                | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                     |                     |     1 |    14 | 15614   (1)| 00:03:08 |       |       |
    |   1 |  SORT AGGREGATE                      |                     |     1 |    14 |            |             |       |       |
    |*  2 |   FILTER                             |                     |       |       |            |          |       |       |
    |   3 |    TABLE ACCESS BY GLOBAL INDEX ROWID| T_TEST             | 79772 |  1090K| 15614   (1)| 00:03:08 | ROWID | ROWID |
    |*  4 |     INDEX RANGE SCAN                 | I_SMY_DT         |   143K|       |   442   (1)| 00:00:06 |       |       |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE(:1,'DD-MM-YYYY')<=TO_DATE(:1,'DD-MM-YYYY'))
       4 - access("SMY_DT">=TO_DATE(:1,'DD-MM-YYYY') AND "SMY_DT"<=TO_DATE(:1,'DD-MM-YYYY'))
    17 rows selected.
    SQL>I am not able to understand the FILTER & SORT operations. As there is an index on SMY_DT column, so index range scan is fine. But why a FILTER (Step no 2) and SORT (Step no 1) operation after that ?
    Oracle version is 10.2.0.3 on AIX 5.3 64 bit.
    Any other information required please let me know.
    Regards,
    Amardeep Sidhu

    Sort aggregate tells you that there was performed an aggregate operation which returns one row, in opposite to sort order by or hash group by which indicates you have grouping, and there more than one row can be returned.
    SQL> SELECT SUM(comm) FROM emp;
    SUM(COMM)
          2200
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT AVG(comm) FROM emp;
    AVG(COMM)
           550
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT MIN(comm) FROM emp;
    MIN(COMM)
             0
    Plan wykonywania
    Plan hash value: 2083865914
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     3   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE    |      |     1 |     2 |            |          |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    28 |     3   (0)| 00:00:01 |
    SQL> SELECT deptno, SUM(comm) FROM emp GROUP BY deptno;
        DEPTNO  SUM(COMM)
            30       2200
            20
            10
    Plan wykonywania
    Plan hash value: 4067220884
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     3 |    15 |     4  (25)| 00:00:01 |
    |   1 |  HASH GROUP BY     |      |     3 |    15 |     4  (25)| 00:00:01 |
    |   2 |   TABLE ACCESS FULL| EMP  |    14 |    70 |     3   (0)| 00:00:01 |
    SQL>Edited by: Łukasz Mastalerz on Jan 14, 2009 11:41 AM

  • CRM 7.0 = ECC 6.0 Upload: Filter criteria for BUPA_MAIN

    Dear Experts,
    concerning filtering of BUPA_MAIN in CRM 7.0 => ECC 6.0 Upload we have already learned from SAP (to our surprise) that the only way is to redefine publication BUPA_MAIN as "simple intelligent" (Standard is simple bulk). BUPA_MAIN as "simple intelligent" offers a couple of fields (e.g. partner_no, is_customer) which can be defined as filter criteria.
    We have the requirement to filter by a bp status field which is not part of this set. By the way, we expected the filtering in object management (TX R3AC1, filters are only valid for ECC=>CRM Dowload) or at least in the TX CRMC_BUT_CALL_FU by registrating a ZFunction module in CRM outbound for BUPA_MAIN. Under certain circumstances the later leads to errors  in the subsequent middleware processing.
    Has anybody a similiar requirement or does face the same problems?
    Thanks for your help.
    Regards, Mark

    Hi Mark
    Please put this request in the correct forum of CRM Middleware.
    I am sure your will get the right help from the middleware experts.
    Regards

  • Are the read and write operations atomic for an array in a local variable.

    Hi,
    I would like to know when you access an array in a local variable, is it an atomic operation?
    Thanks,
    Mat

    Thanks for the comments. I agree with you. However, I my case, race conditions and synchronization are not issues. Therefore, the only thing that matters to me is that the write and read operation of the array must be atomic. I know that I can implement that with a LV2 style global but I want to avoid it if possible.
    If writing and reading to an array are atomic operations then I can simply use local or global variables.
    All I need to know is: Is reading or writing an array in a local variable an atomic operation?
    Thanks,
    Mat

  • I have done my de authorisation limit for the year, and need to use it again, how do it?\

    i have done my de authorisation limit for the year, and need to use it again, how do i?

    Contact itunes support and ask if they will allow this

Maybe you are looking for