Regex fails to match, so it reports closest match

Hi Guru's,
I am using the regex API to match 2 lines of a message. If the match fails the 2 lines are reported to the user so they can see what has failed. Unfortunately the lines I am comparing are very long. (1000+ chars) So the user needs an indication of exactly what has failed.
I was wondering if it is possible to use get a regex's closest match. So if whilst parsing, the regex managed to match 250/1000 characters I could tell user to start looking around character 250 for differences in the message.
I have had a good google and can't find out how to do this, I have also quickly looked at the ORO perl5 api documentation, but cant find any code that implements this.
Any help would be appreciated. thanks.

I don't know of a way to do this, you could look into ParsePosition, but I don't know if you'll get usefull output if it doesn't match (it's worth a try, 'though).
Otherwise you'd probably need a "real" parser. They can usually give very accurate positions for the errors (usually off-by-one token/line).

Similar Messages

  • Report miss match error

    hi guys,
    Can anyone tell me what is the easiest way to find out Report miss match error of  bi with r3 report especially in fi.
    thanks in advance,
    regards,
    Bunty.

    lots of ways we can do that.Check your reconciliation reports at your organistaion , then you will get an idea how they compare each time otherwise in general everybody copies data in excel and want to compare.

  • Sales orders Dispatch Actual No of pipes do not match with R3 report

    Dear Gurus,
    Looking Ur assistance for an issue.
    Issue: For some of the sales orders Dispatch Actual No of pipes do not match with R3 report. Actual No of Pipes matches with LIKP table values in R3. Query needs to be modified to restrict records as per logic in WGSRLDES report/program.
    Can U help me in this Regard.
    Ur Responses are most appreciated.

    Hey Pathak,
                        The problem is, BI report is matching with the datails with R/3 LIKP table. But the business user is using Report WGSRLDES report/program, where the data is missmatching.
    Hope U got my Point.

  • Database Logon Failed which created by Crystal Report 2008

    this time i meet the famous error again which is database logon failed.
    i created a crystal report 2008 starting from blank report, then connect with odbc
    i use 2008 method
    objRpt.SetDatabaseLogon(db_username, db_password, odbc_name, database_name);
    2008 method will get database logon failed even set database location and verify database again
    then i use 8.5 method and try again for 2008 report. it said field name is unknown for one of formula
    then i drag field again for formula and set database location and verify database again
    it said the same error.
    then i uninstall 8.5 crytal report software in window 7 deployment machine, and do above again, it said the same error
    //'Create a new Stored Procedure Table to replace the reports current table.
            CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
            //'boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
            PropertyBag boMainPropertyBag = new PropertyBag();
            //'boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
            //'In the main property bag (boMainPropertyBag)
            PropertyBag boInnerPropertyBag = new PropertyBag();
            //'Set the attributes for the boInnerPropertyBag
            boInnerPropertyBag.Add("Connect Timeout", "15");
            //boInnerPropertyBag.Add("Data Source", "MyDataSource");
            boInnerPropertyBag.Add("Data Source", "10.1.1.191");
            boInnerPropertyBag.Add("DataTypeCompatibility", "0");
            boInnerPropertyBag.Add("General Timeout", "0");
            //boInnerPropertyBag.Add("Initial Catalog", "MyCatalog");
            boInnerPropertyBag.Add("Initial Catalog", database_name);
            boInnerPropertyBag.Add("Integrated Security", "False");
            boInnerPropertyBag.Add("Locale Identifier", "1033");
            boInnerPropertyBag.Add("MARS Connection", "0");
            //boInnerPropertyBag.Add("OLE DB Services", "-5");
            //boInnerPropertyBag.Add("ODBC", "-5");
            boInnerPropertyBag.Add("ODBC", "Cheque");
            boInnerPropertyBag.Add("Provider", "SQLNCLI");
            boInnerPropertyBag.Add("Tag with column collation when possible", "0");
            boInnerPropertyBag.Add("Trust Server Certificate", "0");
            boInnerPropertyBag.Add("Use Encryption for Data", "0");
            //'Set the attributes for the boMainPropertyBag
            boMainPropertyBag.Add("Database DLL", "crdb_ado.dll");
            //boMainPropertyBag.Add("Database DLL", "p2sodbc.dll");
            //boMainPropertyBag.Add("QE_DatabaseName", "VEPILOT");
            boMainPropertyBag.Add("QE_DatabaseName", database_name);
            //boMainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
            boMainPropertyBag.Add("QE_DatabaseType", "ODBC");
            //'Add the QE_LogonProperties we set in the boInnerPropertyBag Object
            boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
            boMainPropertyBag.Add("QE_ServerDescription", "MyServer");
            boMainPropertyBag.Add("QE_SQLDB", "True");
            boMainPropertyBag.Add("SSO Enabled", "False");
            //'Create a new ConnectionInfo object
            CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
            //'Pass the database properties to a connection info object
            boConnectionInfo.Attributes = boMainPropertyBag;
            //'Set the connection kind
            boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
            //'*EDIT* Set the User Name and Password if required.
            boConnectionInfo.UserName = db_username;
            boConnectionInfo.Password = db_password;
            //'Pass the connection information to the table
            boTable.ConnectionInfo = boConnectionInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables = objRpt.ReportClientDocument.DatabaseController.Database.Tables;
                CrystalDecisions.CrystalReports.Engine.Tables tables = objRpt.Database.Tables;
                foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
                    if (!string.IsNullOrEmpty(table.Name))
                        //boTable.Name = table.Name;
                        //boTable.QualifiedName = database_name + ".dbo." + table.Name;
                        //boTable.Alias = table.Name;
                        boTable.Name = "sp_ChequeIssueDetRpt";
                        boTable.QualifiedName = database_name + ".dbo.sp_ChequeIssueDetRpt";
                        boTable.Alias = "sp_ChequeIssueDetRpt";
                        objRpt.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                objRpt.VerifyDatabase();
    http://sourceforge.net/projects/aspchequesprint/files/ChequeIssueDet.rpt/download

    No subreport, only a stored procedure with final two lines are
    print @m_sql
    exec (@m_sql)
    After use generated code in the link above
    Error at boReportDocument.VerifyDatabase();
    Inner Exception : no error
    Message "Logon failed"
    ErrorID : CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    HelpLink : null
    stacktrace :  CrystalDecisions.CrystalReports.Engine.ReportDocument.VerifyDatabase()\r\n   at viewReport.Page_Load(Object sender, EventArgs e) 於 d:
    Data
    My Documents
    Visual Studio 2008
    WebSites
    Cheques
    viewReport.aspx.cs: row 1302\r\n   at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n   at System.Web.UI.Control.OnLoad(EventArgs e)\r\n   at System.Web.UI.Control.LoadRecursive()\r\n   於 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    TargetSite : {Void VerifyDatabase()}
    string reportPath = report_path + "ChequeIssueDet.rpt";
                boReportDocument = new ReportDocument();
                //**EDIT** Change the path and report name to the report you want to change.
                boReportDocument.Load(reportPath, OpenReportMethod.OpenReportByTempCopy);
                //Create a new Stored Procedure Table to replace the reports current table.
                CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable =
                new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
                //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
                PropertyBag boMainPropertyBag = new PropertyBag();
                //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
                //In the main property bag (boMainPropertyBag)
                PropertyBag boInnerPropertyBag = new PropertyBag();
                //Set the attributes for the boInnerPropertyBag
                boInnerPropertyBag.Add("Database", database_name);
                boInnerPropertyBag.Add("DSN", "Cheque");
                boInnerPropertyBag.Add("UseDSNProperties", "False");
                //Set the attributes for the boMainPropertyBag
                boMainPropertyBag.Add("Database DLL", "crdb_odbc.dll");
                boMainPropertyBag.Add("QE_DatabaseName", database_name);
                boMainPropertyBag.Add("QE_DatabaseType", "ODBC (RDO)");
                //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "Cheque");
                boMainPropertyBag.Add("QE_SQLDB", "True");
                boMainPropertyBag.Add("SSO Enabled", "False");
                //Create a new ConnectionInfo object
                CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
                new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
                //Pass the database properties to a connection info object
                boConnectionInfo.Attributes = boMainPropertyBag;
                //Set the connection kind
                boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
                //**EDIT** Set the User Name and Password if required.
                boConnectionInfo.UserName = db_username;
                boConnectionInfo.Password = db_password;
                //Pass the connection information to the table
                boTable.ConnectionInfo = boConnectionInfo;
                //Get the Database Tables Collection for your report
                CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
                boTables = boReportDocument.ReportClientDocument.DatabaseController.Database.Tables;
                //For each table in the report:
                // - Set the Table Name properties.
                // - Set the table location in the report to use the new modified table
                boTable.Name = "sp_ChequeIssueDetRpt;1";
                boTable.QualifiedName = database_name+".dbo.sp_ChequeIssueDetRpt;1";
                boTable.Alias = "sp_ChequeIssueDetRpt;1";
                boReportDocument.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
                //Verify the database after adding substituting the new table.
                //To ensure that the table updates properly when adding Command tables or Stored Procedures.
                boReportDocument.VerifyDatabase();
                //**EDIT** Set the value for the Stored Procedure parameters.
                string m_curUser = "";
                int spid = Convert.ToInt32(Request.Cookies["login_cookie"]["spid"]);
                queryString = "select * from v_All_Session where SPID=" + spid.ToString();
                //string _connectionString = ConfigurationManager.ConnectionStrings["ChequeConnectionString"].ConnectionString;
                using (SqlConnection connection = new SqlConnection(_connectionString))
                    SqlCommand command = connection.CreateCommand();
                    command.CommandText = queryString;
                    connection.Open();
                    using (SqlDataReader datareader = command.ExecuteReader())
                        if (datareader.HasRows == true)
                            while (datareader.Read())
                                if (datareader["UserID"] != System.DBNull.Value)
                                    m_curUser = datareader["UserID"].ToString();
                        datareader.Close();
                    connection.Close();
                boReportDocument.SetParameterValue("@UserID", m_curUser);
                if (string.IsNullOrEmpty(Session["fm_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@fm_CoCode", Session["fm_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["to_CoCode"].ToString()))
                    boReportDocument.SetParameterValue("@to_CoCode", Session["to_CoCode"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BankACNo", Session["fm_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BankACNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BankACNo", Session["to_BankACNo"].ToString());
                if (string.IsNullOrEmpty(Session["fm_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@fm_BatchNo", Session["fm_BatchNo"].ToString());
                if (string.IsNullOrEmpty(Session["to_BatchNo"].ToString()))
                    boReportDocument.SetParameterValue("@to_BatchNo", Session["to_BatchNo"].ToString());
    Edited by: Mathew_666 on Jul 19, 2011 4:27 AM
    Edited by: Mathew_666 on Jul 19, 2011 4:28 AM

  • When syncing iPod the PC lost power. once power restored synced iPod but the sleeve detail has been blanked. Also when syncing a 'miss-match' message is reported on iTunes. how do I get the sleeve detail back onto iPod?

    When syncing iPod the PC lost power. once power restored synced iPod but the sleeve detail has been blanked. Also when syncing a 'miss-match' message is reported on iTunes. how do I get the sleeve detail back onto iPod?

    http://ww2.cs.fsu.edu/~rosentha/linux/2.6.26.5/docs/DocBook/libata/ch07.html#excatATAbusErr wrote:
    ATA bus error means that data corruption occurred during transmission over ATA bus (SATA or PATA). This type of errors can be indicated by
    ICRC or ABRT error as described in the section called “ATA/ATAPI device error (non-NCQ / non-CHECK CONDITION)”.
    Controller-specific error completion with error information indicating transmission error.
    On some controllers, command timeout. In this case, there may be a mechanism to determine that the timeout is due to transmission error.
    Unknown/random errors, timeouts and all sorts of weirdities.
    As described above, transmission errors can cause wide variety of symptoms ranging from device ICRC error to random device lockup, and, for many cases, there is no way to tell if an error condition is due to transmission error or not; therefore, it's necessary to employ some kind of heuristic when dealing with errors and timeouts. For example, encountering repetitive ABRT errors for known supported command is likely to indicate ATA bus error.
    Once it's determined that ATA bus errors have possibly occurred, lowering ATA bus transmission speed is one of actions which may alleviate the problem.
    I'd also add; make sure you have good backups when ATA errors are frequent

  • Partition Failed Partition failed with the error: POSIX reports: The operation couldn't be completed. CAN NOT ALLOCATE MEMORY

    I plug usb mass storage device to my macbook pro i7 than every thing is stack and i reinforce to shutdown and than I start again but mac fail to boot again.
    I tried different optiones in disk utility in mac os startup disk. but still fail to repair, erase and partition. I try to fix with the steps listed in
    https://discussions.apple.com/message/13288923#13288923
    but it fail to partition with the msg:
    Partition Failed
         Partition failed with the error: POSIX reports: The operation couldn’t be completed.cannot allocate memory
    pls pls pls help urgentely on this matter I stop working.
    Kind Regards,
    pe

    Hi again OGELTHORPE.
    I've already run two hardware tests. One quick one and one extended one. It was unable to pick anything up.
    It's like everything is running perfectly, but when I go to erase the HDD or partition it, it pops up with the error message. Even when I try to erase and partition using "Terminal", I received the same error message.
    It's beginning to do my head in, but will see if replacing the SATA cable will make any difference. If it doesn't, I'll hazard a guess it could be the Logic Board.
    Thanks again for your suggestions!
    L.

  • Solution Manager Installation Fails at step Run ABAP Reports

    I'm trying to install Solution Manager 4.0 on Windows 2003 using SQL 2005.  The installation fails at the Run ABAP Reports step: Executing ABAP report RADDBDIF
    I have logged in manually and run the RADDBDIF job in SE38 but I receive the same error message.  My SAPTRANHOST is properly defined and so are the shares.  Can anyone help? Thank!
    Here's the sapinst_dev.log:
    Calling function module: INST_RFC_GET_INTERFACE
    INFO       2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:1065]
               CAbRfcImpl::performFunctionCall
    Function call was successful.
    TRACE      2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:1066]
               CAbRfcImpl::performFunctionCall
    Function module call succesful: INST_RFC_GET_INTERFACE
    INFO       2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:924]
               CAbRfcImpl::getRfcInterfaceSAP
    Function interface generated successfully.
    INFO       2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:926]
               CAbRfcImpl::getRfcInterfaceSAP
    Technical properties of function set successfully.
    INFO       2008-10-21 14:00:34.842 [iaxxrfcfls.cpp:107]
               CRfcFuncRep::insFuncIf
    Information for application function INST_EXECUTE_REPORT copied to local repository.
    TRACE      2008-10-21 14:00:34.842 [iaxxrfcfls.cpp:108]
               CRfcFuncRep::insFuncIf
    Function interface entered into repository for INST_EXECUTE_REPORT
    INFO       2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:622]
               CAbRfcImpl::setFunction
    Function module INST_EXECUTE_REPORT set successfully.
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.setFunction() done: true
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.setParameter(PARA, [])
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.setParameter() done: true
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.setParameter(PROGRAM, RADDBDIF)
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.setParameter() done: true
    TRACE      2008-10-21 14:00:34.842
    2008-10-21 14:00:34.842 JSCo.execute()
    INFO       2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:1032]
               CAbRfcImpl::callFunction
    Executing function call INST_EXECUTE_REPORT.
    TRACE      2008-10-21 14:00:34.842 [iaxxrfcimp.cpp:1056]
               CAbRfcImpl::performFunctionCall
    Calling function module: INST_EXECUTE_REPORT
    ERROR      2008-10-21 14:00:35.045 [iaxxrfcimp.cpp:1089]
               CAbRfcImpl::performFunctionCall
    FRF-00025  Unable to call function. Error message: Exception condition "WRITE_FAILED" raised. .
    TRACE      2008-10-21 14:00:35.045 [iaxxrfcimp.cpp:1090]
               CAbRfcImpl::performFunctionCall
    RFC failure or system exception raised
    TRACE      2008-10-21 14:00:35.045 [iaxxrfcimp.cpp:1091]
               CAbRfcImpl::performFunctionCall
    Exception condition "WRITE_FAILED" raised.
    INFO       2008-10-21 14:00:35.045 [iaxxbjsco.cpp:561]
               CIaJSCo::disconnect_nothrow(000:DDIC:EN:nath02:00::SOL:)
    RFC connection closed.
    TRACE      2008-10-21 14:00:35.45 [iaxxejsbas.hpp:408]
               handleException<ERfcExcept>()
    Converting exception into JS Exception ERfcException.
    TRACE      2008-10-21 14:00:35.045
    Function setMessageIdOfExceptionMessage: modlib.jslib.caughtException
    ERROR      2008-10-21 14:00:35.045
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..
    TRACE      2008-10-21 14:00:35.45 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2008-10-21 14:00:35.45 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR ( Last error reported by the step :Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..).
    TRACE      2008-10-21 14:00:35.61 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP Solution Manager 4.0 Support Release 4 > SAP Systems > MS SQL Server > Central System > Central System( Last error reported by the step :Caught ERfcExcept in Modulecall: Exception condition "WRITE_FAILED" raised..). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/SOLMAN/SYSTEM/MSS/CENTRAL/AS. </p> </body></html>
    TRACE      2008-10-21 14:00:35.61 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI

    Hello Amélie,
    Check the file systems if you're not ran out of disk space.
    Second, check the database if you've enough storage space left.
    Hope it helps.
    Cheers,
    Satish.

  • Drill down value not matching with Displayed Report Painter Issue-GR55

    Hi,
    Need your help for an issue in drill down value of report painter from actual cost coloumn.
    I have created a new report group based on OSS Note-157720 in GR55 Traction. This new report group will provide data of Planed / Actual cost, Planned / Actual Quantity of the project in range of fiscal year/periods. The issue in this report is displayed data of actual cost is not matching with drill down data. The actual cost coloumn is formula coloumn which framed by subtracting All periods cost coloumn, Before Periods Cost Coloumn and After periods cost coloumn.
    Could you suggest on this issue.
    Thank you for your cooperation.
    Regards,
    Rakesh

    The report you are running first might have been created with some hidden columns that contain more than one variables relating to period and fiscal year. These may not be matching those that are required to run the drilldown. Look into the definition of the drilldown report. If you would want to match the first report, It may be better to identify which report runs on drilldown and the run that report with the required parameters.

  • Accounts Payable Reconciliation Account does not match with sap report

    Hello Folks,
    I have problem with AP reconciliation account, that the balances in FS10N for a particular Company Code for particular reconciliation account balance do not match with the report run to show the vendor  balances in local currency (report tcode F.98). Balance does not match for last posting period of the FY.
    I have tried looking all the vendors in that particular GL recon account and ran the report, but still it i wast able to find out anything. May be Special GL transaction posting be there, but how to check that is there any spl gl transaction it there in the recon account.
    I this to be solved by tonight, all the inputs will be very much appreciated and point will be assigned for sure.
    Thanks you all.

    Hi,
    In the report you have to G/L accounts where you can select on:
    The reconsilation account form the Vendor
    The G/L account where to posting is created on.
    It is possible that there are differences when you have change the reconsilation account form the Vendor.
    The old posting are on the old and new on the nwe account. Perhaps you mis some Special G/L Indicators
    It is possible that values are changed when you run the reports
    Paul

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.

    Sql 2008 R2
    Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx. 
    If I call rs.exe with the various parameters from the command prompt I  have success(other than rs.exe using the temp folder, which is a different issue).  But when I try to execute the same process from a Visual Basic 6.0 application utilizing
    the ShellEx api call, the report creation and output to PDF format do not occur.   There is no error raised.
    Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work.  Can ya'll tell me what I'm doing wrong?
    sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
    " -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
    Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
    TIA,
    Jim M.

    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
    Hello Jim,
    The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Report not matching FBL5N & FBL1N ? ? ? ? ?

    Dear All
    Experts ,
    Facing one problem that our customer is our vendor too and for that we do refer FBL5N & FBL1N.
    It is required in according to that both reports must matched. But once the user reverse one document and it is
    not showing in FBL1N report while FBL5N showing right balances and transaction figures.
    What may be the reason for not showing one reversal ?
    Experts please help.
    Regards,
    Pankaj.

    Hi
    Kolipara.
    If I check those boxes will it solve my problems ?
    How to deal with the earlier posted entries ? The difference is around Rs.20,000/- and if I again reverse the document
    the effect will take place at both side and difference will be same as earlier.
    So I want to rectify that issue.
    further all transaction will manage by ticking those boxes but earlier are much problem either.
    And I checked the masters of my other vendor and customer who are same in those, there boxes are unicked but
    still balances are matching . . . How so ?
    Can you please put a focus on it !
    Regards,
    Pankaj.

  • Failed to read data from report file Reason: The table could not be found.

    BO Enterprise XI R2, cannot publish crystal reports using the publishing wizard.
    Failed to read data from report file Reason: The table could not be found.
    Any ideas to get around this would really help out.
    Regards

    Connection used Views, ODBC System DSN is setup properly.
    Approach for import from business view manager and import wizard.  both methods failed to import the Business View and underlying reports.
    I figure I may have imported the Business View wrong? From Business View Manager I exported from my dev server then imported to prod server.
    Apparently I learned exporting my business view also includes the Data Connections that the Business Views are dependent upon.
    So which ever folder you specify it copies it there. Originally the all Data Connections Resides on the root folder. To return it to the original location. I deleted what I had exported. Exported this time to the root folder, then only deleted the business views, foundation, elements. Then exported again to the folder where I intended then only deleted the Data Connection.
    Makes any sense? So I then had to re point the business views and all the dependent objects to the data connection that resides in the root folder.
    I tested the connection, it works fine. I properly updated my crystal reports to the business view in production. Did a sample extract it works as expected.
    However when i try to publish, either from Crystal or Publish wizard i get the same error?
    As a work around i am thinking, after updating the business view in the crystal reports, shall i re map the fields?? or reexport the business views again?
    Any help will be surely appreciated.

  • CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.System Copy

    Experts,
    I am performing Homogeneous System copy using backup/restore method.I have taken QA system backup ie dump files and trying to build on Sandbox system for testing purpose.Everything went fine and was able to load the dump but stuck at one of the point and throwing me error
    ERROR      [cinstallercallbackimpl.cpp:228]
    CJS-00030  Assertion failed: Execution of SQL script reports an unexpected error.
    When I checked the sapinst_dev log I found the below error but not able to fix it and not aware to proceed further
    1> use SID
    1> EXEC sp_changedbowner sapsa
    Msg 17362, Level 16, State 1:
    Server 'SID', Procedure 'sp_changedbowner', Line 181:
    The proposed new db owner already is a user in the database or owns the database.
    (return status = 1)
    I am sure these may be small changes that have to be made by changing the db owner and Im not exactly sure how to perform it.
    Note:I am Using the Windows environment with Sybase ase database and SWPM tool to perform.
    Appreciate your suggestions
    Thanks

    I fixed the issue ..by changing the owner sapsa.Bingo !!!!

  • I want to display the number of Passed / failed tests in Testtand xml report , please help me

    Hi, I want to display the number of Passed / failed tests in Testtand xml report , please help me.
    My requirement is later i should be able to display these number of passed/failed test in report header too.
    Solved!
    Go to Solution.

    I have attached a sequence to give you an idea of how to get the Result count (I didn't check it's working ), I have used "SequenceFilePostResultListEntry" callback to calculate the Result Count,
    and the Result Count is passed to the "ModifyReportHeader" through File Globals,  where you can edit the XML file to show it in the Repot (follow the link in my previous post).
    Hope this helps
    AshwiN,
    Attachments:
    Get Result Count.seq ‏8 KB

Maybe you are looking for

  • Hundreds of Identical Files & Folders Show In All Spotlight Searches

    Hundreds of Identical Files & Folders Show In All Spotlight Searches Hi, I had this issue posted in September and didn't get back to it 'till today so I found it archived. I don't think I got any answers the first time around. When a post is archived

  • Help with Hidden Drop Down Lists in RBList subforms

    I have created a form that contains 3 isolated Radio Button lists, each with hidden subforms that are unique per each button. Two of my RBLists and subforms work perfectly, showing hidden Drop Down List options and other fields as they should when a

  • Applet compiles but does not appear...

    the applet compiles but does not appear :( all that appears is a blank box...hopefully someone can help import java.awt.*; import java.applet.*; import java.awt.event.*; public class program2 extends Applet implements ActionListener      private Butt

  • FUnction to calculate unique key

    Hi All, I have a situation where my source is 32 char length and destination InfoObject is only 20 char length. I want to derive a 20 char or less key from 32 char and store it in my InfoObject. The key should be unique to a char sequence. I should a

  • After system copy new system size is leeer than old system

    Hii, Our client system is upgrading now. So Production BW system copy is done to new system. New system size is lesser than the Production system. Could any one let me know why this was happen. All the available in production BW is availalable in New