Data Truncated

Hi Gurus,
              I added a field to 0Customer_Attr called SORT1 and its size is 20 chars. I written the logic in user exit which pulls the data from differenct table called ADRC.
              I am getting right values in Sort1 but I can see only 10 chars size. It should be 20 chars size.
             For example like
Actual Value        HOOSIER TOOL & DIE             but I can see    HOOSIER   other part is not displaying.
            Could some tell me where is the problem here is my logic in Used Exit.
WHEN '0CUSTOMER_ATTR'.
    LOOP AT I_T_DATA INTO STRU2.
      L_TABIX = SY-TABIX.
      SELECT SINGLE SORT1 INTO STRU2-ZZSORT1
                FROM ADRC WHERE ADDRNUMBER = STRU2-ADRNR.
      MODIFY I_T_DATA FROM STRU2 INDEX L_TABIX.
    ENDLOOP.
     Please where I am making mistake
Dave Sam

Hi,
most likely your ZZSORT1 is CHAR10, please verify this.
hope this helps...
Olivier.
Message was edited by:
        Olivier Cora

Similar Messages

  • Error when executing statement for table/stored proc  DB2 - Data Truncation

    Hi,
      I have one call sp in XI with n parameters int and two parameters out.
       well, to implement the interface gives the following error
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPSAPAR9' (structure 'Statement'): java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters
    Thanks for your help
    Ximena
    Edited by: Ximena Gonzalez on Feb 19, 2008 11:50 AM
    Edited by: Ximena Gonzalez on Feb 20, 2008 12:17 PM

    My Error is change
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPPRG.SPSAPAR9' (structure 'Statement'): java.sql.DataTruncation: Data truncation
    but de change DT SP
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns1:AlistReqDet2_MT xmlns:ns1="urn:proxl:tmuc:proxl01:AlistReqItems">
    <Statement>
    <SPSAPAR9 action="EXECUTE">
      <table>SAPPRG.SPSAPAR9</table>
      <ISAPNU1 isInput="TRUE" type="STRING">0080000353</ISAPNU1>
      <ISAPEM1 isInput="TRUE" type="STRING">'LU'</ISAPEM1>
      <ISAPC05 isInput="TRUE" type="STRING">15353</ISAPC05>
      <ISAPSEC isInput="TRUE" type="STRING">10</ISAPSEC>
      <ISAPLOT isInput="TRUE" type="STRING">'lats'</ISAPLOT>
      <ISAPCA1 isInput="TRUE" type="STRING">10</ISAPCA1>
      <ISAPCA2 isInput="TRUE" type="STRING">10</ISAPCA2>
      <ISAPKIL isInput="TRUE" type="STRING">10</ISAPKIL>
      <ISAPES1 isInput="TRUE" type="STRING">'T'</ISAPES1>
      <ISAPSW isOutput="TRUE" type="STRING" />
      </SPSAPAR9>
      </Statement>
      </ns1:AlistReqDet2_MT>

  • Data Truncated Warning

    Hi,
    Im getting following ODBC warning while connecting with TT database.
    I understood its thrown after SQLDriverConnect() in my application.
    This error was noticed after changing my DSN.
    [TimesTen][TimesTen 7.0.2.0.0 CLIENT] Data truncated. ODBC Error/Warning = 01004, TimesTen Error/Warning = 0
    Both the server dsn connection character set is JA16SJIS .
    Connection is done and I could do operations on the DB .
    Thanking in advance
    sanal

    Hi thanks ,
    This is the connection.DLL contains the following method
    int getConnection(SQLHENV henv,SQLHDBC hdbc,char * dsn){
         SQLRETURN rc = SQL_SUCCESS; //* General return code for the API
         SQLHSTMT hstmt = SQL_NULL_HSTMT; //* Statement handle
         SQLCHAR connOut[255];// Buffer for completed connection string
         SQLSMALLINT connOutLen;//Number of bytes returned in ConnOut
         SQLCHAR connStr = (SQLCHAR)dsn;//Connection string
         /* FOR LOGGING THE MESSAGE IN THE LOG*/
         logMessage('D', __FILE__, "getConnection", __LINE__, "Entering connection"); //logging a 'DEBUG'
         rc = SQLAllocEnv(henv);
         if (rc != SQL_SUCCESS){
              logMessage('E', __FILE__, "getConnection", __LINE__, "Unable to allocate an environment handle!");
              exit(1);
         logMessage('D', __FILE__, "getConnection", __LINE__, "Allocating Connection Handle"); //logging a 'DEBUG'
         rc = SQLAllocConnect(*henv, hdbc);
         if (rc != SQL_SUCCESS){
              printf("unable to allocate connection handle hdbc");
         chkReturnCode(rc, *henv, SQL_NULL_HDBC, SQL_NULL_HSTMT, "Unable to allocate a connection handle\n", __FILE__, __LINE__, 1);
         logMessage('D', __FILE__, "getConnection", __LINE__, "Creating the connection"); //logging a 'DEBUG'
         rc = SQLDriverConnect(*hdbc, NULL,connStr, SQL_NTS,connOut, sizeof(connOut),&connOutLen,SQL_DRIVER_NOPROMPT);\
         chkReturnCode(rc, henv, hdbc, SQL_NULL_HSTMT, "Error in connecting to the data store\n", __FILE__, __LINE__, 1);
         return rc; // Connection will be closed in the calling program
    Im passing the env and connection handles from my calling program as follows
    rc=getConnection(&henv,&hdbc,connStr);
    where connStr="DSN=sanal_dsn;PermSize=64"
    even if rc =1 ,surprisingly connection is there and i can do operations on DB.
    thanks for ur time,
    sanal

  • Data truncation: Out of range value adjusted for column

    I encountered the following error while working thru "Creating Your First LiveCyle ES Application" and have not been able to find a solution. Any assistance would be greatly appreciated.
    javax.ejb.TransactionRolledbackLocalException: Data truncation: Out of range value adjusted for column 'loanamount' at row 1; CausedByException is:
    Data truncation: Out of range value adjusted for column 'loanamount' at row 1
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:247)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy284.writeObject(Unknown Source)

    hmm, i have sloved the error already. I have make my longtitude double(40,20).

  • Is there any way to restore data truncated with TRUNCATE query in Oracle9i

    Hi, Is there any way to restore data truncated with TRUNCATE query in Oracle9i DB...
    Thanks in advance...

    Hi,
    you can flash back DML queries like insert, update
    but it is not possible for some DDL like truncate, alter, and and drop columns etc that change structure of table.
    e.g.
    SQL> select * from t2;
    C1
    3
    SQL> select dbms_flashback.get_system_change_number from dual;
    GET_SYSTEM_CHANGE_NUMBER
    496378
    SQL> truncate table t2;
    Table truncated.
    SQL> select * from t2 as of scn(496378);
    select * from t2 as of scn(496378)
    ERROR at line 1:
    ORA-01466: unable to read data - table definition has changed
    Andrey

  • "Data truncation: Incorrect datetime value" Error Message

    Hello,
    I'm running Coldfusion 8 with a MySQL database. The s10Date
    column is of type "datetime".
    What would cause the following error to occur when I'm
    entering data into the database?
    Data truncation: Incorrect datetime value: '{ts '2008-09-03
    17:16:01'}' for column 's10Date' at row 1
    The error occurred in
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\components\DataMgr\DataMgr.cfc:
    line 1602
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\components\DataMgr\DataMgr.cfc:
    line 1170
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\components\DataMgr\DataMgr.cfc:
    line 1633
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\parsed\quest_c_registrations.processregistr ationform.cfm:
    line 37
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\parsed\quest_c_registrations.processregistr ationform.cfm:
    line 5
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\parsed\quest_c_registrations.processregistr ationform.cfm:
    line 1
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\fusebox5\Application.cfc:
    line 228
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\fusebox5\Application.cfc:
    line 218
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\fusebox5\fusebox5.cfm:
    line 57
    Called from
    C:\ColdFusion8\wwwroot\Websites\questnbs.info\index.cfm: line 12
    1600 : <cfquery name="qQuery"
    datasource="#variables.datasource#" username="#variables.username#"
    password="#variables.password#"><cfloop index="i" from="1"
    to="#ArrayLen(aSQL)#" step="1"><cfif IsSimpleValue(aSQL
    )><cfset temp =
    aSQL>#Trim(PreserveSingleQuotes(temp))#<cfelseif
    IsStruct(aSQL
    )><cfset aSQL = queryparam(argumentCollection=aSQL
    )><cfswitch
    expression="#aSQL.cfsqltype#"><cfcase
    value="CF_SQL_BIT"><cfif aSQL
    .value>1<cfelse>0</cfif></cfcase><cfcase
    value="CF_SQL_DATE">#CreateODBCDateTime(aSQL.value)#</cfcase><cfdefaultcase><cfif
    ListFindNoCase(variables.dectypes,aSQL
    .cfsqltype)>#Val(aSQL.value)#<cfelse><cfqueryparam
    value="#aSQL
    .value#" cfsqltype="#aSQL.cfsqltype#" maxlength="#aSQL
    .maxlength#" scale="#aSQL.scale#" null="#aSQL
    .null#" list="#aSQL.list#" separator="#aSQL
    .separator#"></cfif></cfdefaultcase></cfswitch></cfif>
    </cfloop></cfquery>
    1601 : <cfelse>
    1602 : <cfquery name="qQuery"
    datasource="#variables.datasource#"><cfloop index="i"
    from="1" to="#ArrayLen(aSQL)#" step="1"><cfif
    IsSimpleValue(aSQL)><cfset temp = aSQL
    >#Trim(PreserveSingleQuotes(temp))#<cfelseif
    IsStruct(aSQL)><cfset aSQL
    = queryparam(argumentCollection=aSQL)><cfswitch
    expression="#aSQL
    .cfsqltype#"><cfcase value="CF_SQL_BIT"><cfif
    aSQL.value>1<cfelse>0</cfif></cfcase><cfcase
    value="CF_SQL_DATE">#CreateODBCDateTime(aSQL
    .value)#</cfcase><cfdefaultcase><cfif
    ListFindNoCase(variables.dectypes,aSQL.cfsqltype)>#Val(aSQL
    .value)#<cfelse><cfqueryparam value="#aSQL.value#"
    cfsqltype="#aSQL
    .cfsqltype#" maxlength="#aSQL.maxlength#" scale="#aSQL
    .scale#" null="#aSQL.null#" list="#aSQL
    .list#"
    separator="#aSQL.separator#"></cfif></cfdefaultcase></cfswitch></cfif>
    </cfloop></cfquery>
    1603 : </cfif>
    1604 :
    Thank you in advance for your assistance.
    Simon

    Just a note, I had the same problem and resolved it by making
    sure my cfsqltype in cfqueryparam is cf_sql_timestamp instead of
    cf_sql_datetime (which is not a valid value).
    Also, just a note that when working with a datetime value in
    cfqueryparam, using cf_sql_date for cfsqltype will truncate the
    time to 00:00:00.

  • Com.mysql.jdbc.MysqlDataTruncation: Data truncation

    Hi, i have these error
    com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value adjusted for column 'longtitude' at row 1
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2932)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3255)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1293)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1566)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1480)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1465)
    at dao.PlacemarkDAO.add(PlacemarkDAO.java:52)
    at web.AddPlacemarkServlet.processRequest(AddPlacemarkServlet.java:70)
    at web.AddPlacemarkServlet.doGet(AddPlacemarkServlet.java:86)
    in my database, i have declare longtitude as double(255,30) but i still dont know why got error data truncation? Can anyone please guide me?

    hmm, i have sloved the error already. I have make my longtitude double(40,20).

  • Data truncation

    We are on oracle version 9.2.0.7. Our application is web based and we use Oracle thin client (ojdbc14.jar) to connect to database. We have a dblink to a SQL server 7.0 database. When we use ojdbc14.jar for 9.2.0.5 there is no problem. If we use version 9.2.0.8 or higher there is data truncation on some fields. Query is very simple and no functions are used in the query. Please help.

    Trying to understand the problem,
    + If you are connecting to SQL server 7.0 through Oracle are you using Oracle Gateway
    to connect to a different kind of server?
    Now about the database & data
    + What is the character set of SQL server?
    + What is the character set of the Database?
    + What is the type on the field that you are selecting?
    + What is the size of data that you are trying to select?
    regards,
    Ashok

  • SQLException - Data truncated error

    How do we trap the column name responsible for the Data Truncation in an INSERT stmt , after the SQLException has been caught ... ??

    You might not be able to.
    The text of the exception might be all you get.
    However, you might check the getNextException() method of the SQLException.
    You might also look at getWarning() on the Statement instance as well.

  • PDF data truncated

    Hi All,
    I am trying to convert the Spool data to PDF and sending it as email. The email has sent sucessfully, but the problem here is the data is getting truncated. But in spool I can see all the fields displayed. Where as in PDF some fields are getting truncated.  When I run my spool request using standard program "RSTXPDFT4", I am getting the same problem. Please help me if any one has some idea regarding this.
    Here I am sending the code which I am using for this.
    *....Convert Spool to PDF
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
        EXPORTING
          SRC_SPOOLID              = G_SPOOL_NUM
          NO_DIALOG                = 'X'
          DST_DEVICE               = G_PDEST
        IMPORTING
          PDF_BYTECOUNT            = NUMBYTES
        TABLES
          PDF                      = PDFDATA
        EXCEPTIONS
          ERR_NO_ABAP_SPOOLJOB     = 1
          ERR_NO_SPOOLJOB          = 2
          ERR_NO_PERMISSION        = 3
          ERR_CONV_NOT_POSSIBLE    = 4
          ERR_BAD_DESTDEVICE       = 5
          USER_CANCELLED           = 6
          ERR_SPOOLERROR           = 7
          ERR_TEMSEERROR           = 8
          ERR_BTCJOB_OPEN_FAILED   = 9
          ERR_BTCJOB_SUBMIT_FAILED = 10
          ERR_BTCJOB_CLOSE_FAILED  = 11
          OTHERS                   = 12.
      LOOP AT PDFDATA.
        TRANSLATE PDFDATA USING ' ~'.
        CONCATENATE GD_BUFFER PDFDATA INTO GD_BUFFER.
      ENDLOOP.
      TRANSLATE GD_BUFFER USING '~ '.
      DO.
        IT_MESS_ATT = GD_BUFFER.
        APPEND IT_MESS_ATT.
        SHIFT GD_BUFFER LEFT BY 255 PLACES.
        IF GD_BUFFER IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Creating the document to be sent
      DOC_CHNG-OBJ_NAME = 'IG Balance'.
      DOC_CHNG-OBJ_DESCR = 'IG Balance Confirmation Report'.
      OBJTXT = 'Thanks & Regards'.
      APPEND OBJTXT.
      OBJTXT = 'P.K'.
      APPEND OBJTXT.
      OBJTXT = '+91-9'.
      APPEND OBJTXT.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 2560 + STRLEN( OBJTXT ).
    Creating the entry for the compressed document
      CLEAR OBJPACK-TRANSF_BIN.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 0.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'RAW'.
      APPEND OBJPACK.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
      OBJHEAD = 'IG Balace.PDF'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
      OBJPACK-TRANSF_BIN = 'X'.
      OBJPACK-HEAD_START = 1.
      OBJPACK-HEAD_NUM   = 1.
      OBJPACK-BODY_START = 1.
      OBJPACK-BODY_NUM   = TAB_LINES.
      OBJPACK-DOC_TYPE   = 'PDF'.
      OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
      OBJPACK-OBJ_DESCR = 'IG Balance Report'.
      OBJPACK-DOC_SIZE   = TAB_LINES * 255.
      APPEND OBJPACK..
    Entering names in the distribution list
      RECLIST-RECEIVER = 'p.com'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
      RECLIST-RECEIVER = 'j.com'.
      RECLIST-REC_TYPE = 'U'.
      APPEND RECLIST.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA              = DOC_CHNG
          PUT_IN_OUTBOX              = 'X'
          COMMIT_WORK                = 'X'
        TABLES
          PACKING_LIST               = OBJPACK
          OBJECT_HEADER              = OBJHEAD
          CONTENTS_BIN               = OBJBIN
          CONTENTS_TXT               = OBJTXT
          RECEIVERS                  = RECLIST
        EXCEPTIONS
          TOO_MANY_RECEIVERS         = 1
          DOCUMENT_NOT_SENT          = 2
          OPERATION_NO_AUTHORIZATION = 4
          OTHERS                     = 99.
    Regards.
    JR.
    Message was edited by:
            Jayant

    I am able to generate a PDF,but it gets truncated.
    In the place where its expected to display 200 CHARACTERS,
    it displays only 85 CHARACTERS.
    REST is TRUNCATED.
    Any more solutions???
    I am looking at a solution to overcome TRUNCATION.........
    Helpfule replies will be awarded for sure
    Message was edited by:
            Jayant

  • Regarding TXT File data truncation due to large amount of data

    Hi Guys,
    I am downloading data to txt.file in background.I am getting truncation of the records due to large amount of data. If it is less data it works good.
    I have checked the Internal table SIZE for this and anywhy i have declared in OCCURS 0 only.
    So please help me to find out what may this reason.I am confuced is there any limitation for TXT file??
    Please help me guys..
    Thanks in advance..
    Prabhu.R

    Hi Rakesh,
    two ways.
    1. Ask ur BASIS team to increase the memory level.
    2. Check the PACKAGE SIZE option of select statement
    Here u  won't select all the data once but in packets of specified size. So get the packets of data and process.
    Just press F1 on package size. That explanation will be enough to proceed further.
    Thanks,
    Vinod.

  • How do I use oracle.jbo.domain.Date truncate() method?

    Hello -
    I want to get the equivalent of "trunc(SYSDATE)" in the form of an oracle.jbo.domain.Date instance.
    I think I can do this by getting the current date and truncating the time portion:
    Date myDate = Date.getCurrentDate();
    myDate.truncate(some_precision_string);
    Issue is: what do I use for the precision string? (Javadoc for class (and its parent) is not helpful...)
    Thanks,
    -- Scott

    Nevermind. Apparently these methods don't really exist.
    (Although documentation in 9.0.3.3 JDev under Help -> Help Topics -> Contents Tab -> Reference -> Business Components Oracle Domains (this one is a javadoc page) say that they do....)

  • Error receiving from socket when data truncation occurs

    I am using a PreparedStatement that has a "character" column of a set length (2). It also has a constraint set up of valid entries (H, AS, AR).
    When I put valid data into the field, the update works fine. If I enter invalid data of the correct length it gives me the constraint error. However if I put an entry that is too long (and of course is not valid), I get the socket error. I am using setString since there is no setChar, which seems to work fine except in this situation.
    My prepared statement has 41 fields to "set". If I cut the number of
    fields down to 26, I start getting the CLI0109E String data right truncation. SQLSTATE=22001 error on the field in question. If I set 27 fields on the PreparedStatement, the program never returns from the
    executeUpdate();
    Any sugguestions?

    Validate the length before putting it in the statement.

  • File_To_RT data truncation ODI error ORA-12899: value too large for colum

    Hi,
    Could you please provide me some idea so that I can truncate the source data grater than max length before inserting into target table.
    Prtoblem details:-
    For my scenario read data from source .txt file and insert the data into target table.suppose source file data length exceeds max col length of the target table.Then How will I truncate the data so that data migration will be successful and also can avoid the ODI error " ORA-12899: value too large for column".
    Thanks
    Anindya

    Bhabani wrote:
    In which step you are getting this error ? If its loading step then try increasing the length for that column from datastore and use substr in the mapping expression.Hi Bhabani,
    You are right.It is for Loading SrcSet0 Load data.I have increased the column length for target table data store
    and then apply the substring function but it results the same.
    If you wanted to say to increase the length for source file data store then please tell me which length ?Physical length or
    logical length?
    Thanks
    Anindya

  • Data Truncate document.importXML()

    Hello,
    after opening an InDesign Template, and importing  XML, the new content has less data than the original one.
    The content that is truncated is a texFrame with 2 columns.
    The original template has some tags to match the xml :
    dates and airports. If the dates are too long, the match still works, but then some data is truncate, and there is no overflow red signal.
    var advertDoc;
    var location = "path to template";
    var xmlLocation = "path to xml file";
    try {
        var templateFile = File(location);
        var xmlTemplate =  File(xmlLocation);
         if(templateFile.exists && xmlTemplate.exists) {
            advertDoc = app.open(templateFile);
           // here I can see all the data 
            //set import xml options
            var xmlImportPreferences = advertDoc.xmlImportPreferences;
            xmlImportPreferences.importStyle = XMLImportStyles.mergeImport;
            xmlImportPreferences.createLinkToXML = false;
            xmlImportPreferences.allowTransform = false;
            xmlImportPreferences.repeatTextElements = false;
            xmlImportPreferences.ignoreUnmatchedIncoming = true;
            xmlImportPreferences.ignoreWhitespace = true;
            xmlImportPreferences.importCALSTables = true;
            xmlImportPreferences.importTextIntoTables = false;
            xmlImportPreferences.importToSelected = false;
            xmlImportPreferences.removeUnmatchedExisting = true;
            xmlImportPreferences.repeatTextElements = true;
            advertDoc.importXML(xmlTemplate);
            // some data missing
    } catch (err) {
    Also when I use the duplicate function for a Group some data get lost
    var module = moduleDoc.layers.itemByName("Modules").groups[0];
    var duplicatedModule = module.duplicate(templateDoc.layers.itemByName("Modules")); 
    moduleDoc and templateDoc are well formed, and have all the necessary elements.
    So my question are:
    1) Is there any restriction on importXML and duplicate functions for the amount of data?
    2) Why I can not see any error signal?
    Thanks in advanced.

    How about if you cut the data length to the maximum allowed column length? Let us assume that you have a varchar2 column with 250 width. Then you can insert this value:
    substr(yourData,1,250)Message was edited by:
    Sven W.

  • Spark DataGrid -  Data Truncate

    HI,
    We need to display huge data in spark datagrid cell. We need to truncate the date by having dot dot dot and show all teh data in the tool tip.
    This is the last column of the datagrid. Any idea how it has to be done ?
    Thanks,
    Shweta

    This is what I would do instead of truncating.
    <s:GridColumn dataField="contractExp" width="90" headerText="Expires">
    <s:itemRenderer>
    <fx:Component>
    <s:GridItemRenderer >
    <s:Label top="10"  horizontalCenter="0" toolTip="{data.contractExp}"  text="{(data.contractExp.getMonth()+1).toString() +
      '/'+ data.contractExp.getDate()+ '/'+ data.contractExp.getFullYear()}"
      />
    </s:GridItemRenderer>
    </fx:Component>
    </s:itemRenderer>
    </s:GridColumn>
    Don

Maybe you are looking for

  • How can i send money through itunes to another apple id ?

    how can i send money through itunes to another apple id account? and how do i response when the itunes gifts doesn't work?

  • IMovie won't Share to Quicktime

    Went through Expert Settings, tried a few different ways, including Save to CD. One error message says something about an Error 54,that it perhaps will not save to the drive because there isn't enough room (it would make only a 29 meg file as one opt

  • How to access TimeCapsule via iCloud?

    Hi. The new firmware should provide access to TimeCapsule-drives via iCloud. How is this supposed to work and where can I find details? Kind regards, Wilken Hustedt

  • [Solved]Kerenel26 2.6.30-ARCH uname -r output.

    Hello I just compiled from abs tree kernel (ver. 2.6.30-6). And at login I got: 2.6.30-ARCH-gd258d93-dirty At kernel ver. place. WHy i got it I compiled from orginal PKGBUILD from abs tree (I nothing changed). Last edited by SpeedVin (2009-09-12 08:0

  • Satellite A200-12S - No boot from CD/DVD drive

    Hello My Satellite A200-12S will not boot on CDDVD. It is well recognized in the bios. In the boot is first CDDVD. On Windows it works perfectly. Thank you for your help Thank you to Google translation. Bios Version 2.60 64 bit