OWB 10g R2 - Dates getting truncated in rejected records

Hi,
We have been using Oracle Warehouse Builder 10g R2 in a data warehouse built on a Oracle Database Server of the same version. We utilise OWB run-time repository to extract data rejects that might occur in OWB mappings and re-process them, if necessary. In particular, we used to query to RAB_RT_EXEC_ERROR_COLUMNS view in order to retrieve data rejects.
As I have noticed, OWB stores rejected data in its run-time repository having all values transformed to VARCHAR2(2000) data type. The problem I am trying to resolve is the fact that when OWB transfers rejected DATE values to the run-time repo, it truncates all dates so the time component is lost.
For instance, a source table contains a record with a DATE column value "26-AUG-2006 14:30:27". The source column is mapped in an OWB mapping to a target column of the same data type. When the mapping successfully processes the records, DATE values appears in the target table unchanged, with date and time components. When the mapping rejects the record, it appears in OWB run-time repository in VARCHAR2 data type, but without time component. When I query RAB_RT_EXEC_ERROR_COLUMNS, I get "26-AUG-2006" value.
This is a real problem for us, as rejected data being re-processed can cause unique constraint violations and does not match exactly the source data.
Any ideas how to resolve the situation are highly appreciated.

Yes, we capture errors in row-based mode. We considered using DML error tables, but refused to be able to capture and re-process data rejects occured at any stage in a mapping, not necessarily when the data is being loaded to a destination table.
BTW, today I tried to set up manually NLS date format
EXECUTE IMMEDIATE 'ALTER session SET nls_date_format = ''DD/MM/YYYY HH24:MI:SS''';
immediately before running a mapping through WB_RT_API_EXEC package (OWB API), but result was the same -- rejected dates got truncated.

