Query condition not reflected in VC model

Hello,
I have a query that has a condition that allows the user to view the Top N of a key figure by entering the desired "N" amount. When I run the query on its own, it works as expected. If I enter 5, I see the top 5 results.
I have put this query into VC with an input form that allows the user to designated the desired number of results, but now the results do not reflect the condition and just show all the results for that key figure. Any suggestions?

Hi Ravi,
Can you please share how did you resolve this as we are facing same problem.
Really appriciate your help.
Regards,
Dipesh.

Similar Messages

  • Regarding Conditions not reflecting in Herarchy query

    Hi Gurus,
    I have a scenario where i have created query on a multiprovider. In the query designer i have selected infoobjects like <b>region code, Director</b> ... and in columns i have selected <b>mileage,</b> .....i have also selected in the Rows as <b>Expand as Hierarchy</b>.
    The query is working fine. But the Conditions i have specified for mileage < 0 or anyother condition reflects only for region level. But it is not reflecting for Director level and subsequent lower level like manager..... In the condition i have selected for all characteristics.
    Kindly guide me to reslove the issues.
    Regards,
    Mano

    Mano,
    Depending on the characteristics you have in your report you will need to change the Conditions to look at the mixture of individual characteristics rather than All characteristics in the drill down independently.
    Open up the conditions dialogue box and make the relevant section in the "Evaluate the conditions displayed below for:"
    Regards
    Gill

  • Tree table is not reflecting the updated model data changes at the front end

    I have two tables ,
    1) Provider table(tree table)  2)member table
    I have implemented drag and drop functionality using jQuery UI on both tables.
    In my scenario when I drag a member from the member table and drop it on the Provider table and also when I delete an assigned member from the provider table I will update the data fetched from odata model and again I will call the method which binds the data to the provider table so that the table will reflect the changes.
    here is the code,
    on drop:
    $("#Provider tbody tr").droppable({
      drop: function(event){
           oController.AssignMember(oProviderId, oMemberId)
      }).disableSelection();
    Assign member function:   here am updating the model.
    AssignMember : function(oProviderId, oMemberId){
      var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
      var oParameters = {};
      oParameters.PROVIDER_ID = oProviderId;
      oParameters.MEMBER_ID = oMemberId;
      oParameters.CREATED_ON = new Date();
      oModel.setHeaders({"content-type" : "application/json;charset=utf-8"});
      oModel.create( "/PROVIDERMEMBERS", oParameters, null, function() {
      var oController = sap.ui.controller("adsm.provider.member_assignment_view");
      oController.GetProviderData();
      },function(jqXHR) {
      var errorMessage = jqXHR.response.body;
      var jsondata = JSON.parse(errorMessage);
      sap.ui.commons.MessageBox.alert(jsondata.error.message.value);
    GetProviderData function: here i bind the data to the table
    GetProviderData: function(){
    var oModel = new sap.ui.model.odata.ODataModel("../../../services/provider.xsodata/", true);
    var Context = "/PROVIDERS?expand=ASSIGNEDMEMBERS&$select=NAME,ID,ASSIGNEDMEMBERS/NAME,ASSIGNEDMEMBERS/ID,ASSIGNEDMEMBERS/PROVIDER_ID";
      var oTable = sap.ui.getCore().byId("tblProviders");
      oModel.read(Context, null, null, true, onSuccess, onError);
      function onSuccess(oEventdata){
      var outputJson = {};
      var p = 0;
      var r = {};
      if (oEventdata) {
      r = oEventdata;
      try {
      if (oEventdata.d){
      r = oEventdata.d;
      } catch(e){
      //alert('oEventdata.d failed');
      try {
      if (oEventdata.d.results){
      r = oEventdata.d.results;
      } catch(e){
      //alert('oEventdata.d.results failed');
      try {
      if (oEventdata.results){
      r = oEventdata.results;
      } catch(e){
      //alert('oEventdata.results failed');
      $.each(r, function(i, j) {
      outputJson[p] = {};
      outputJson[p]["NAME"] = j.NAME;
      outputJson[p]["ID"] = j.ID;
      outputJson[p]["PROVIDER_ID"] = j.ID;
      outputJson[p]["DELETE"] = 0;
      var m = 0;
      if (j.ASSIGNEDMEMBERS.results.length > 0) {
      $.each(j.ASSIGNEDMEMBERS.results, function(a,b) {
      outputJson[p][m] = { NAME: b.NAME,
      ID : b.ID,
      PROVIDER_ID: b.PROVIDER_ID,
      DELETE: 1};
      m++;
      p++;
    var oModel = new sap.ui.model.json.JSONModel();
      oModel.setData(outputJson);
      oTable.setModel(oModel);
      function onError(oEvent){
      console.log("Error on Provider Members");
    oTable.bindRows({
      path:"/"
    Its working fine in chrome but in IE the model data gets updated but the table is not reflecting the changes at front end.Can anyone suggest me a possible solution to fix this?
    Please have a look at the attached screen shots.
    Best regards,
    Amala Suganya.

    Hi Amala,
    I think this will help you:
    Disabling Cache for CRUD/FI OData scenarios for a UI5 Application on Internet Explorer
    Kind regards,
    RW

  • Date Customer Exit in the query is not reflecting in the workbook

    Hello.
    We have a BI 7.0 Query where we have a restriction for req del date and billing date to show the month of current date - 2.
    We have written 2 customer exit variables and we have restricted the same. The query is working well.
    For Broadcasting, we have created a workbook for this query and saved it under a role.
    The workbook is fine running for the current month., But if the month changes to the next, the workbook is not reflecting the same.
    Still only Old dates are available in the workbook.
    Please let me know if i am doing any mistake

    Hi Karthik,
    If the customer exit variable is of type i_step = 1, ie if it is a manual entry variable as well, then this will not get updated based on teh month of execution.
    Kindly check the article below for info.
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/enterprise-data-warehousing/how%20to%20update%20variable%20values%20in%20broadcast%20settings%20dynamically.pdf
    Regards.
    Shafi.

  • Query Customization Not Reflecting in POWL WD ABAP

    Hello All,
    We are customizing Powl in MSS for CATS and Leave Management. Changes done in POWL_QUERY are not reflecting in POWL Application.
    In MSS we have done following customization in POWL:
    We are using query MSS_POWL_CATS_APPROVAL_1 for CATS approval and we are enabling search criteria through query parameters by
    ticking search checkbox. We have also cleared powl cache by running POWL_D01.
      2.  Changes done in Powl_Query transaction are not getting reflected in Powl Application.
    We have changed the Admin layout in leave approval query MSS_POWL_LEA_APPROVAL using configuration mode ( sap-config-mode
    = config ) in layout variant and assigned a new layout to leave approval and cleared cache (POWL_D01 report) but still changes are not reflected in POWL.
    Looking forward for your support. Any help will be highly appreciated
    Regards,
    Nishant Gaur

    Hi.
    Please try.
    SQ01
    Input query ID.
    menu-Query-More functions-Generate program

  • Fixed Freight Condition Not Reflecting In DCGR

    Hi everyone! I am having issues with DCGR documents. My frieght condition does not seem to reflect in the DCGR document when I post the goods reciept.
    Here are the details of the condition:
    Condition class - A (Discount/Surcharge)
    Calculation type - B (Fixed amount)
    COndition category - B (Delivery costs)
    I have also maintained the access sequence for this condition but still unsuccessful in getting the amount included in the delivery cost document.
    Thanks in advance!

    Hi,
    Do you mean that your Frieght Cost should add to your material Cost? If so check whether you have activated the Accural key in Frieght Conidtions and also Check the relevant G/L account is assigned in OBYC settings against Transaction key.
    Hope this will help you.
    Tks
    Mani

  • Workbook is not reflecting changes

    Hi Friends,
       I have done some changes in existing structure at1 existing query and same structure are using in different query also, that also reflected and working fine, but these 2 queries are already added in 1 workbook as in 2 worksheets, the problem is, the changes which I did in query is not reflecting in workbook ( 2 worksheets in workbook ), how do get reflect those queries in workbook. Pls suggest. Thanks.
    Regards,
    CS.
    Edited by: csr_03 on Jul 22, 2010 3:07 PM

    Hi,
    You have made changes to query but those changes do not refelct in workbook automatically.
    Either you need to create new work book by using the modfied query or use the existing workbook and include the modified query again after removing the existing one.
    Workbook is just an excel save file of any exitisng query so you need to save or creat that file again.
    I hope it will help.
    Thanks,
    S

  • Conditions in Calculation Schema not reflecting in Purch Info Record

    Hi,
    We are using calculation procedure TAXIN.
    We have maintained Calculation Schema & maintained required conditions.
    When we checked for maintaining these conditions in Purchasing Info Record, (Transaction Code - ME11 / ME12), these conditions are not appearing in the info record. But, the conditions appearing in the info record are not same as those in the Calculation Schema.
    Also, the conditions maintained in Info Record are not getting copied to Purchase Order (except Base Price P000).
    What could be the reason behind this? How to correct the same?
    Regards,
    Prashant Kolhatkar

    Tax procedure condtions will not appear in the info record. for the conditon which is not reflecting in the PO, you may check in inforecord whether there is a check mark in condition record saved for approval; if so it is deleted

  • Model layer customization are not reflecting on sandbox.

    Hi 
    we are doing some changes to model layer in the seeded code, for the fusion apps.
    But our changes are not reflecting on fusion apps instance, even those are small validation changes, and these changes are going fine on sandbox (xml file),
    But when we are running the application these changes are not reflecting, do need to restart the server to get the model layer changes reflected.
    Is there any way to debug our changes in the fusion apps instance.
    Thanks
    Vipin

    But when we are running the application these changes are not reflecting, do need to restart the server to get the model layer changes reflected.
    Is there any way to debug our changes in the fusion apps instance."
    I am sure if you mean that it works after you restart the sever or you are asking if it will work on doing system restart.
    In any case, model layer changes are always done at GLOBAL layer and these changes only reflect after restarting the application. So, server bounce is not needed but application restart is required for changes to be picked up.
    Hope this helps
    Thanks
    Vik
    http://blogs.oracle.com/fadevrel

  • Query changes are not reflecting

    Hi All,
    Scenario: We have changed in Query from Query Designer in BED system and moved to Quality system but the changes are not reflecting. After checking tables RSRREPDIR and RSZCOMPDIR, we found out the information as below:
    Note: Production System - BEP
    Quality - BEQ
    Development - BED
    We have 2 issues with Queries in different systems as below:
    Issue 1: Query name: T01
    Issue 2: Query name: T02
    Issue1:
    Table - RSRREPDIR
    BEP -
    COMPUID : 4U2P65LLZVYUZLGQFYPVZ1R2M   (also present in table - RSZCOMPDIR)
    GENUNID : 4U2QC61SREY9HKJFVEHM894CU
    BEQ -
    COMPUID : 4T6BTKW1X3RYN7H2UO4WMLWLQ   (also present in table - RSZCOMPDIR)
    GENUNID : 4T6BUM0LKCPAO5H71ZG983P72
    COMPUID : 4U2P65LLZVYUZLGQFYPVZ1R2M   (also present in table - RSZCOMPDIR)
    GENUNID : 4U2QC61SREY9HKJFVEHM894CU
    BED -
    COMPUID : 4T6BTKW1X3RYN7H2UO4WMLWLQ   (also present in table - RSZCOMPDIR)
    GENUNID : 4T6BUM0LKCPAO5H71ZG983P72
    COMPUID : 4U2P65LLZVYUZLGQFYPVZ1R2M   (not present in table - RSZCOMPDIR)
    GENUNID : 4U2QC61SREY9HKJFVEHM894CU
    Issue2:
    Table - RSRREPDIR
    BEP -
    COMPUID : 4U18JA5FD2PB9ZB1RS0PWS5E6   (also present in table - RSZCOMPDIR)
    GENUNID : 4U188U6N2623QPCTMC43MFOZY
    BEQ -
    COMPUID : 4T6MDKABLUBC46HOKZMC0K6KU   (also present in table - RSZCOMPDIR)
    GENUNID : 4T6MEWPZ6178KB4LDKDREY34E
    COMPUID : 4U18JA5FD2PB9ZB1RS0PWS5E6   (also present in table - RSZCOMPDIR)
    GENUNID : 4U188U6N2623QPCTMC43MFOZY
    BED -
    COMPUID : 4U18JA5FD2PB9ZB1RS0PWS5E6   (not present in table - RSZCOMPDIR)
    GENUNID : 4U188U6N2623QPCTMC43MFOZY
    but in Table - RSZCOMPDIR
    BED -
    COMPUID : 4T6MDKABLUBC46HOKZMC0K6KU  
    GENUNID : 4T6MEWPZ6178KB4LDKDREY34E.
    Please suggest which query element and from which table we should remove to have a sync with all systems.
    Thanks in advance!!
    Regards,
    Niranjan Chechani

    If possible can u Compare  Bex queries in All 3 systems Using RSRTQ tcode, Either they are matching or not?
    How to compare using RSRTQ  u can Refer Below :
    Compare Bex Queries in Different Client /System.
    Regards,
    Seshu.P

  • Changes to the infoobject are not reflecting in the query Desinger level.

    Hi All,
    We removed some Attributes to one characteristic and transported into QA.
    The removed attributes are not getting in BEx query designer in Dev, But we are getting those removed attributes in the context menu of that particular Char in BEx Designer in QA.
    We checked in the Characteristic level, those removed Attributes are not there in Info object level but still those Attributes are displaying in BEx designer level in QA.
    And info object showing as gray color even though we activated the info object, We think this may be the cause to not reflect the changes to BEx Designer level.
    Can any one suggest us to resolve the issue.
    Thanks & Regards,
    Raju. E

    Hi Raju
    Go to transation RSRT enter one of the reports and click to Generate Report. If this solves your problem then you can go to Environment\generate queries directly to regenerate the impacted queries.
    Cheers
    Tansu

  • Query changes are not reflecting in the Workbook.

    Hi All,
    I have modified the query by adding attributes. But the changes are not reflecting in the workbook.
    Do i need to insert the query again in the workbook or is there any option that will reflect the changes in the workbook
    Thanks in Advance,
    Suneel.

    Hello Suneel,
    if you insert the query again, it will work, but it is not the best way to delegate the query changes to the workbook.
    Just open your query from within your workbook (BEx menu 'change global definition') and use the green button at the top left in order to transfer the new query structure to the workbook. The query will be executed and you should see the changes.
    Don't forget to save the workbook afterwards.
    Regards,
    Kirill

  • Condition type in contract not reflecting on to the PO release

    Hi All,
    I have a contract wherein i have two condition types which are set i.e. PB00 and ZM07. Now i've made some changes and removed ZM07 and instead put ZM05.
    This new condition type (ZM05) is not reflecting on to the PO already released or on to the new line items that are being added to the already existing PO's. Kindly let me know what/where to change to effect ZM05 on the line items of release orders.

    Hi,
    One thing you could try is the Update button on the item Conditions detail tab.  Run the selection for B    Carry out new pricing
    C    Copy manual pricing elements and redetermine the others
    "B" is pretty good for adding in new condition types that are added after the PO has been created.
    Regards.

  • Query in MSS does not reflect selection on period

    Hi group,
    I have made a query in global area.  In MSS I am calling the generated program from the query.  This works fine.  However, the selection on period in MSS does not reflect on the report.  No matter what I choose, the report gives me the date period that I have set up in my variant in the background. 
    The selection screen for the report is the standard delivered with LDB PNPCE.
    I have tried different date setup in my variant, but no matter what I do, I am not able to choose dynamically period from MSS.
    Any help is appreciated
    Kirsten

    Solved this by saving the variant without passing values.

  • Changes to Query not reflected in views

    We want to use various views off of a 'master' query to publish in our portal.  I was working on the assumption that an advantage of the views was that if a change needed to be made it could be made in the query and then all the views off of that query would reflect the change.  However I have discovered that some changes made in the query do not get reflected in the views.  For example if I change the scaling on a key figure, this change does not get reflected in the views.  In one case, as a test, I modified a formula in the query and also changed the scaling.  The view reflected the modified calculation but did not reflect the new scale.
    Does anyone know how to force these type of changes or is there documentation that at least list those changes made to the query that will not get reflected in the views?
    Any help would be appreciated.
    Stan Pickford

    Hi Stan,
    in general: Everything which belongs to the query view object won't be overwritten by query changes.
    What belongs to the query view object? Basically everything you can change during execution of a query (Dynamic filters, Drill-Down-State, Properties of characteristics, structure elements (keyfigures) and Query-View).
    What does not belong the query-view object: Definition of structure elements, Navigation space (characteristics available during runtime), Static filters.
    Heike

Maybe you are looking for

  • JPG quality issues

    I design wedding albums using InDesign CS5. My high res JPGs are about 8x12 inches at 300DPI, and my album page size is 10x15 inches. When I insert a JPG into the layout and resize it to 10x15 and export (maximum quality, 300DPI) there are severe art

  • Consolidate Payments for different assignments

    Dear Friends, Our scenario: We have a group of Employees with an high turnover, which are processed by a dedicated Payroll. Sometimes these people are terminated and rehired several times within the pay period. As a result of this, it's quite common

  • Disable or Hide Menu Bar

    Hello, I want to disable the Menu Bar at all. I need a stripped-down Adobe Reader, Users should be limited to read and print pdf files. Especially users must not be able to save a file a disk, send E-Mails etc. As the toolbar already contains a print

  • Re TB not defaulting to default printer: I removed the old printer and TB now defaults to HP 4500 as it is set for!

    This is on my W7 laptop; TB 24.3; my WXP laptop does not have the default problem even though I have some old printers installed; it also has TB 24.3.

  • Refund on purchase, refund on purchase

    How do I request a refund for an app that has never worked properly and does nothing but freeze up?