Report: channel description error in multiple tables

I get several error messages when creating more than one channel table and wanting to display the channel descriptions. Is there something wrong with the assignment of the description value to the header line? I attached a minimum example:
Option Explicit 'Forces the explicit declaration of all the variables in a script.
Call Data.Root.Clear()
Call DataFileLoad("C:\Program Files (x86)\National Instruments\DIAdem 2014\Examples\Data\Example_data.tdm")
Call Report.NewLayout()
Dim oMySheet, oMyTable, oMyColumn, oMyGrp, iCount, gCount
For gCount = 1 To GroupCount
Set oMyGrp = Data.Root.ChannelGroups(gCount)
Set oMySheet = Report.Sheets.Add("Table" & gCount)
Set oMyTable = oMySheet.Objects.Add(eReportObject2DTable,"Table" & gCount)
oMyTable.Settings.Header.Title2 = "@@Data.Root.ChannelGroups(CurrGroupIdx).Channels(CurrChnNo).Properties("& Chr(34) &"description"& Chr(34) &").Value@@"
oMyTable.Settings.Header.UseAutoFontSize = TRUE
oMyTable.Position.ByBorder.Bottom = 5
oMyTable.Position.ByBorder.Top = 5
oMyTable.Position.ByBorder.Left = 5
oMyTable.Position.ByBorder.Right = 5
For iCount = 1 To oMyGrp.Channels.Count
Set oMyColumn = oMyTable.Columns.Add(e2DTableColumnChannel)
oMyColumn.Channel.Reference = oMyGrp.Channels(iCount).GetReference(eRefTypeIndexName)
Next
Next
Call Report.Refresh()
As you will see, everything works fine for the first table, but errors are produced for all the following ones. 
/Phex
Solved!
Go to Solution.

Hi Walter,
thanks for the input. In the meanwhile I found a more versatile solution, which even updates the channel description in the report when it is being changed afterwards by using the ChnComment command:
Call Data.Root.Clear()
Call DataFileLoad("C:\Program Files (x86)\National Instruments\DIAdem 2014\Examples\Data\Example_data.tdm")
call WNDShow("Report", "maximize")
Call Report.NewLayout()
Dim oMySheet, oMyTable, oMyColumn, oMyGrp, iCount, gCount
For gCount = 1 To GroupCount
Set oMyGrp = Data.Root.ChannelGroups(gCount)
Set oMySheet = Report.Sheets.Add("Table" & gCount)
Set oMyTable = oMySheet.Objects.Add(eReportObject2DTable,"Table" & gCount)
oMyTable.Settings.Header.Title2 = "@@ChnComment(CCN)@@"
oMyTable.Settings.Header.UseAutoFontSize = TRUE
oMyTable.Position.ByBorder.Bottom = 5
oMyTable.Position.ByBorder.Top = 5
oMyTable.Position.ByBorder.Left = 5
oMyTable.Position.ByBorder.Right = 5
For iCount = 1 To oMyGrp.Channels.Count
Set oMyColumn = oMyTable.Columns.Add(e2DTableColumnChannel)
oMyColumn.Channel.Reference = oMyGrp.Channels(iCount).GetReference(eRefTypeIndexName)
Next
Next
Call Report.Refresh()
Could you please explain why it was not working with my previous code?
oMyTable.Settings.Header.Title2 = "@@Data.Root.ChannelGroups(CurrGroupIdx).Channels(CurrChnNo).Properties("& Chr(34) &"description"& Chr(34) &").Value@@"
 Another example scenario would be if I may want to display the first channel value of each channel:
oMyTable.Settings.Header.Title2 = "@@Data.Root.ChannelGroups(CurrGroupIdx).Channels(CurrChnNo).Values(1)@@"
OR when wanting to show a self-assigned property:
For iCount = 1 To oMyGrp.Channels.Count
Set oMyColumn = oMyTable.Columns.Add(e2DTableColumnChannel)
oMyColumn.Channel.Reference = oMyGrp.Channels(iCount).GetReference(eRefTypeIndexName)
Call oMyGrp.Channels(iCount).Properties.Add("xyz","abc")
Next
oMyTable.Settings.Header.Title2 = "@@Data.Root.ChannelGroups(CurrGroupIdx).Channels(CurrChnNo).Properties("& Chr(34) &"xyz"& Chr(34) &").Value@@"
These examples produce the same strange behaviour. 
The general question would be: How can I display updatable channel properties in REPORT using an object-oriented approach?
/Phex