Similar Messages

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • Data gets truncated when flows on the new page ?

    I have data from about 5 tables displayed in this report.
    There is one row which fetches all the required data and displayed there. This is a repeating frame in a group. The group is then again on a repeating frame which is on a group.
    At the end of this in the overall group frame, there is a row which has summary columns.
    the problem: When the rows of the innermost repeating frame are a lot in number, such that they exceed the page and overflow to the next page, the extra records do not get displayed. they are truncated and the next record starts on the new page. if i fiddle with the properties of the frames. the other scenario i get is, now i get the same number of rows as before, only, this time the summary row is also displayed at the end of this page. and like before a new record starts on the new page.
    I tried many possible comninations with the properties, but i cannot get the data to flow over to the next page.
    Any comments as to why this is happening ?

    Hi,
    It does sound like it's probably related to your print conditions. If you have not already had a look, I would highly recommend looking at the restrictions in the on-line help for the Print Object On property.
    It's difficult to say without seeing the report itself. What it sounds like to me is that a detail repeating frame has been set to All Pages. Let's say its master repeating frame is the Base Printing Object for the detail repeating frame. If the master only has a couple of lines of data to itself (ie the department name and id or location) then it likely does not have enough data to go to an additional logical page. All Pages for the detail repeating frame means that it will print on and only on All logical pages that the Base Printing Object will appear on. Therefore, as it would only appear on one page, the detail will get truncated to just that one page.
    I suspect this is likely to be what it going on here, however, without the actual report, it will be difficult to tell exactly which object is causing the problem. If after reading the doc on this you still have trouble figuring out which frame is causing the problem (it may be repeating or a group frame) then I'd suggest contacting Oracle Support for further hands on assistance.
    Hope that helps,
    Toby

  • SPOOL data gets truncated when bckground job output sent to spool recepient

    Hi All,
    I am facing a strange problem.
    I have a background job scheduled. Have specified a distribution list as the spool recipients.
    Background jobs output is sent to the recipients as attachment but data is not complete.
    When I check the spool request for that background job it contains 80 pages but the attachment in the recipients inbox contains just 17 pages.
    SP01/SP02 will display settings to display the range of pages but the emaill attachment doest show.
    Can anyone please help me with this?
    We are on ECC 6.0 (Windows2003/MSSQL2005 SP3)
    Regards,
    Yatin

    Hi,
    When the spool content is sent immediately after the background job its size is 14KB.
    I tested by sending spool content via mail using transaction SP01. I mean after the jobs is completed, I go to SP01 and send the SPOOL content manually. This time recipients receive the correct content of 80 pages and size of the document this time is 73KB.
    Regards,
    Yatin

  • In Read_text FM, the data after 256 characters gets truncated

    Hi All,
    In this FM, the internal table can't have string type field. In my case the data is in multiple lines of internal table and I am concatenating into a single field which is of type DESCRIPTIONS(string). I am passing this data to a table in smartform.Only 255 characters are printed, remaining data gets truncated. I am using CONVERT_OTF and SX_TABLE_LINE_WIDTH_CHANGE FMs to create PDF. Is it the limitation or I am incorect here?

    Your posting title is misleading; there's nothing wrong with FM READ_TEXT.  Yes, it returns a table of type TLINE, as you've noted.  Perhaps you could close this post and repost in FORM PRINTING with an appropriate title like: Can't show more than 255 characters of text.....but search first, because you cannot be the first person to encounter this limitation.

  • Alert Messages Get Truncated.....

    Hi Gurus,
    Error Text sent in Alert Inbox gets truncated after a specified length.
    If I configure system alerts I cant change its length.....
    Wots the reason behind it....and wots d solution to it????
    Regards,
    Sriparna

    Hi,
    Plz have a look:
    Alert message data getting truncated in Alert inbox
    Thanks
    Amit

  • Issues with CLOB dataype in 10g. (Data truncation)

    I have a product which is running perfectly fine on Oralce 9i. We are trying to upgrade the product to 10g. Once the database is upgraded and after the data is imported, we are facing few issues with CLOB data type values. We are using SQLGetData function to fetch data from these CLOB datatypes. The data is getting truncated when retriving. Oracle says, its an issue with ODBC driver which was released with 10g Relase 1. I tried to upgrade the ODBC driver. But even after upgrading, I am still facing the same issue. I tried to upgrade it Oracle 10g Release 2. Still I am facing the same issue. The data stored in CLOB datatype is xml data. So after retriving the truncated data, XML parser is not able to parse the data.
    When I trace the error using ODBC Error Tracing, I am getting this error :
    [01004] [Oracle][ODBC]String data, right truncated. (0) .
    Has anyone faced anything like this. your inputs will be greatly appreciated.
    Thanks in advance.

    Hi,
    Thanks for the reply. I couldn't quite got what you meant by referential variable. Could you please elaborate on that.
    Thanks in advance.

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • Getting SQLSTATE:22001(Message : [Microsoft][SQL Server Native Client 11.0]String data, right truncation) in SQL Server 2012 but in SQL server 2008 R2.

    I have an application which connects to SQL through ODBC 11.
    ODBC statement is :
    SELECT PID
    FROM PENTITY PENTITY01 WHERE ((NUM1 NOT BETWEEN ? + 10.7895 AND ? + 200.6734 AND NUM2 NOT IN (5996/ 8, ? - 89.3892, ? + 80.7543))
    and the SQLBindparameter statement is :
    static UCHAR num1[12]=12.589
    rc = SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_CHAR, sqlType, precision, scale,
    &num1, sizeof(num1), NULL);
    With this SQLBindparameter statement I am getting error, It is working without any error if I change the value to 12.
    The same code is working when connecting to SQL server 2008.
    Thanks in advance.

    Hi Nalsr,
    From my research, I found:
    "[Microsoft][ODBC SQL Server Driver]String
    data right truncation" error may be returned from a call to
    SQLBindParameter if the size of the string parameter being used is greater than the size of the column being compared to. In other words if the
    string size of the <expression> to the left of the <comparison_operator> is less than the
    string size of the <expression> to the
    right, ODBC may return this error.
    The resolution is to make the string size of the <expression> to the
    right of the <comparison_operator> less than or equal to the
    string size of the <expression> on the left.
    It is difficult to track down this type of problem when third party development applications are being used. ODBC Trace can be used to help determine if this problem is occuring.
    Here is an example where the customer has submitted a query "select count(*) from type1 where type1 = ?", type1 is varchar(5) and the
    data type being passed by the application is char[9].
    Here is the relevant portion of the trace. The following information from the "exit" of SQLDescribeParam
    SWORD * 0x0095e898 (12)
    UDWORD * 0x0095e880 (5)
    Maps to the following with the actual value in parenthesis - SQL_VARCHAR Size 5:
    SQLSMALLINT *DataTypePtr
    SQLUINTEGER *ParameterSizePtr
    The "exit" value from SQLBindParameter provides the following
    information:
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SQL Data Type SWORD 12 <SQL_VARCHAR>
    Parameter Size UDWORD 5
    SWORD 0
    Value PTR 0x0181c188
    Value Buffer Size SDWORD 5
    String Length SDWORD * 0x0181c103 (9)
    The string length parameter is the length of the
    string being bound to the parameter, in this instance there is a size mismatch which results in the SQLError and the SQLErrorW with the message "[Microsoft][ODBC SQL Server
    Driver]String data
    right truncation" .
    Hope this could be helpful.
    Best regards,
    Halin Huang

  • Get data after truncate

    hi,
    how can i get back my data after truncating the table.
    regards
    Kiran Sankpal

    Hi Kiran,
    Table backup is the only way to restore data of a truncated table, it is possible to get deleted data back but not data of a truncated table. Refer Flashback
    *009*

  • First digit of date if 0, gets truncated-upload problem

    Hi,
    I have a situation where in i am downloading a file in user setting format into an excel. The date field is hence stored in DDMMYYYY format.
    Suppose the DD of my date is below 10 ie 01-09, the zero digit gets truncated in excel. so while uploading there is a conversion error.
    I am using TEXT_XLS_CONVERT_SAP to uploa data. i want the date in the excel in DDMMYYYY format (according to my user setting).
    Regards,
    Herwin.

    Hi Herwin,
    Your internal table seems to have date field of DATE data type. Instead use field of type Text.
    mdate(10) type c.
    Loop over the internal table & move the data from DATE field to the New text field. Download the Text field instead of DATE field.
    Thanks,
    Best regards,
    Prashant

  • OWB 10g - The time taken for data load is too high

    I am loading data on the test datawarehouse server. The time taken for loading data is very high. The size of data is around 7 GB (size of flat files on the OS).
    The time it takes to load the same amount of data on the production server from the staging area to the presentation area(datawarehouse) is close to 8 hours maximum.
    But, in the test environment the time taken to execute one mapping (containing 300,000 records)is itself 8 hours.
    The version of Oracle database on both the test and production servers is the same i.e., Oracle 9i.
    The configuration of the production server is : 4 Pentium III processors (2.7 GHz each), 2 GB RAM, Windows 2000 Advanced Server, 8 kilobyte primary memory cache, 512 kilobyte secondary memory cache, 440.05 Gigabytes Usable Hard Drive Capacity, 73.06 Gigabytes Hard Drive Free Space
    The configuration of the test server is : 4 Pentium III processors (2.4 GHz each), 1 GB RAM, Windows 2000 Advanced Server, 8 kilobyte primary memory cache,
    512 kilobyte secondary memory cache, 144.96 Gigabytes Usable Hard Drive Capacity, 5.22 Gigabytes Hard Drive Free Space.
    Can you guys please help me to detect the the possible causes of such erratic behaviour of the OWB 10g Tool.
    Thanks & Best Regards,
    Harshad Borgaonkar
    PwC

    Hello Harshad,
    2 GB of RAM doesn't seem to be very much to me. I guess your bottleneck is I/O. You've got to investigate this (keep an eye on long running processes). You didn't say very much about your target database design. Do you have a lot of indexes on the target tables and if so have you tried to drop them before loading? Do your OWB mappings require a lot of lookups (then apropriate indexes on the lookup table are very useful)? Do you use external tables? Are you talking about loading dimension or fact tables or both? You've got to supply some more information so that we can help you better.
    Regards,
    Jörg

  • TreeTable with inputText column data gets lost in adf 10g

    Hello All. I have a TreeTable in my page with two columns for user inputs. After a node is expanded, the data gets lost... The TreeTable was created using ViewObjects, here is one example of the sql query of one of the ViewObjects:
    select distinct det.cliente id_cliente
    , cust.customer_name descripcion
    , city.id_simcot
    , to_number(null) horas_normales
    , to_number(null) horas_recargo
    , 'CLIENTE' tipo
    from grc_dist_factura dist
    , grc_det_simcot_v city
    , grc_det_dist_factura det
    , ra_customers cust
    where det.id_dist_fact = dist.id_dist_fact
    and cust.party_id = det.cliente
    and dist.id_det_simcot = city.id_det_simcot
    and city.tipo = 'CIUDAD'
    The inputText are mapped to the attributes HorasNormales and HorasRecargo. Those columns does not existe in DataBase, that's why I create them in the View Object in that way.
    This is my TreeTable:
    <af:treeTable value="#{bindings.GrcConfTarifaRaizView.treeModel}"
    var="node"
    binding="#{ConfiguracionTarifas.treeTable1}"
    id="treeTable1" width="100%"
    emptyText="No hay un Arbol Disponible.">
    <f:facet name="nodeStamp">
    <af:column binding="#{ConfiguracionTarifas.column1}"
    id="column1" noWrap="true" headerNoWrap="true"
    headerText="Descripcion">
    <af:outputText value="#{node.Descripcion}"
    binding="#{ConfiguracionTarifas.outputText2}"
    id="outputText2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node.Descripcion}"
    binding="#{ConfiguracionTarifas.outputText3}"
    id="outputText3"/>
    </f:facet>
    <af:column sortable="false" headerText="Tarifa Hora Normal"
    formatType="number"
    binding="#{ConfiguracionTarifas.column2}" id="column2">
    <af:inputText binding="#{ConfiguracionTarifas.txtHoraNormal}"
    id="txtHoraNormal" rendered="#{node.Tipo ne 'RAIZ'}"
    value="#{node.HorasNormales}">
    </af:inputText>
    </af:column>
    <af:column sortable="false" headerText="Tarifa Hora Recargo"
    formatType="number"
    binding="#{ConfiguracionTarifas.column3}" id="column3">
    <af:inputText binding="#{ConfiguracionTarifas.txtHoraRecargo}"
    id="txtHoraRecargo" rendered="#{node.Tipo ne 'RAIZ'}"
    value="#{node.HorasRecargo}"/>
    </af:column>
    </af:treeTable>
    And this is the page Def:
    <tree id="GrcConfTarifaRaizView"
    IterBinding="GrcConfTarifaRaizViewIterator">
    <AttrNames>
    <Item Value="IdSimcot"/>
    <Item Value="Descripcion"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaRaizView"
    id="GrcConfTarifaRaizViewNode">
    <AttrNames>
    <Item Value="IdSimcot"/>
    <Item Value="Descripcion"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="ClientesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaClientesView"
    id="GrcConfTarifaClientesViewNode">
    <AttrNames>
    <Item Value="IdCliente"/>
    <Item Value="Descripcion"/>
    <Item Value="IdSimcot"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="RegionalesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaRegionalesView"
    id="GrcConfTarifaRegionalesViewNode">
    <AttrNames>
    <Item Value="CodRegional"/>
    <Item Value="Descripcion"/>
    <Item Value="IdSimcot"/>
    <Item Value="IdCliente"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    <Accessors>
    <Item Value="CiudadesView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaCiudadesView"
    id="GrcConfTarifaCiudadesViewNode">
    <AttrNames>
    <Item Value="CodCiudad"/>
    <Item Value="Descripcion"/>
    <Item Value="CodRegional"/>
    <Item Value="IdSimcot"/>
    <Item Value="IdCliente"/>
    <Item Value="Tipo"/>
    <Item Value="HorasNormales"/>
    <Item Value="HorasRecargo"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Note the Node Definition for gsgappl.grc.datamodel.view.confTarifa.GrcConfTarifaClientesView, it correspond to the View Object showed at the beginning of the post.
    Can any one help me please?
    bye

    Thanks for the links.
    I checked them up, but first, I noticed they apply to adf 11g, and second none of them use inputText in columns. I really couldn't find a any idea to solve my issue.
    Any other suggestions?
    My problem is that when I expand/collapse a node, the values in the inputTexts are lost. I don't know if I need something else on my page Definition...
    thank you.

  • XML Data is getting Truncated

    I have a large report that is set up in the concurrent manager of the EBS to have the output as XML so that I can open the file in an Excel template I developed. I have checked the output file and the XML file is complete but when I click on View Output in Oracle the browser opens and the XML data is truncated. Does anyone know why this is happening? Is there a limit on how big the file can be to view it? Thanks

    .... continuation based on Large Report in XML Format issue
    if you use excel as template so limitations of excel must be considered
    sheet - 65536 rows
    so check follow
    - view output -> save result (not open yet) -> open from os -> if any errors then see log (will be indicated) -> plz post it
    - if your xml is small then do you have any errors then opening?
    - "View Output in Oracle the browser opens and the XML data is truncated." - why browser is worked? it's must offer actions: save or open
    so check output of concurrent then you run it. it's may be html if yes then your xsl output (from excel template) is shown by browser -> post some details
    - result can be truncated because of haven't any data -> in browser -> show html code -> post some details
    for example Re: how to register the .DTD file in Oracle Apps
    also
    >
    For Apps or EBS reports related issues is better to post your questions in the following APPS/EBS forum
    reference
    https://forums.oracle.com/forums/category.jspa?categoryID=3

  • OWB 10g data sources

    Newbie question:
    Can OWB 10g use a Oracle 9i DB source that exists on another machine?. I'm assuming it would use dblinks.

    Yes, I've created a new Oracle Module ( and related Link ) to my Oracle 8i database, of course you have to configure tnsnames.ora properly.
    Andrea

Maybe you are looking for

  • Sending Emails in OIM

    In OIM 11.1.1.3.0 I have a resource which I am provisioning to, and workflow in place which sends an approval task to the user's manager, and a user within a certain group. How can I send emails to these individuals when a user makes a request to be

  • ASM on VM

    We are deploying ASM via ESX VM and would like to know the best practice for the storage layer... Do we use RDM or VMFS disks? 5.1.1 Virtual Machine File System (VMFS) VMFS is a cluster file system that provides storage virtualization optimized for v

  • How To Load SINGLE CELL Value as Object - In 2D Object Array - InvalidCastException

    Setup: ---- VB.net - Visual Studio 2010 - Excel Version 2010 - Option Strict ON The following WORKS FINE all day long for loading MULTIPLE range values IE: ("F2:F5") or more into a 2D Object Array... No problem... as in the following.. Dim myRangeTwo

  • Frequency of query use

    Hi experts, I want to find out how many times a particular query has been accessed (in 3.1). I tried working with ST03N as well with table RSDDSTAT but didnt get a clear picture. I am still amazed how people find this mode useful to gauge the frequen

  • Trash icon gone

    Normally there's a trash can icon on the sidebar of iPhoto, it's no longer there now for some reason, can anyone help me locate it?