Crystal Reports hides rows from source BW query

Hi Experts,
I currently have a BW query with two structures: 1) key figure structure in the columns and 2) another characteristics structure in the rows.
Here are additional details:
1.  I have the MDX connectivity transports installed
2.  I have successfully linked a crystal report to this source BW query.
My only problem is that if a certain row in the source BW report is blank (meaning it does not have any values), Crystal Reports automatically suppresses it and does not show my full row structure in the output.  I would like the report to show all rows regardless of any data values or lack of.  I do not have zero suppression in BW or Crystal Reports.
Thanks

Hi,
I would recommend to extract the MDX query out of your CR report ( Database->Show SQL statement) and use the MDX transaction to test it directly against your BW server. This way you make sure if the suppression takes place already on the BW side or in the CR itself.
Regards,
Stratos

Similar Messages

  • No data in Crystal report created on SAP BW BEx Query

    Hi Experts,
    I am trying to create a Crystal report on top of a BW query. I am able to login to the BW system and open the BEx query and the objects are coming into the crystal report.
    But when I drag and drop some objects into the details area and try to preview sample - it does not show any data (it shows accessing database but doesnt bring any data)
    I copied the generated SQL query in to the section in the BW system in transaction code 'MDXTEST' and it runs correctly and shows me the result below there.
    Just to try - I unchecked 'Use MDX..' check box by following the path SAP->Settings to check if that could bring back data ... and YES that worked which means data is not coming from the BW query with MDX connection but when MDX seems to be fine and retrieve result when I run the sql statement in tcode MDXTEST.
    Also when I do preview samples - I can see in SM50 in BW system that it is trying to run the report just that I am not able to see any data in my crystal report.
    Any help in this regards would be greatly appreciated.
    Thanks in advance.
    Regards,
    Sunny

    Hello
    The order of display of attributes in Webi and Crystal report would be different.
    Collapse the infoobject and skim through the attributes, you should be able to find them.
    Vishal

  • I am facing a problem in a crystal report which is based on Infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
    Best Regards,
    Srinivas

    Hi,
    I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
    Best Practices v3.31 - SAP InfoSet Query connection
    Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
    Ingo

  • I am facing a problem in a crystal report which is based on Infoset query.i

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1

    Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to Migrate Crystal Report Server XIR2 from Tomcat to Websphere.

    Hi Experts,
    I'd like to know how to migrate a existed Crystal Report Server XIR2 from Tomcat to Websphere.
    I don't want to upgrade the Server version, just want to deploy it from Tomcat to a new Websphere.

    Hi
    https://bosap-support.wdf.sap.corp/sap/support/notes/1219131
    Regards
    Roland

  • Crystal Report generating data from incorrect data source

    In dealing with a recent post about an upgrade to Crystal XI R2 mixing badly with an old VS 2003 project ( Update to CR XI R2 and service pack 4 issues with VS 2003 ), I've been attempting a few things to get past the issues with missing parameters and so on.  I found that I actually was using a parameter in the report I was trying to run, so I assigned the proper value to said parameter, ran the report, and lo and behold all was well.  The data was coming back correctly, no errors, everything seemed fine.<br><br>
    Then I checked the results against the production environment of this application, hosted on a remote server, and was disappointed to find that the reports were now coming back blank.  After some deeper investigation, it turned out that the data it was retrieving was coming from my development server and not the production server like it had in the past.  As far as I can tell, it is completely ignoring the dataset that I'm assigning to the report object (which is filling with the correct data) and just running the query built into the report, which is connected via ODBC to my development server database.  I have no idea what this is going to do when the application is run from the production environment itself, as in, my customers running the application from their desktops, and I have no way of testing this.<br><br>
    I will fully admit that the report may be poorly designed, because then and surely enough now I'm no crystal expert, but as I said in my previous thread, this all worked fine until I upgraded to XI R2 for another project.  Essentially what I want is for the report to accept the dataset and display ONLY that data, and not run a query against the ODBC connection.  Is there some way to force this behavior?  Here's a sample of my code, if it helps:<br><br>
    ReportDocument myReport = new ReportDocument();<br>
    DataSet myData = new DataSet();<br>
    MySqlDataAdapter myAdapter;<br>
    myAdapter = new MySqlDataAdapter();<br><br>
    file_name = ApplicationMain.file_path"
    Files
    Invoice_"invoice_number+".pdf";<br>
    MySqlCommand cmd = generate_command(invoice_number, false);<br><br>
    myAdapter.SelectCommand = cmd;<br>
    myAdapter.Fill(myData,"X");<br><br>
    myReport.Load(ApplicationMain.file_path+"
    Files
    Invoice.rpt");<br><br>
    myReport.SetParameterValue("requ_id",this.ID);<br>
    myReport.SetDataSource(myData);<br>
    myReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, file_name);<br><br>
    It's all relatively simple, create a dataset, load the report, assign the dataset to the report, export to a PDF. 
    I've tried to reassign the report's connection to the currently connected database (code snippet below) but every time I end up getting a logon failed error message, even when I know for sure the login data is correct, and even when I'm just connecting to my local development server.<br><br>
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();<br>
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();<br>
    ConnectionInfo crConnectionInfo = new ConnectionInfo();<br>
    crConnectionInfo.ServerName = ApplicationMain.com_host;<br>
    crConnectionInfo.DatabaseName = ApplicationMain.com_database;<br>
    crConnectionInfo.UserID = ApplicationMain.com_username;<br>
    crConnectionInfo.Password = ApplicationMain.com_password;<br><br>
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in myReport.Database.Tables)<br>
    {<br>
         crtableLogoninfo = CrTable.LogOnInfo;<br>
         crtableLogoninfo.ConnectionInfo = crConnectionInfo;<br>
         CrTable.ApplyLogOnInfo(crtableLogoninfo);<br>
    }<br><br>
    I ran that after loading the report, but received a failed login error every time.  Any suggestions on how to proceed with this?  I'm at a loss because up until now I've never had a problem like this with a crystal report, they always just took the datasets I gave them without ever running anything else.

    After attempting quite a few of the proposed solutions, nothing seemed to be working.  Due to the limited usage and number of reports in my application, I decided to try recreating them from scratch (there are only 3 and 2 are nearly identical) using only the crystal 9 integrated designer in VS2003.  My initial testing has been successful, even using the same base query that the failing reports were using.
    Dropping everything and recreating all of ones reports is not the greatest solution, but at worst it's a few hours of tweaking, as opposed to days of frustration messing around trying to get the "corrupted" reports to work again.  Thank you again for your assistance.

  • How to buld Crystal report using data from Bex query

    Hi,
    I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
    Thanks,
    Chandra

    Hi Chandra,
    Here is the docuemnt which explains you in detail about the steps to create Cyrstal Report using BEX Query.
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948&overridelayout=true
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Regards
    SIndhu

  • Crystal report duplicate row problem

    Hi expert,
    Need help about crystal report for my customer, want to make report about outgoing payment(OVPM) but it become duplicate row for detail because 1 payment include lot cheque(VPM1) more than 1,i just want to know if there got other method to avoid duplicate row.I also try put formula for detail area "{VPM1.CheckAct} = Next({VPM1.CheckAct})" or "{VPM1.CheckAct} = previous({VPM1.CheckAct})"..it useful for 1 row only,if i put more row,it will eliminate other row,just show 1 row.
    Here is my query take from crystal report.
    SELECT 
    "OVPM"."DocTotal", "OVPM"."DocNum", "OVPM"."DocDate",
    "NNM1"."SeriesName", "OVPM"."Address", "OVPM"."DocCurr", "VPM1"."CheckNum",
    "VPM4"."AcctCode", "OVPM"."CheckAcct", "OACT_1"."AcctName", "OACT_2"."AcctName",
      "VPM4"."Descrip", "OVPM"."Comments", "OVPM"."NoDocSum", "OVPM"."DocType", "VPM2"."DocEntry",
       "VPM2"."SumApplied", "OPCH"."DocDate", "VPM2"."InvType", "OCRD"."Phone1", "OCRD"."Fax",
        "OCRD"."CntctPrsn", "VPM2"."DocNum", "VPM1"."BankCode", "OVPM"."CardName", "OVPM"."CardCode",
         "VPM1"."CheckAct", "OACT_3"."AcctName", "VPM1"."CheckSum", "VPM1"."LineID", "VPM4"."OcrCode",
          "OVPM"."CounterRef", "OVPM"."TrsfrAcct", "OACT_4"."AcctName", "OVPM"."TrsfrSum",
           "OVPM"."PayToCode", "OVPM"."JrnlMemo", "VPM4"."SumApplied", "OVPM"."CashAcct", "VPM1"."U_Ref"
    FROM  
    "OVPM" "OVPM"
    LEFT OUTER JOIN "VPM2" "VPM2" ON "OVPM"."DocNum"="VPM2"."DocNum"
    LEFT OUTER JOIN "NNM1" "NNM1" ON "OVPM"."Series"="NNM1"."Series"
    LEFT outer JOIN "VPM1" "VPM1" ON "OVPM"."Docentry"="VPM1"."DocNum"
    LEFT OUTER JOIN "VPM4" "VPM4" ON "OVPM"."DocNum"="VPM4"."DocNum"
    LEFT OUTER JOIN "OACT" "OACT_2" ON "OVPM"."CheckAcct"="OACT_2"."AcctCode"
    LEFT OUTER JOIN "OCRD" "OCRD" ON "OVPM"."CardCode"="OCRD"."CardCode"
    LEFT OUTER JOIN "OACT" "OACT_4" ON "OVPM"."TrsfrAcct"="OACT_4"."AcctCode"
    LEFT OUTER JOIN "OACT" "OACT_3" ON "VPM1"."CheckAct"="OACT_3"."AcctCode"
    LEFT OUTER JOIN "OACT" "OACT_1" ON "VPM4"."AcctCode"="OACT_1"."AcctCode"
    LEFT OUTER JOIN "OPCH" "OPCH" ON "VPM2"."DocEntry"="OPCH"."DocEntry"
    WHERE  "OVPM"."DocNum"=9005070
    ORDER BY "OVPM"."DocNum", "VPM1"."LineID"

    Hi,
    Change LEFT outer JOIN "VPM1" "VPM1" ON "OVPM"."Docentry"="VPM1"."DocNum"
    to: LEFT JOIN "VPM1" "VPM1" ON "OVPM"."DoceNum"="VPM1"."DocNum"
    Remove: LEFT OUTER JOIN "OACT" "OACT_3" ON "VPM1"."CheckAct"="OACT_3"."AcctCode"
    Thanks,
    Gordon

  • Crystal Reports 10 Datasource Location and SQL Query update

    I am running Crystal Reports 10 accessing SQL Server 2008 database on Windows 7. Our product changed database names and I'm trying to update reports to point to the new database. Sounds nice and simple. The database has no structure changes yet, it's just a copy and rename of the old database. Both databases exist, same SQL instance, same permissions, etc. ...
    Existing working report:
       Has an ODBC (RDO) location to database DbVersion1
       If I run Show SQL Query, the database name is in the query text (i.e. FROM DbVersion1.dbo.MyTable)
    Attempted:
       In Set Database Location popup, I created a new ODBC (RDO) connection to database DbVersion2
       Updated Current Data Source for report to this new ODBC (RDO) connection.
       Ran Verify Database. Popup stated "The database is up to date."
    But when I run "Show SQL Query", is still shows DbVersion1 in the text, and the report displays data from DbVerison1. When I display the Datasource Location for the report, it shows DbVersion2 as I changed to above. How do I "refresh" the SQL Query to recognize the new Datasource Location?
    Thanks,
    Gary

    Hi Gary,
    A possible couple of issues, CR 10 doesn't support SQL Server 2008 and it doesn't support Windows 7. We had to update CR XI R2 SP 6 and above to make SQL 2008 work. MS changed the name of their client dll so CR is not aware of the new drivers.
    MDAC native driver may work but not sure....
    Try OLE DB, it may work better.
    Thanks
    Don

  • How to set Command Timeout in Crystal report while calling from C# code

    I am using Crystal report XI R2.  I am calling SQL server 2005 stored procedure as source in the report. I want the report should timeout from the website if the stored procedure doesn't return resultset after 5 minute. Could you please assist how should I chnage the below code to achieve that.
    Code :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.CrystalReports.Design;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    using CrystalDecisions.CrystalReports.Engine;
    namespace CrystalTest
        public partial class _Default : System.Web.UI.Page
            protected ReportDocument rd;
            protected CrystalReportViewer Crv;
            protected void Page_Load(object sender, EventArgs e)
                rd = new ReportDocument();
                rd.Load(Request.MapPath("FXRate.rpt"));
                SetDBLogonForReport(GetCrvConnectionInfo(), rd);
                ParameterFields crtParamFields;
                ParameterDiscreteValue crtParamDiscreteValue1;
                ParameterField crtParamField1;
                ParameterDiscreteValue crtParamDiscreteValue2;
                ParameterField crtParamField2;
                ParameterDiscreteValue crtParamDiscreteValue3;
                ParameterField crtParamField3;
                ParameterDiscreteValue crtParamDiscreteValue4;
                ParameterField crtParamField4;
                ParameterDiscreteValue crtParamDiscreteValue5;
                ParameterField crtParamField5;
                ParameterDiscreteValue crtParamDiscreteValue6;
                ParameterField crtParamField6;
                crtParamFields = new ParameterFields();
                crtParamDiscreteValue1 = new ParameterDiscreteValue();
                crtParamField1 = new ParameterField();
                crtParamDiscreteValue1.Value = "USD";
                crtParamField1.ParameterFieldName = "@BaseCurrCode";
                crtParamField1.CurrentValues.Add(crtParamDiscreteValue1);
                crtParamFields.Add(crtParamField1);
                crtParamDiscreteValue2 = new ParameterDiscreteValue();
                crtParamField2 = new ParameterField();
                crtParamDiscreteValue2.Value = "EUR";
                crtParamField2.ParameterFieldName = "@CounterCurrCode";
                crtParamField2.CurrentValues.Add(crtParamDiscreteValue2);
                crtParamFields.Add(crtParamField2);
                crtParamDiscreteValue3 = new ParameterDiscreteValue();
                crtParamField3 = new ParameterField();
                crtParamDiscreteValue3.Value = "2008-05-28 00:00:00";
                crtParamField3.ParameterFieldName = "@FromDate";
                crtParamField3.CurrentValues.Add(crtParamDiscreteValue3);
                crtParamFields.Add(crtParamField3);
                crtParamDiscreteValue4 = new ParameterDiscreteValue();
                crtParamField4 = new ParameterField();
                crtParamDiscreteValue4.Value = "2008-05-28 00:00:00";
                crtParamField4.ParameterFieldName = "@ToDate";
                crtParamField4.CurrentValues.Add(crtParamDiscreteValue4);
                crtParamFields.Add(crtParamField4);
                crtParamDiscreteValue5 = new ParameterDiscreteValue();
                crtParamField5 = new ParameterField();
                crtParamDiscreteValue5.Value = "ashok12";
                crtParamField5.ParameterFieldName = "@CurrentUser";
                crtParamField5.CurrentValues.Add(crtParamDiscreteValue5);
                crtParamFields.Add(crtParamField5);
                crtParamDiscreteValue6 = new ParameterDiscreteValue();
                crtParamField6 = new ParameterField();
                crtParamDiscreteValue6.Value = DateTime.Now.ToString("dd MMM yyyy hh:mm");
                crtParamField6.ParameterFieldName = "@ClientTime";
                crtParamField6.CurrentValues.Add(crtParamDiscreteValue6);
                crtParamFields.Add(crtParamField6);
                Crv.ParameterFieldInfo = crtParamFields;
                Crv.DisplayGroupTree = false;
                Crv.BestFitPage = true;
                Crv.ReportSource = rd;
            private void SetDBLogonForReport(ConnectionInfo connectionInfo, ReportDocument reportDocument)
                Tables tables = reportDocument.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                    tableLogonInfo.ConnectionInfo = connectionInfo;
                    table.ApplyLogOnInfo(tableLogonInfo);
            public static CrystalDecisions.Shared.ConnectionInfo GetCrvConnectionInfo()
                CrystalDecisions.Shared.ConnectionInfo con = new CrystalDecisions.Shared.ConnectionInfo();
                con.ServerName = System.Configuration.ConfigurationSettings.AppSettings["conServer"].ToString();
                con.DatabaseName = System.Configuration.ConfigurationSettings.AppSettings["conDatabase"].ToString();
                con.UserID = System.Configuration.ConfigurationSettings.AppSettings["sesUser"].ToString();
                con.Password = System.Configuration.ConfigurationSettings.AppSettings["sesPwd"].ToString();
                return con;
            private void Page_Unload(object sender, System.EventArgs e)
                if (rd != null)
                    rd.Close();
                    rd.Dispose();
                if (Crv != null)
                    Crv.HasCrystalLogo = false;
                    Crv.Dispose();

    Yes it is possible to use datasets. resources listed below. One hting to be aware of; Using datasets larger than about 5,000 records (depending on the report) is not advisable. Performance will potentially be an issue with datasets that are too large.
    Crystal Reports Guide To ADO.NET
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20
    Reporting Off ADO.NET Datasets
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75
    VS2005_Walkthroughs
    http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
    VB samples:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    In the above samples see VBNET_WIN_ADODOTNET
    C# samples
    https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
    BTW., notes databse is here:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    Articles can be searched here;
    https://www.sdn.sap.com/irj/sdn/businessobjects-articles
    Ludek
    Edited by: Ludek Uher on Feb 17, 2009 1:22 PM

  • Crystal Reports Templates usage - SAP BW MDX query data

    Hi Ingo,
    How are you?
    I am experiencing issues with crystal reports when trying to use crystal reports templates with SAP BW data.
    I have successfully created Crystal Report using SAP BW data with NodeID,  ParentNodeID hierarchy, Crystal Hierarchical Grouping.
    Also developed Xcelsius Dashboard using Live Office --> Crystal Report (SAP BW data) with refresh data on open.
    Now trying to create a template for new crystal reports to be designedu2026
    The following are observed by me:
    1.     When I create a crystal report using Report Wizard and select  templates from  the list shown, the following error displayed for SAP BW data:
    2.     When I try to apply template using Template Expert and selecting the report which is created using SAP BW data (and formatted), the following error displayed:
    u201CCould not apply template to the documentu201D
    I would like to know, whether there are known issues with Crystal Reports Templates using SAP BW data?  If so, could you suggest any solutions/work around to this issue?
    Thanks & Regards,
    S.Salai Manimudiyan

    I tried the following three methods:
    1. Applied all the 12 Crystal Templates
    2. Applied my own reports as Template
    3. Also applied Crystal Report developed using Templates Fileds.
    None of the above is working.
    Created a report with BW query data and try to apply all the above templates but the same issue.
    If I create a report using eFashion universe and apply all the above works without any problem.
    I do agree with you that templates should not depend on the data source, as it is mainly for the common/standard report page layout (to reuse)...
    Could you pl. check at your end and let me know the results.
    Thanks & Regards,
    S.Salai Manimudiyan

  • Issues in BO report when creating from the BW query -

    Hi Gurus ,
    I am trying to create a report in BO which is coming from the BW query. I just want to duplicate the report currently in BW.
    I have a Product line in the row and 23 key figures (Caluculate KF) in the columns and 10 more chars in the free charcterstics in BW query.
    Created a universe based on this query and created a report in BO . Intially I used product line and all the 23 KF in the report.
    The report data matched to Source report(BW). Fine.
    The issue is when I am adding the chars from the free chars (as in BW) to the BO report the CKF are messing up, especillay some of the CKF are % and If I drag any other chars , the data is not coming correctly.
    Please let me know if this is not clear enough to understand the problem.
    Please advise

    Hi Ingo,
    Thanks for your help. When I changed the property to Database Deligant in universe and in the report when I  refresh,
    I am getting #ToREFRESH in the columns.
    This is the CKF from the BW query which calculates the %A value.
    Here is the caluculation in BW for that field. *MTD %A Prior Year.*
    By default when I run the report in BO the numbers are matching.
    When I add region and other chars to the report, the CKF values are not matching.
    Please advise how to approach this issue.
    Thanks,
    Aruna..

  • Crystal reports show rows of a field in detail section in number of columns while exporting in ms excel

    Hi,
    I have a crystal report and a field called source.
    The source field can contain more than one records.
    When I export it to ms excel then source field is shown in three rows in excel.
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    But now I want to export to excel in the following format
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    The Name and Batch No field are in Group Header and Source in detail section.
    Also the Source field can vary in number i.e. there can be any number of Source.
    And I only want this type of output when exporting to MS Excel.
    Is there any way to do this?
    Please reply.
    Thanks.

    Try this:
    1) Create a formula with this code and place it on the Details Section:
    whileprintingrecords;
    numbervar x := x + 1;
    stringvar col1;
    stringvar col2;
    stringvar col3;
    if x = 1 then col1 = {Source}
    else if x = 2 then col2 = {Source}
    else if x = 3 then col3 = {Source};
    2) Create another formula and place this on the Group Header:
    whileprintingrecords;
    numbervar x := 0;
    stringvar col1 := "";
    stringvar col2 := "";
    stringvar col3 := "";
    3) Create three separate formulae - one each for the three Source columns and place these on the Group Footer:
    E.g. for first Source column:
    whileprintingrecords;
    stringvar col1;
    E.g. for second Source column:
    whileprintingrecords;
    stringvar col2;
    Drag and drop these formulae beside each other on the GF.
    4) Move the 'Name' and 'Batch No.' fields from the Group Header to the Group Footer
    5) Suppress Group Header and the Details Section.
    -Abhilash

  • How to hide row from table after logical delete

    Hello.
    I am using Jdeveloper 11.1.1.3.0, ADF BC and ADF Faces.
    I want to implement Logical delete in my application.
    In my Entity object I have Deleted attribute and I override the remove() method in my EntityImpl class.
        @Override
        public void remove()
           setDeleted("Y");
        }and I added this condition to my view object
    WHERE NVL(Deleted,'N') <> 'Y'in my page I have a table. this table has a column to delete each row. I dragged and drop RemoveRowWithKey action from the data control
    and set the parameter to *#{row.rowKeyStr}* .
    I what I need is this:
    when the user click the delete button I want to hide the roe from the table. I tried to re-execute the query after the delete but the row is still on the page. Why execute query does not hide the row from the screen.
    here is the code I used for delete and execute query
        public String deleteLogically()
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc=(DCBindingContainer) bindings;
            DCIteratorBinding iter=dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
            //iter.getViewObject().executeQuery();
            iter.executeQuery();
            return null;
        }as you see I used two method iter.getViewObject().executeQuery(); and  iter.executeQuery(); but the result is same.

    Thank you Jobinesh.
    I used this method.
        @Override
        protected boolean rowQualifies(ViewRowImpl viewRowImpl)
          Object attrValue =viewRowImpl.getAttribute("Deleted"); 
            if (attrValue != null) { 
             if ("Y".equals(attrValue)) 
                return false; 
             else 
                return true; 
            return super.rowQualifies(viewRowImpl);
        }But I have one drawback for using it, and here is the case:
    If the user clicks the delete button *(no commit)* the row will be hidden in the table, but when the user click cancel changes the row is not returned since it is not returned due to the rowQualifies(ViewRowImpl viewRowImpl) (the Deleted attribute is set to "N" now).
    here is the code for delete and cancel change buttons
        public String deleteLogically()
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("removeRowWithKey");
            Object result = operationBinding.execute();
            DCBindingContainer dc = (DCBindingContainer)bindings;
            DCIteratorBinding iter =
                dc.findIteratorBinding("TakenMaterialsView4Iterator");
            iter.getCurrentRow().setAttribute("Deleted", "Y");
             iter.executeQuery();
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.getTakenMaterialsTable());
            return null;
        public String cancelChanges(String iteratorName)
            System.out.println("begin cancel change");
            BindingContainer bindings =
                BindingContext.getCurrent().getCurrentBindingsEntry();
            DCBindingContainer dc = (DCBindingContainer)bindings;
            DCIteratorBinding iter =
                (DCIteratorBinding)dc.findIteratorBinding(iteratorName);
            ViewObject vo = iter.getViewObject();
            //create a secondary RowSetIterator to avoid disturbing row currency
            RowSetIterator rsi = vo.createRowSetIterator(null);
            //move the currency to the slot before the first row.
            rsi.reset();
            while (rsi.hasNext())
                    currentRow = rsi.next();
                    currentRow.setAttribute("Deleted", "N");
            rsi.closeRowSetIterator();
            iter.executeQuery();
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.getTakenMaterialsTable());
            return null;
        }as example, if the user initially has 8 rows, then deleted 2 rows, in cancelChanges only 6 rows appears. and the deleted rows are not there??
    any suggestion?

  • Crystal Report Missing SAP InfoSet, SAP BW Query Connector

    Hi,
    I have installed SAP GUI  for Windows 7.2 (Compilation 2) and Crystal Report 2008 SP2 then following by installed SAP Integration Kits 3.1 SP3 on my workstation. However, when i launch my Crystal Report designer, it do shows SAP toolbar however when i click on one of the icon (eg: Setting) the entire CR will hung and prompt me error and exit automatically.
    Beside that, i could not find any connector for SAP (Eg: SAP InfoSet, SAP BW Query and etc) when i create a new blank report by click on the New Connection.
    Appreciated anyone know this could assist on this.
    Thank You.
    Regards,
    CK

    Hi Ingo,
    Thanks for your prompt reply. I will sort it out and ensure the release version will be the same as Inter Kits.
    By the way, i saw your post regarding the Integration Kits installation and configuration. However, i still need some clarification; appreciated you could assist me on this.
    I have installed SAP BOXI3.1 SP3 on an LINUX machine (Redhat Enterprise 5) and the server was running fine without connecting to BW or SAP eCIBS.
    Now, i have to establish the connectivity to BW (InfoCuve and BW Query) and SAP eCIBS system. As my customer requirement was required to using WEBI, CR and Xcelsius for connecting to BW for getting the data and then using scheduler in BOE for performing report distribution. Some of the report will connecting to SAP eCIBS directly and that will using our Client's machine for creating the report (using CR2008) and then publish to the BOE platform for report scheduling and distribution.
    My question, i wish to install SAP Inter Kits and downloaded Inter. Kits for SAP Solution 3.1 SP3 from service market place. When i refer to the document from help.sap.com; there are couple of section but i wish to know which are the perquisite section that i wish to install and configure?
    Eg: System Requirement which are installing SAP RFC SDK and SAP JCO SDK into my BOE server, then following my create a logon token. How to to that? It also require to install SAP Java Connector and SAP GUI, does these two available for LINUX OS as well?
    The steps in doc was confuse, appreciated your kind help.
    THanks.
    Regards,
    CK.

Maybe you are looking for

  • MX Installation error

    I am reinstalling an upgrade copy of CFMX on a replacement server. I've installed this version on several different Windows 2000 servers over the past few years. This is the first time I've installed in on Windows 2003 Std Ed. I have selected IIS and

  • Bapi for Posting the vendor payment.F-53

    Hi, I need to post a document for Vendor payment using BAPI, by providing the Vendor Invoice number as Reference number which was created by using the FM PRELIMINARY_POSTING_FB01. I can able to generate a Vendor invoice, But i cant able to make this

  • Reg Adding a Subscreen in S_AE2_89000019

    Halo Gurus, I need to add a subscreen to a Transaction S_AE2_89000019 in CRM. Its a action box i need to add. I think I am clear about the question. Any Suggestions would be rewarded. Regards Leo

  • CS4 InDesign Export Book for Digital Edition - Using TOC

    We have been using InDesign 3, now CS4 Version 6.0.2, to create book PDFs without any issues for a few years. Recently we tried to use the new feature "Export to Digital Edition". It works correctly as long as we do not select "Include InDesign TOC e

  • Transfer iPod to a computer

    Is there a way to put all of my music FROM the iPOD TO a computer?