Query not displaying data

Hello BW experts,
I am having an issue where in my query is not displaying data even though there is data in the cube in production.
But the same query is displaying data for the same selection in QA system.
I have executed the tests in RSRT, but am not able to find anything.
Please give your valuable inputs.
Thanks in Advance
BW learner

Hi,
Check the filters of your query, Is there any selection made where you are going to get only march data which is present in your production system.
Check the info cube data by giving the same filter values as in the query definitation. If you didnt find any data, then your query is working fine.
check this and let me know...
if you find some data in the cube with the same filter selection, then give me the data flow of your query, which means, whether the query is executed on Multiprovider or cube?
Regards,
Patil.

Similar Messages

  • Query not displaying data IT0019

    Hello Experts,
    I created an ad hoc report by consulting the information I need from the IT0019 infotypes along with many others.  Running the query gives no data on this infotype. I reviewed the configuration, but no encounter problems or differences. Also check the table, but there are no data in the query.
    Regards.

    Hi Pablo,
    I think problem with Infosets. While creatiing infoset, you have not added IT0019 which is part of PNPCE logical data base.
    Check your infoset and add IT0019.
    Regards,
    Purnima

  • Query not displaying data if i launch in web.

    HI,
    i have created one query.
    If i open the same in Bex Analyser i am getting data.(dispalying data).
    If i launch the same query through web its not dispalying data.error message as no data available.
    Please tell me wat may be the reason.
    thanks & regards,
    KPS Moorthy

    if you see the result in Bex, then you should see the same result in web also unless you are giving any variables value values executing on web.
    I hope you are executing query  on web using query designer.
    Regards
    Pankaj

  • Query Not displaying data for a particluar Cost centre code(urgent) !!!!!!

    Hi Folks,
    I have an infoset which is on top of two ODSs.
    Data for a particular cost center code present in both the ODSs.
    There is no data prsent in RSISET for that CC.
    Also the query is not showing any data for that CC.
    Data is not showin in RSRT for that CC ,but the SQL stament is getting generated  for that CC.
    Already Checked the infoset key fileds settings and all....
    Y its happening like this any ideas???
    Need your help buddies urgent issue.

    Please check weather the links are established between the info objects properly in the infoset.

  • Report not displaying data from one of the infoproviders

    Hi Experts,
    Issue: Report not displaying data from one of the infoproviders
    I have a report 'ReportA' which has multiprovider MP1 as the source.
    MP1 has two Infocubes IC1, IC2 in its design.
    Now, when i execute the report, data from IC1 is displayed. But no data from IC2 is displayed.
    Is there a setting i need to enable in MP1 ? or is there anything else that needs to be enabled ?
    Please reply.
    Regards,
    Suraj S Nair

    Hi All,
    When i display data directly from the multi provider, without any restrictions, i cannot view the data from infocube IC2.
    I feel its not an issue with the Query. It must be a problem with the setting in the Multiprovider MP1.
    Infocube IC2 is a copy of Infocube IC1. Multiprovider MP1 first only had IC1 in its design. It was recently IC2 was also included.
    I checked the Characteristics, all of them are assigned corectly.
    Now, this issue sure has something to do wiht the setting of Multiprovider or please correct me if wrong.
    Regards,
    Suraj S Nair

  • Read only table not displaying data

    hi my read only table is not dispalying data when the page load,am in jdeveloper 11.1.1.6.0
    <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical" inlineStyle="width:1806px;">
                <af:table value="#{bindings.CfgTablesView1.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView1.rangeSize}"
                          emptyText="#{bindings.CfgTablesView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView1.rangeSize}"
                          rowBandingInterval="0" id="t1" width="705"
                          inlineStyle="height:500px;">
                  <af:column sortProperty="Tablename" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Tablename.label}"
                             id="c1">
                    <af:outputText value="#{row.Tablename}" id="ot1"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="false"
                             headerText="#{bindings.CfgTablesView1.hints.Description.label}"
                             id="c2">
                    <af:outputText value="#{row.Description}" id="ot2"/>
                  </af:column>
                </af:table>it show no data to display even if there is data in the database
    Edited by: adf0994 on 2012/11/15 9:43 AM
    Edited by: adf0994 on 2012/11/15 9:45 AM
    Edited by: adf0994 on 2012/11/15 10:02 AM
    Edited by: adf0994 on 2012/11/15 10:09 AM

    ok i did that is working,but the problem is when the page load it does not display data,i have to click search button and on my query panel and click refersh than able to see data
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <af:panelHeader text="Maintain Schema" id="ph1"
                      inlineStyle="height:853px; border-color:Lime; border-style:ridge;">
        <f:facet name="context"/>
        <f:facet name="menuBar"/>
        <f:facet name="toolbar">
          <af:outputLabel value="CF-L-017" id="ol1"/>
        </f:facet>
        <f:facet name="legend"/>
        <f:facet name="info"/>
        <af:panelStretchLayout id="psl1" inlineStyle="width:1869px; height:801px;"
                               bottomHeight="345px">
          <f:facet name="bottom">
            <af:panelGroupLayout layout="scroll"
                                 xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                                 id="pgl3" inlineStyle="width:1950px;">
              <af:panelStretchLayout id="psl2"
                                     inlineStyle="width:1861px; height:376px;"
                                     endWidth="4px">
                <f:facet name="center">
                  <af:panelHeader text="Fields" id="ph6"
                                  inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
                    <f:facet name="context"/>
                    <f:facet name="menuBar"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="legend"/>
                    <f:facet name="info"/>
                    <af:table value="#{bindings.CfgFieldsView1.collectionModel}"
                              var="row" rows="#{bindings.CfgFieldsView1.rangeSize}"
                              emptyText="#{bindings.CfgFieldsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.CfgFieldsView1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.CfgFieldsView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.CfgFieldsView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t2"
                              partialTriggers="::cb2 ::cb5 ::cb6 ::cb4 ::cb3 ::t1"
                              inlineStyle="height:164px;" columnStretching="last"
                              width="918">
                      <af:column sortProperty="Fieldlabel" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fieldlabel.label}"
                                 id="c7">
                        <af:outputText value="#{row.Fieldlabel}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="Format" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Format.label}"
                                 id="c4">
                        <af:outputText value="#{row.Format}" id="ot7"/>
                      </af:column>
                      <af:column sortProperty="Type" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Type.label}"
                                 id="c3">
                        <af:outputText value="#{row.Type}" id="ot6"/>
                      </af:column>
                      <af:column sortProperty="Length" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Length.label}"
                                 id="c6">
                        <af:outputText value="#{row.Length}" id="ot3">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.CfgFieldsView1.hints.Length.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="Fielddescription" sortable="true"
                                 headerText="#{bindings.CfgFieldsView1.hints.Fielddescription.label}"
                                 id="c5">
                        <af:outputText value="#{row.Fielddescription}" id="ot5"/>
                      </af:column>
                    </af:table>
                    <af:panelHeader text="Details" id="ph4"
                                    inlineStyle="height:191px; border-style:ridge; border-color:Lime;">
                      <f:facet name="context"/>
                      <f:facet name="menuBar"/>
                      <f:facet name="toolbar"/>
                      <f:facet name="legend"/>
                      <f:facet name="info"/>
                      <af:panelFormLayout id="pfl1" maxColumns="2" rows="3"
                                          partialTriggers="t1"
                                          inlineStyle="width:589px;">
                        <af:inputText value="#{bindings.Fieldlabel.inputValue}"
                                      label="#{bindings.Fieldlabel.hints.label}"
                                      required="#{bindings.Fieldlabel.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fieldlabel.hints.precision}"
                                      shortDesc="#{bindings.Fieldlabel.hints.tooltip}"
                                      id="it4">
                          <f:validator binding="#{bindings.Fieldlabel.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Format.inputValue}"
                                      label="#{bindings.Format.hints.label}"
                                      required="#{bindings.Format.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Format.hints.precision}"
                                      shortDesc="#{bindings.Format.hints.tooltip}"
                                      id="it3">
                          <f:validator binding="#{bindings.Format.validator}"/>
                        </af:inputText>
                        <af:selectOneChoice value="#{bindings.Type.inputValue}"
                                            label="#{bindings.Type.label}"
                                            required="#{bindings.Type.hints.mandatory}"
                                            shortDesc="#{bindings.Type.hints.tooltip}"
                                            id="soc1">
                          <f:selectItems value="#{bindings.Type.items}" id="si1"/>
                        </af:selectOneChoice>
                        <af:inputText value="#{bindings.Length.inputValue}"
                                      label="#{bindings.Length.hints.label}"
                                      required="#{bindings.Length.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Length.hints.precision}"
                                      shortDesc="#{bindings.Length.hints.tooltip}"
                                      id="it2">
                          <f:validator binding="#{bindings.Length.validator}"/>
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.Length.format}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Fielddescription.inputValue}"
                                      label="#{bindings.Fielddescription.hints.label}"
                                      required="#{bindings.Fielddescription.hints.mandatory}"
                                      columns="20"
                                      maximumLength="#{bindings.Fielddescription.hints.precision}"
                                      shortDesc="#{bindings.Fielddescription.hints.tooltip}"
                                      id="it1">
                          <f:validator binding="#{bindings.Fielddescription.validator}"/>
                        </af:inputText>
                        <f:facet name="footer">
                          <af:panelGroupLayout layout="vertical" id="pgl5">
                            <af:panelGroupLayout layout="horizontal" id="pgl2">
                              <af:commandButton actionListener="#{bindings.First.execute}"
                                                text="First"
                                                partialSubmit="true" id="cb2"/>
                              <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                                text="Add New"
                                                id="cb5"/>
                              <af:commandButton actionListener="#{bindings.Commit.execute}"
                                                text="Save"
                                                id="cb7"/>
                              <af:commandButton actionListener="#{bindings.Delete.execute}"
                                                text="Delete"
                                                id="cb6"/>
                              <af:commandButton actionListener="#{bindings.Next.execute}"
                                                text="Next"
                                                partialSubmit="true" id="cb4"/>
                              <af:commandButton actionListener="#{bindings.Last.execute}"
                                                text="Last"
                                                partialSubmit="true" id="cb3"/>
                            </af:panelGroupLayout>
                            <af:commandButton text="Submit" id="cb1"/>
                          </af:panelGroupLayout>
                        </f:facet>
                      </af:panelFormLayout>
                    </af:panelHeader>
                  </af:panelHeader>
                </f:facet>
                <f:facet name="end"/>
              </af:panelStretchLayout>
            </af:panelGroupLayout>
          </f:facet>
          <f:facet name="center">
            <af:panelHeader text="Tables" id="ph2"
                            inlineStyle="height:500px; border-color:Lime; border-style:ridge;">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar"/>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelHeader text="Filter" id="ph3"
                              inlineStyle="height:165px; border-style:ridge; border-color:Lime;">
                <f:facet name="context"/>
                <f:facet name="menuBar"/>
                <f:facet name="toolbar"/>
                <f:facet name="legend"/>
                <f:facet name="info"/>
                <af:query id="qryId1" headerText="Search" disclosed="true"
                          value="#{bindings.ImplicitViewCriteriaQuery.queryDescriptor}"
                          model="#{bindings.ImplicitViewCriteriaQuery.queryModel}"
                          queryListener="#{bindings.ImplicitViewCriteriaQuery.processQuery}"
                          queryOperationListener="#{bindings.ImplicitViewCriteriaQuery.processQueryOperation}"
                          partialTriggers="::t1"/>
              </af:panelHeader>
              <af:panelGroupLayout id="pgl1" halign="left" valign="middle"
                                   layout="vertical"
                                   inlineStyle="width:1796px; height:298px;">
                <af:table value="#{bindings.CfgTablesView11.collectionModel}"
                          var="row" rows="#{bindings.CfgTablesView11.rangeSize}"
                          emptyText="#{bindings.CfgTablesView11.viewable ? 'No data to display.' : 'Access Denied.'}"
                          fetchSize="#{bindings.CfgTablesView11.rangeSize}"
                          rowBandingInterval="0" id="t1" width="833"
                          inlineStyle="height:186px;" columnStretching="last"
                          columnSelection="multiple"
                          partialTriggers="::cb8 ::cb10 ::cb9"
                          rowSelection="single"
                          selectedRowKeys="#{bindings.CfgTablesView11.collectionModel.selectedRow}"
                          selectionListener="#{bindings.CfgTablesView11.collectionModel.makeCurrent}">
                  <af:column sortProperty="Tablename" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Tablename.label}"
                             id="c2">
                    <af:outputText value="#{row.Tablename}" id="ot2"/>
                  </af:column>
                  <af:column sortProperty="Description" sortable="true"
                             headerText="#{bindings.CfgTablesView11.hints.Description.label}"
                             id="c1">
                    <af:outputText value="#{row.Description}" id="ot1"/>
                  </af:column>
                </af:table>
                <af:panelFormLayout id="pfl2" maxColumns="3" rows="1">
                  <f:facet name="footer"/>
                  <af:panelGroupLayout id="pgl6" layout="horizontal" valign="middle"
                                       halign="right" inlineStyle="width:1228px;">
                    <af:inputText value="#{bindings.Tablename.inputValue}"
                                  label="#{bindings.Tablename.hints.label}"
                                  required="#{bindings.Tablename.hints.mandatory}"
                                  columns="#{bindings.Tablename.hints.displayWidth}"
                                  maximumLength="#{bindings.Tablename.hints.precision}"
                                  shortDesc="#{bindings.Tablename.hints.tooltip}"
                                  id="it5">
                      <f:validator binding="#{bindings.Tablename.validator}"/>
                    </af:inputText>
                    <af:inputText value="#{bindings.Description.inputValue}"
                                  label="#{bindings.Description.hints.label}"
                                  required="#{bindings.Description.hints.mandatory}"
                                  columns="#{bindings.Description.hints.displayWidth}"
                                  maximumLength="#{bindings.Description.hints.precision}"
                                  shortDesc="#{bindings.Description.hints.tooltip}"
                                  id="it6">
                      <f:validator binding="#{bindings.Description.validator}"/>
                    </af:inputText>
                    <af:commandButton text="Add New" id="cb8"
                                      actionListener="#{bindings.CreateInsert1.execute}"/>
                    <af:commandButton actionListener="#{bindings.Commit.execute}"
                                      text="Save" id="cb9"/>
                    <af:commandButton actionListener="#{bindings.Delete1.execute}"
                                      text="Delete" id="cb10"/>
                  </af:panelGroupLayout>
                </af:panelFormLayout>
              </af:panelGroupLayout>
            </af:panelHeader>
          </f:facet>
        </af:panelStretchLayout>
      </af:panelHeader>
    </jsp:root>

  • Report does not display data

    I have a crystal XI report that when run will not display data; if the report should be six pages that is the number of pages that will be generated.  The problem is that the pages show up as blank.  If the blank pages are exported the exported file will contain data, if the report is sent to a printer the report will contain data, but no data is ever displayed on the screen.  This report has been loaded on 15 other computer and runs perfectly. Any help would be greatly appreciated.  By the way if this user logs in remotely and runs this report it will display data.

    A few ideas;
    1) Make sure you are working with [SP 6|https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe].
    You are on SP 2...
    [SP6 msm|https://smpdl.sap-ag.de/~sapidp/012002523100000634032010E/crxir2sp6_rdc_mm.zip]
    2) Try different resolutions
    3) Try to see if there is an updated video driver
    4) Make sure there is a default printer driver installed.
    5) Run [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] see if there are any differences in dlls loading on a box that works and the one that does not (CR and non CR dlls).
    Ludek
    Edited by: Ludek Uher on Feb 22, 2010 10:32 AM

  • XML  has data but PDF is not  displaying data

    Hi Gurus,
    I have one report  with excel and pdf out put .
    excel is working fine but pdf is not displaying data showing blank page  . both out puts are using same XML.
    Intresting thing is if I open  RTF  from  bi publisher desktop and load XML data then i can see  all the records.
    but  The same  RTF is not showing data from Report.
    I don't know what is the wrong with RTF. 
    I am attaching RTF and XML.  could you please go through it and help me ?
    Thanks for your help.

    Hi Bogdan,
    i  have 2 outputs for this report  excel and PDF.
    after scheduling report  excel is working fine but PDF out put is failure. i am getting following message.
    Job Name : Payment Request
    Job Executed Date : March 19, 2015 9:15:11 AM CDT
    Status : Job was failed.
    View History :
    Detail Message:
    ::RIPPLE_OUTPUT_FAILED::[INSTANCE_ID=vausobias201.austin.ppdi.com.1394740179760] [OUTPUT_ID=1006] ::DOCUMENT_GENERATION_FAILED::[INSTANCE_ID=vausobias201.austin.ppdi.com.1394740179760] [OUTPUT_ID=1006][ReportProcessor]Error rendering documentoracle.xdo.servlet.scheduler.ProcessingException: [ReportProcessor]Error rendering document
            at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.renderReport(BurstingReportProcessor.java:447)
            at oracle.xdo.enterpriseScheduler.bursting.BurstingReportProcessor.onMessage(BurstingReportProcessor.java:127)
            at oracle.xdo.enterpriseScheduler.u

  • When we run the FLEET transaction in SQ00, system is not displaying data.

    Hi,
    When we run the FLEET transaction in SQ00, system is not displaying data. If I enter the same values in selection in quality system, I am able to see. But with the same values is not storing in production, the output tale is not getting values.
    Can any one provide the solution...?
    Thanks....
    Thanks & Regards,
    Siva

    Hi,
    When we run the FLEET transaction in SQ00, system is not displaying data. If I enter the same values in selection in quality system, I am able to see. But with the same values is not storing in production, the output tale is not getting values.
    Can any one provide the solution...?
    Thanks....
    Thanks & Regards,
    Siva

  • Query not displaying correct data

    hi all
    my query is not displaying correct data.
    in data target secondary sales is showing 1.800 value but in query it is showing
    2.00.my requirement is my query shuld show 1.800 value. i also tried to change decimal points but not changes has happend.plz let me knw what is the problem
    thanks in advance
    shalini gupta

    With which u r reconciling the data.
    With R3 or Cube.
    I think check ur key figure, have u taken the key figure 'with TAX' one or with out tax one??
    Regards,
    Manoj.

  • Query runtime statistics not displaying data

    Hello,
    We have installed BI 7.0 Business content. 0TCT_MC02 is based on 0TCT_C02 and 0TCT_VC02.
    Query 0TCT_MC02_Q0200 based on this multiprovider is not returning any results. There is restriction in the query to display last 24hrs stats.
    In our case, 0TCT_C02 is not getting updated, but when we run this query it should pull data from virtual provider 0TCT_VC02 for last 24hrs stats. Its not at all accessing the Virtual provider, I checked SQL trace and found that everytime its just hitting standard cube. DS is assigned to virtual provider and 'Activate Direct access' is also set.
    I also checked RSDDSTAT_OLAP and RSDDSTAT_DM table which are getting updated.
    I copied the same query and ran with those selections for which data is available in the standard cube and I got the result.
    What could be the reason that its not hitting virtual provider?
    Thanks
    Sundar

    Hello Patrick,
    I already have created a copy query of 0TCT_MC02_Q0200 and removed the SAP Exit variable from Timestamp object that restricts query for last 24hrs data and introduced another user entry variable.
    When I ran this query it displays only those data that are available in 0TCT_C02. When I run it to pull recent data that is not available in 0TCT_C02, it has to goto 0TCT_VC02, but its not pulling from vc and displays 'No applicable data'.
    So I understand that is some issue with pulling data from 0TCT_VC02, but I dont know why
    So pls throw in your thoughts.
    Thanks
    Sundar

  • Query not displaying updated data for planning

    Hi Experts!
    I've created a revaluation function in IP and tested it in the modeler, it's working fine. I have an issue when running the sequence in WAD, as it is not displaying the modified data. The message says that the records were modified, but those changes aren't being displayed in the query. The query being used isn't input ready, it just takes data from the cube and revaluates them.
    I have already tried adding a refresh command in WAD, but I've found out it doesn't fit this purpose. Am I missing a configuration so it can read the delta buffer? or must I necessarily save the plan data for it to be displayed? Any ideas?
    Thanks in advance for your help,
    Al

    Hi,
    you are on the save side if you use an input-ready query and a button representing the revaluation function in the Web Application Designer (WAD) . Of course the function has to change data via an aggregation level A on a real-time cube C that is also contained in the InfoProvider P used to create the input-ready query. In the most straightforward case A = P.
    Input-ready queries always know about the most-recent data, i.e. data in all green + yellow requests and the data in the deltabuffers.
    But even a 'reporting' query e.g. on a real-time InfoCube C and the revaluation planning function on an aggregation level A on C should know about the most-recent data as defined above.
    You can check the 'Requeststatus' used in the 'reporting' query. It should be 'Real-time InfoCubes up to current version'. This setting can be found - depending on the release - in transaction RSRT or the Query Designer.
    You should not forget to do some simple checks: Maybe the function has changed data that are not contained in the filter of the query.
    Regards,
    Gregor

  • Data From Query not Displayed on Public Page

    Hi all,
    I just created a page which has a dynamic portlet that runs a query to display some data. Now I recently made this page public which means that anyone can basically access this page from the outside and not have to login. However, the data does not seem to come up after I access this page on a browser even though the banner comes up fine!! I made the table that the dynamic portlet accesses public. Is there something that I may be missing here? THanks.

    Well I went to the grant access tab and there is no make portlet accessable to public. The only place to make a component accessible to public is when your editing a page. The only options when you click on the Grant Access Tab is 1) Publish To Portal and 2) Inherit Previleges From Application.

  • SSRS report not displaying data in correct order

    Guys,
    I have a SSRS 2012 report not displaying returned records from SQL in the correct order.  Running the stored procedure in SSMS and supplying the parameter values returns the data correctly and running Query Designer in SSRS using the stored procedure
    on the dataset in question, likewise returns the data correctly.  Only when I run the actual report does the data display incorrectly(always last name order).  I've done similar reporting using very similar stored procedures and I've never had this
    problem.  Below is the stored procedure.  "@SortBy" is the parameter with the sorting value. 1=Due Date; 2=Denial Amt and 3=Last name and is passed by SSRS to SQL.  Wish I could supply screen shots.  
    Thanks for any help,
    Dave
    ALTER PROCEDURE [dbo].[RAC_PT_List]
    @Level as int,
    @SortBy as int,
    @PTLName as varchar(30) = NULL,
    @User as varchar(10) = NULL
    AS
    SELECT pat.headerID,
    pat.PT_LName + ', ' + pat.PT_FName AS PTName,
    pat.PT_AcctNo,
    rco.RCO_CLMREF,
    rco.RCO_AppealLevel,
    rco.RCO_LevelNo,
    rco.RCO_AuditorStatus,
    let.LET_DEN_DueDate,
    CONVERT(varchar(12),let.LET_DEN_DueDate) as DueDate,
    let.LET_DEN_Dollars,
    let.userID
    FROM Master_PT_List pat
    INNER JOIN Master_RCO_Work rco on RCO.PT_headerID = pat.headerID
    INNER JOIN Master_Letters let on LET.PT_headerID = pat.headerID
    WHERE (@PTLName IS NULL OR(pat.PT_LName LIKE + '%' + @PTLName + '%'))
    AND (rco.RCO_LevelNo = @Level)
    AND (let.userID = @User)
    --AND (rco.RCO_AuditorStatus <> 'Closed' and rco.RCO_AdminStatus <> 'Closed')
    ORDER BY 
    CASE WHEN @SortBy = '1' THEN LET_DEN_DueDate
    END
    DESC,
    CASE WHEN @SortBy = '2' THEN let.LET_DEN_Dollars
    END
    DESC,
    CASE WHEN @SortBy = '3' THEN pat.PT_LName
    END

    Hi DaveMac1960,
    According to your description, when you render data in report, you find it always shows the data with unexpected order. Right?
    In Reporting Services, if we don't set any sorting in tablix, it will order the data as your query in SSMS or Query Builder. In some scenario, for example, we add parent group for data rows, it will have the rows sort by the group on data field by default,
    and the "order by" in your query will be ignored. So please check the Sorting tab in Tablix Properties, in this scenario, we suggest you delete any sorting in the Sorting tab so that the "Order By" clause can work.
    Reference:
    Sort Data in a Data Region (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • UIX page not displaying data from VO's

    I have an application where my users log in by passing a username/password to a client method in my application module. The Webusers View Object has a view link to the Customers view object, which has a view link to the Orders view object, which has a view link to the OrdLines view object, like this:
    WebusersView
    --CustomersView via WebCustViewLink
    ----OrdersView via CustOrdViewLink
    ------OrdLinesView via OrdOrdlinesViewLink
    I've run this Application Module through the tester and I can see data via all the View Links.
    I have the following code in my login() script:
    w = getWebusersView();
    w.setWhereClause("login = '" + username + "'");
    w.executeQuery();
    I've stepped through the login() code and it works correctly. If I understand BC4J correctly, then all of the View Links should fire and coordinate the data from Customers, Orders, and OrdLines when this query executes successfully.
    I created a UIX page and did a drag/drop of Orders to the page as a read-only table. I found the Orders table by expanding the Webusers entry in the Data Control palette, then the Customers entry below that, to grab the Orders entry there. I think this means that it will follow the WebCustViewLink to get the Customer that goes with the Webuser, then the CustOrdViewLink to get the Orders for that Customer. Is this correct?
    When I try to run this and display the table, I get no records. I know for a fact that records exist under the Webuser username I've chosen.
    What is wrong? Why doesn't my UIX page display the appropriate Orders based on the Webusers->Customers->Orders view links?

    If there, try removing the $. at the beginning of the binding that gets puts there if you select the item from the pop up list.
    I have a text field that is read only and bound without the $. that was working fine for displaying data. I have a drop down that had the $. and was not saving. I removed the $. and now it is getting saved to the XML. However, it does not display on the next render of the form.

Maybe you are looking for