Similar Messages

  • Write Back from OBIEE 11g to multiple tables in DB

    Hi All,
    We have requirement to write-back from OBIEE 11g to multiple tables in DB.
    1) Inserting a new row in report. Inserting record into multiple tables through OBIEE?
    2) In report we have fields like Region Id, Product Id, Date, Quantity. Region Id, Product Id, Date are dimension fields and Quantity is Fact measure while inserting row in report does OBIEE checks Refrential Integrity Constraint during Write Back on DB.
    Let me know if you need more details on this. Thanks in Advance.
    Regards,
    Rajkumar.

    Hi,
    1) With regard to inserts into multiple tables, try using multiple insert tags (I haven't tried it) but I think it should work.
    2) I don't think OBIEE would check referential integrity , but DB would and give you appropriate response.
    Let us know how you got on...
    Thanks & Regards

  • Writeback using Multiple tables

    Hello Everyone,
    1. Can we create a report with writeback capabilities using Multiple tables (Say one fact and several dimensions)?.
    Whatever examples I'm seeing in blogs or forums with screesnshots , explains writeback Reports created with just one table.
    2. If writeback can work with reports using multiple tables, how do we need to change the XML scripts in custom message folder(insert and update)?
    any example ?
    Your suggestions are appreciated.
    Thanks

    You can only send one statement. Then if you want update many tables, you have to use a procedure/function in your SQL statement. For instance with a table function:
    http://gerardnico.com/wiki/database/oracle/table_function
    But I will advice you to do it with the simplest way possible: then one answer for one table to update.
    Success
    Nico

  • "Failed to open the connection" problem related to multiple tables in the report?

    Post Author: Gadow
    CA Forum: Data Connectivity and SQL
    System specifics:
    Web environment using ASP.Net 2.0 (from Visual Studio 2005 Professional)
    Crystal Reports 2008, v. 12.0.0.549, Full
    We have set up the following method for displaying reports via our website:
    User is sent to a report-specific page. The user is given some filtering options specific to the report that will be viewed. When the user has specified the data filters, the user clicks a button.
    The page wraps up the report parameters -- selection query, formula values, report location, the name to be displayed, etc. -- into a class which gets put into the Session object.
    The page redirects to DisplayReport.aspx. ALL reports redirect to this page.
    DisplayReport.aspx retrieves the report parameters from Session. A ReportDocument object is created and loaded, then set with the data from the parameters class.
    A ConnectionInfo object is created and set with the relevant log on credentials. All of the reports draw from the same database, so the connection information is hard-coded as the same for all reports. The page then iterates through all of the tables in the Database.Tables collection of the ReportDocument and calls ApplyLogOnInfo to each table using the ConnectionInfo object.
    The page is rendered and the user gets the filtered report.
    We currently have seven reports. Five reports work fine and display the correctly filtered data with no error messages. Two reports generate a Failed to open the connection error and do not display. I have verified that the queries being sent to DisplayReport.aspx are valid, and as I said the connection information itself is hard-coded in the one page that displays the reports and this is identical to all reports.
    The five reports that do work all have a single data table, either an actual database table or a single view. The two reports that do not work all have multiple tables. As far as I can tell, this is the only difference between the sets; all seven reports are based on the same DSN and I have verified the database on all of the reports. All of the reports were written using Crystal Reports 8, and all of the reports display fine in a Windows app I wrote some years ago using Crystal Reports 8. Again, the only difference between those reports that do work and those that do not is the number of tables used in the report: one table or view in the reports that display, more than one table (tables only, none use views) in the reports that do not display.
    As for the code I am using, below are the relevant methods. The function MakeConnectionInfo simply parses out the components of a standard SQL connection string into a ConnectionInfo object. DisplayedReport is the ID of the CrystalReportViewer on the page.Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
            Dim o As Object = Session("ReportParams")
            Dim ReportURL As String = ""
            'Verify that there is a ReportParameters object
            If o Is Nothing OrElse o.GetType IsNot GetType(ReportParameters) Then 'Redirect to the error page
                Response.Redirect("/errors/MissingReport.aspx")
            End If
            ReportParams = CType(o, ReportParameters)
            'Verify that the report exists
            ReportURL = "/Reports/ReportFiles/" + ReportParams.ReportName
            ReportPath = Server.MapPath(ReportURL)
            If Not File.Exists(ReportPath) Then
                Response.Redirect("/errors/MissingReport.aspx?Report=" + ReportParams.ReportTitle)
            End If
            InitializeReport()       
        End Sub
        Protected Sub InitializeReport()
            Dim RD As New ReportDocument
            Dim CI As ConnectionInfo = MakeConnectionInfo(DB_Bonus)
            Dim RPF As CrystalDecisions.Shared.ParameterField = Nothing
            RD.Load(ReportPath)
            If ReportParams.SelectString <> "" Then
                Dim Adapt As New SqlDataAdapter(ReportParams.SelectString, DB_Bonus)
                Dim DS As New Data.DataSet
                Adapt.Fill(DS)
                RD.SetDataSource(DS.Tables(0))
            End If
            For Each kvp As KeyValuePair(Of String, String) In ReportParams.Formulas
                Dim FFD As FormulaFieldDefinition = Nothing
                Try
                    FFD = RD.DataDefinition.FormulaFields(kvp.Key)
                Catch ex As Exception
                    'Do nothing
                End Try
                If FFD IsNot Nothing Then
                    Select Case FFD.ValueType
                        Case FieldValueType.DateField, FieldValueType.DateTimeField
                            If IsDate(kvp.Value) Then
                                FFD.Text = String.Format("Date()", Convert.ToDateTime(kvp.Value).ToString("yyyy, MM, dd"))
                            Else
                                FFD.Text = "Date(1960, 01, 01)"
                            End If
                        Case FieldValueType.StringField
                            FFD.Text = String.Format("""""", kvp.Value)
                        Case Else
                            'For now, treat these as if they were strings. If things blow up here,
                            'we will need to add the appropriate formatting for the field type.
                            FFD.Text = String.Format("""""", kvp.Value)
                    End Select
                End If
            Next
            For Each T As CrystalDecisions.CrystalReports.Engine.Table In RD.Database.Tables
                Dim TLI As TableLogOnInfo = T.LogOnInfo
                TLI.ConnectionInfo = CI
                T.ApplyLogOnInfo(TLI)
            Next
            DisplayedReport.ReportSource = RD
        End Sub
    Does this approach not work with reports containing multiple tables, or is there something I'm missing? Any meaningful suggestions would be much appreciated.

    Dear Dixit,
    Please refer to the Crystal report landing page to get the details
    information about the support for crystal report issues.
    Please use the following thread to post your questions related to
    crystal report.
    SAP Business One and Crystal Reports
    Regards,
    Rakesh Pati
    SAP Business One Forum Team.

  • Crystal Reports and connecting to multiple tables in a dataset - I'm Going Crazy!!

    This is my first application, first report and first everything.  Wouldn't you know the report I am trying to produce is probably more difficult!!  What is happening is that I have a form(screen) up in my application with the information displayed on it from a recrod in a table that I want to put on a report to be view and/or printed and eventually down the road I want to incorporate a signature.  One step at a time though, here is what I have accomplished.  I have created the report, I have gotten it to display in the viewer but it will not push the data from the table that I want displayed.  It only displays the text that I have typed on the form.  This is a Visual Basic application created in Visual Studio 2005 using a SQL database.  If you need more information then just ask and I will try to fumble through and tell you what I know.  (Oh and to top it off............I am also trying to get information to display from other tables also (codes connected to descriptions etc.))
    Any help would be really appreciated as I have went through tutorials, read white papers, tech notes and anything else I can find but I just can't get it to work!!
    Thanks!

    You do need to give more information. To better help, we would need to know the database, when you say SQL do you mean SQL Server, how you created the dataset, whether there are multiple tables in a single dataset or multiple datasets, etc.
    The report appears to be running so the underlying issue as you know will likely be the dataset. You may want to confirm the dataset does in fact have data in it.  Returning a simple count will let you know there are rows. If you used the components rather than code to create the objects you can also see the data returned in the fill process.
    Once you know you have data in the dataset, you can check your reports connection to the dataset.
    Just hang in there... the problem is probably a simple fix. I am sure others will follow on with more suggestions.
    Regards,
    John W.

  • JRC - multiple tables in crystal report

    Post Author: Crystal Wong
    CA Forum: JAVA
    Hi, I am using the Java Reporting component of Crystal Report XI R2 SP2. I encounter error when pushing 2 Java resultset to a report as a datasource, like the code belows, ReportClientDocument reportClientDoc = new ReportClientDocument();          reportClientDoc.open(REPORT_NAME, 0); String query1 = "SELECT COLUMN1, COLUMN2 FROM TABLE1" ;ResultSet resultSet1 = getResultSetFromQuery(query1, ResultSet.TYPE_SCROLL_INSENSITIVE); String tableAlias1 = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();reportClientDoc.getDatabaseController().setDataSource(resultSet1, tableAlias1 , tableAlias1); String query1 = "SELECT COLUMN1, COLUMN2 FROM TABLE2" ;ResultSet resultSet2 = getResultSetFromQuery(query2, ResultSet.TYPE_SCROLL_INSENSITIVE);String tableAlias2 = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(1).getAlias();reportClientDoc.getDatabaseController().setDataSource(resultSet2, tableAlias2 , tableAlias2); I wanna to ask, Does JRC support multiple tables in a report with the approach suggested above? Thanks a lot!

    Post Author: Crystal Wong
    CA Forum: JAVA
    Finally, I decided to use a join SQL or SubReport to do it.SubReport can support multiple pushing of ResultSet.

  • Crystal Reports - ECC Tables - Row level security on Multiple tables

    Hi Experts,
    We are implementing Crystal Reports directly reporting on ECC Tables.  Lot of information on row-level security has been provided by experts Ingo Hilgefort, Don Williamsand Mike Seblani, but not related to multiple tables or Wild cards
    Requirement:
    Crystal Users should have access to ALL the tables in ECC, but restricted by Company code, plant, Sales Organization, Purchasing Organization fields to what ever table it applies to. Example: MARC table should be restricted by Plant, BSEG table should be restricted by Plant and company code, GLT0 table should be restricted by Company code..etc
    Users should ONLY see their Organization related data.
    Solution Developed:
    1. We created custom authorization object with BUKRS and WERKS
    2. In  /CRYSTAL/RLS  we used Wild Cards *, +  rather than specific table  and referenced the custom authorization object with =BUKRS and =WERKS  in the Field Value
    3. Enabled global lock
    4. Custom Authorization object was added to user-profiles with corresponding restrictions
    *Observation:*
    1. This security works when a crystal report was developed on a ECC table which has both BUKRS and WERKS
    2. This setup DOES NOT work when a crystal report developed on a table with either one of BUKRS or WERKS
        Example: Does not work on MARC table - error message "Database connection error: /CRYSTAL/OSQL_EXECUTE_QUERY Message: field T0~BUKRS" unknown"
       Does not work on GLT0 table - error message "Database connection error: /CRYSTAL/OSQL_EXECUTE_QUERY Message: field T0~WERKS unknown"
    Trouble Shooting:
    In the "where clause" of the internal ABAP code generated for MARC, system is checking for BUKRS - which  should not be the expected result
    ANYTHING WRONG IN THE SECURITY SETUP ? PLEASE ADVICE
    Note: Document "BusinessObjects XI Release 2, Integration Kit for SAP, Installation Guide" does not talk much about this multiple table restriction. Any other document to be referred to ?

    I'm not sure how that would help; by using the Faculty_ID Session Variable I can identify the CRN and Term of all courses a faculty member is teaching. But I don't think that has to do with the problem I am having?

  • Error while updating table before branching to a report

    Hi,
    I have an apex form screen where on click of a button, i need to change a few flags on the screen and then display a bi publisher report.
    when the user clicks the PRINT Button a javascript function is called, which will set the flags and submits the form. I have the default process row of table process to update the form fields.
    in the branch i gave the BI publisher report url.
    everything works fine so far.
    if i click the print button again for a second time, i get a checksum ... error as shown below.
    ORA-20001: Error in DML: p_rowid=982-000790, p_alt_rowid=_ID_NUMBER, p_rowid2=, p_alt_rowid2=. ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "BD63FDD3142B79017CCD2C8DA8ED8CA7" application checksum = "B2FD7581A9478214E59264F9C1CFAF96"
    Error Unable to process row of table .
    OK
    Any idea how to fix this?
    What i am trying to do is:
    when the print button is clicked then i need to set the Print flag in the screen and database to true.I am using the default row update process generated by apex for a table form.
    Thanks
    Knut

    Hi Scott,
    example 1
    I have a demo at the following url
    http://apex.oracle.com/pls/otn/f?p=30091:6:1206476651563662::NO:::
    1. page 6 is the report and page 7 will be the details form.
    2. select a record from the report click edit and it will take you to the details screen page 7.
    3. on page 7 i have 2 select boxes with YES/NO flag. Initially set them to NO.
    save changes.
    4. click on the print button. it will reset the select lists to YES and opens a report.
    5.now go and edit anything on the screen and click apply changes.
    we will get the an error.
    All i am trying to do is update the flags to YES before displaying the report which works fine. but if i try to edit any data and save it throws an error.
    is my table.
    CREATE TABLE "DEMO_MINISTER"
    (     "MINISTER_ID" VARCHAR2(12),
         "NAME" VARCHAR2(50),
         "CERT_FLAG" VARCHAR2(1),
         "LABEL_FLAG" VARCHAR2(1)
    MINISTER_ID" is the primary key generated using a sequence. (i have to actually generate it with - year prefix etc hence a varchar)
    example 2:
    http://apex.oracle.com/pls/otn/f?p=30091:1:607292687304632:::::
    i have another page page 1 with demo_customers list. here the id is a number here. on edit it displays page 5 where i tried the same print reset flag stuff here and it works.
    Table Data Indexes Model Constraints Grants Statistics UI Defaults Triggers Dependencies SQL
    CREATE TABLE "DEMO_CUSTOMERS"
    (     "CUSTOMER_ID" NUMBER NOT NULL ENABLE,
         "CUST_FIRST_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "CUST_LAST_NAME" VARCHAR2(20) NOT NULL ENABLE,
         "CUST_STREET_ADDRESS1" VARCHAR2(60),
         "CUST_STREET_ADDRESS2" VARCHAR2(60),
         "CUST_CITY" VARCHAR2(30),
         "CUST_STATE" VARCHAR2(2),
         "CUST_POSTAL_CODE" VARCHAR2(10),
         "PHONE_NUMBER1" VARCHAR2(25),
         "PHONE_NUMBER2" VARCHAR2(25),
         "CREDIT_LIMIT" NUMBER(9,2),
         "CUST_EMAIL" VARCHAR2(30),
         "PRINT_FLAG" VARCHAR2(1),
         "PRINT_LABEL_FLAG" VARCHAR2(1),
         CONSTRAINT "DEMO_CUST_CREDIT_LIMIT_MAX" CHECK (credit_limit <= 5000) ENABLE,
         CONSTRAINT "DEMO_CUSTOMERS_PK" PRIMARY KEY ("CUSTOMER_ID") ENABLE
    So what should i do to get the example 1 to work.
    Thanks
    knut

  • Report error: ORA-06502: PL/SQL: numeric or value error: NULL index table k

    Hi everybody,
    I have two Distinct Databases on two distinct servers. (Oracle Ent. Release 10.2.0.3.0 on AIX 5.3). After I install the latest patch last week, One of the APEX installation has some problems on Home>Application Builder Page. The error message is very random and
    report error:
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value.
    When i change the view (details to icons), everything goes to normal. This error message is reflected some of the pages (report region) of some of my applications randomly. When it appears in a report region, i deselect the order method of the region, the result is normal.
    But the other APEX application on the other instance has no problem. It is a bug? or Should i re-install the APEX instance?
    Thank you for your interest?
    Gökhan ÇATALKAYA

    No, but we have a reproducible test case now so we're working on it. See ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    Scott

  • How to extract data from multiple tables (always got errors)

    Dear Experts,
    I have a simple mapping to extract data from multiple tables as a source (A, B, C) to a target table (X). Below is the picture:
    (Sources)....(Target)
    A----------------***
    B----------------X
    C----------------***
    Sample Source Data:
    Table A:
    ColA1
    100
    200
    etc
    Table B:
    ColB1 ColB2 ColB3
    10 Y Ten
    20 Y Twenty
    30 Y Thirty
    etc
    Table C:
    ColC1 ColC2
    11
    12
    13
    etc
    Target table (X) should be (just has 1 group INGRP1):
    ColA1 ColB1 ColB3 ColC1
    100 10 Ten 11
    100 10 Ten 12
    100 20 Twenty 21
    etc
    Scenarios:
    1. Directly map from A, B, C to X. Unable to map with error message: "API8003: Connection target attribute group is already connected to an incompatible data source. Use a Joiner or Set operator to join the upstream data first before connecting it into this operator."
    2. Map each source to Expression Operator and then map from each Expression to target table. I am able to map all attributes successfully but got error when validating it with message: "VLD-1104: Attributes flowing into TEST.EXPR_SRC.INGRP1 have different data sources."
    How can I achieve the correct mapping for this purpose?
    Use Joiner? I have no key to join the sources
    Use Set? The sources have different number of columns
    Thanks in advance
    Prat

    Thanks Nico,
    I think it will results data like this:
    100 10 Ten 11
    200 20 Twenty 12
    300 30 Thirty 13
    etc
    and not the expected:
    100 10 Ten 11
    100 10 Ten 12
    100 20 Twenty 21
    etc
    But it inspired me to solve this by adding key expression in each source table (B & C) to be joined to table A with this formula:
    100+TRUNC(INGRP1.COLB1,-2)
    Regards
    Prat

  • Oracle outer join on  multiple tables throws error

    Hi ,
    We are using ansi joins with outer joins on multiple tables in oracle 9i.
    Now these queries have to be used in Oracle8i.
    Since Oracle8i does not support ansi sql we are replacing the ansi sql queries with the oracle joins.
    On trying the same we found that the following query
    select *from tab1 a, tab2 b, tab3 c where a.c1 = b.col1(+) and c.c2 = b.col2 (+)
    throws the error
    ORA-01417: a table may be outer joined to at most one other table.
    Is there a way to simulate this query without using the outer joins on multiple tables?
    thanks

    Try writing the query in this form:
    select * from
    (select t1.col1, t1.col2
    from schema.table1 t1, schema.table2 t2
    where t1.col1 = t2.col1(+)) t4,
    schema.table3 t3 where t4.col2 = t3.col2(+)
    In the subquery, you will have to list all the columns you want to see, and you will need to provide unique aliases for any columns with duplicate names. I tested this on 9i, and don't have an 8i system to work with, so I hope this helps.

  • Error reading cluster table COIX for report 13BUD1A

    Hi All,
    We have issue when display report 13BUD1A using t.code CJE0 in ECC6 system. The error message appear as per below:-
    Error reading cluster table COIX for report 13BUD1A (ID=13BUD1A     KP  01RPSCO_X                        0)
    Message no. KH050
    Diagnosis
    The report structure for report 13BUD1A is stored in the cluster table COIX. An error occurred while the system was reading this data (ID = 13BUD1A     KP  01RPSCO_X                        0).
    Table TKEB1 (Report List) contains administration information for report 13BUD1A. Consequently, table TKEB1 has an entry for the report, but table COIX does not.
    The error may have resulted following a transport -- COIX has not yet been transported to the current client but TKEB1 is already there.
    Procedure
    If it is a transport problem, see if you can execute report 13BUD1A in client 000. If so, import it to the current client again.
    If it is not a transport problem, delete report 13BUD1A from Tables TKEB1 and TKEB2.
    Need you advice, how can we solve this error.
    Thank You.

    Dear AP,
    Thanks for your reply. FYI, we dont have access to client 000. And how to resolve this issue without access client 000?

  • Reports using multiple tables

    I am trying to create a report using portal that use links between multiple columns. The info I want is mainly in two tables. Some of the info in the table is numeric (Foreign Keys). I want to display them in readable format so set up joins to the respective parent tables. When I do this the result only produces 12 lines of output irrespective of the number of lines I set per page. When I show only the data from the main tables, without the joins to the other parent tables, i.e. the foreign keys as numbers I get all the rows. I have tried to create the report by using all three options given but get the same result.
    I am using 9iAS verison 1.0.2.0 and Portal version 3.0.7.
    Can someone please explain why this happens and how I can solve this problem urgently.

    Hi Ashok,
    Sorry for posting the solution with delay. Actually I ran into the similar situation and upon deep analysis, I could crack it., the very next day.
    This is how your write back template should be for updating on multiple tables
    <?xml version="1.0" encoding="utf-8" ?>
    <WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
    <WebMessageTable lang="en-us" system="WriteBack" table="Messages">
    <WebMessage name="WRITE">
    <XML>
    <writeBack connectionPool="Oracle Data Warehouse Connection Pool">
    <insert> </insert>
    <update> UPDATE FACT SET COUNT = '@{c4}', W_UPDATE_DT = CURRENT_DATE
    WHERE EXISTS (SELECT ROW_WID FROM DIM WHERE DIM.ROW_WID = FACT.DIM_WID AND
    DIM.X = '@{c1}' AND DIM.Y= '@{c2}' AND DIM.Z = '@{c3}' ) AND EXISTS (SELECT ROW_WID FROM DT WHERE DT.ROW_WID = FACT.DT_WID AND DT.PER_NAME_YEAR = '@{c0}') </update>
    </writeBack>
    </XML>
    </WebMessage>
    </WebMessageTable>
    </WebMessageTables>
    =====
    Using exits, will improve the performance.
    Hope it helps. If yes, pls award points. Thanks
    Regards,
    Sarat Nallapati

  • F7N Spool: RT_DELETE Reports Error 64 for Table

    Hello All,
    In our PRD system in SM21, we are getting below errors daily
    ERROR:
    F71 Error in TemSe Management
    F7N Spool: RT_DELETE Reports Error 64 for Table
    F6H Database error: TemSe->XRTAB(4)->64 for table TST01 key
        [100]SPOOL0000003637 ,1
    F6H Database error: TemSe->XRTAB(4)->64 for table TST01 key
        [100]SPOOL0000003637 ,1
    1) F71 Error in TemSe Management
        Documentation for system log message F7 1 :
        Error in the C coding of the spooler.
        Message is no longer output.
    2) F7N Spool: RT_DELETE Reports Error 64 for Table
         Documentation for system log message F7 N :
        The RTAB interface has reported an unexpected error return code to the
        spooler. The RTAB function used was 'RT_DELETE'. The error number used
         in the message can be translated using 'dbrtab.h' and 'dbglobal.h'.
         Check whether there has been a syslog entry from the RTAB interface
         before this.
    3) F6H Database error: TemSe->XRTAB(4)->64 for table TST01 key
        [100]SPOOL0000003637 ,1
    Documentation for system log message F6 H :
    Database error:  TemSe->&A(&B)->&C for table &D key &a
                              !  !    !            Table name
                              !  !    Error number
                              !  Function number
                              Database access module
    Possible database access modules
    RTAB
    Direct access with entire or partial primary key
    XRTAB
    direct access with entire or partial primary key for all clients
    INCLUDE 'RSTS_RTAB_FUNCTIONS' OBJECT DOKU ID TX
    INCLUDE 'RSTS_RTAB_ERRORS' OBJECT DOKU ID TX
    INCLUDE 'RSTS_TABLES' OBJECT DOKU ID TX
    Plese suggest on this.
    Thanks in advance.
    Regards,
    Pratyu

    Perform a Spool consistency check.
    Goto Tcode SP12. In the menu choose "Temse Data Storage" -> "Consistency check".
    In the output, delete all the inconsistencies.
    Edited by: Debi Prasad Goswami on May 10, 2010 7:11 AM

  • Crystal report XI error while Linking tables

    We have just purchased Crystal Report XI  license copy  but as we going to create new report there is problem in linking tables
    i.e while pressing LINK tab after selecting ODBC databse  name  application going shut down.Please suggest.Thanks in advance

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

Maybe you are looking for