Truncation of data

Hi All,
I am facing a strange problem, i have created an elementary search help for the custom table. At the input screen we are passing the value to a 4 CHAR field. But it is truncating the last character (checked through tracing). This is happening for specific machines. simply i mean when i am runing it for the same user on 1 machine (frontend ) its working fine but when i runing the same on other machine its truncating the last character.
I am unable to figure out the reason. Please help me if any one have any thing to suggest. Also let me know how to rectify the error.
Any hint and suggestion will be a great help.
Thanx & Regards,
Ramgopal Yadav

It seesm like the issue is with the fromt end.
Are the SAPGUI versions on both the machines same ?
If a solution cannot be found, try having the same sapgui install as in the machine in which it is working.
Thanks,
Renjith

Similar Messages

  • System automatically truncating the data

    hi Friends,
    i am using jdeveloper 11.1.1.6.0.
    i have created field called price it's length is Number(22,12) . whenever user is giving more than 22 digits system is truncating the 22 digit to fractional number.
    ex:user input: 1234567980123456789012
    system showing: 1.234567980123 .
    is there any solution for the above problem.

    Hi Johon,
    1. Change in your vo query to fetch the price column once more time like price1
    2. Change the type from number to string
    I think my adf concept are good.
    The idea behind this approach is that he has already tried your intelligent suggestion but not working.
    I have already faced this problem and solved the same using the technique I shared over this forum.
    Please read this to know why system automatically truncating the data
    3.1 n-bit Unsigned Integers section
    n      Minimum      Maximum
    8      0      (2^8)-1 (=255)
    16      0      (2^16)-1 (=65,535)
    32      0      (2^32)-1 (=4,294,967,295) (9+ digits)
    64      0      (2^64)-1 (=18,446,744,073,709,551,615) (19+ digits)
    and your trying to save 22 digits.How it is possible?
    Got it?
    http://www.ntu.edu.sg/home/ehchua/programming/java/DataRepresentation.html
    Edited by: 812903 on Mar 21, 2013 11:32 PM
    Edited by: 812903 on Mar 21, 2013 11:43 PM

  • Truncate the data to fit

    The AppleWorks Spreadsheet just started giving me the message "attempting to paste cells off the document bounds. Truncate the data to fit?". What settings should I look at to continue the page vertically?

    Go to Format > Document... & set the number of rows and/or columns you need then paste.

  • Truncating arabic data/text when deployed on 10gAS, where as Eng is Ok

    DETAILS:
    When I run a report using report builder everything is fine. But when I deploy that same report on Application server & when I run from browser, the arabic data in the report is getting truncated ! where as English text/data is ok.
    To solved this problem I have to expand each text / item in report builder. But why with arabic only? And how the report is working fine when run using Report Builder? For some reports even after expanding still gets truncated while deployed on Application server.
    I think the FIX is around PDF. when report is deployed on AS, then output is generated in PDF & then above problem is encountered. Where as executed in Report Builder, output is generated in previewer which is fine.
    please help
    Edited by: Mubeen on Mar 18, 2009 2:56 AM

    I have experiecnce with this problem... and unfortunatly ther's not solution.
    Some trigger (like when-mouse-enter or when-mouse-live) don't work with form deployed on web. I suppose that these triggers are not supported in deployd on web because the "client" browser shuld be constantly comunicate with the runtime engine.

  • Recordset truncating field data

    Hi
    I'm using a recordset to return a field within a particular table which contains a large amount of text, which I need to output to a text file. Currently I am just using the recordset to output the field and then set the text file to contain this value, however the recordset object seems to be truncating to text to around 32000 characters (32KB).
    I've had a look around the forum and did see that someone thought this was a problem with the DI and that the recordset object cannot return text greater than 32000 characters.
    Is this so? And if so are there any workarounds using the DI or would I have to use an object such OLEDB?
    Thanks
    Steve

    Hi Steven,
    You could use an OLEDB connection to read the data. The only issue with this is that you can't pass the database connection properties from the DI API to your OLEDB connection so you'd have to store them somewhere in the database or in an external data store (eg config file or registry) and preferably in an encrypted format.
    There are workarounds for getting past the 32K limit. You can use the Substring command as part of your query to split the ntext data in to smaller strings which won't be truncated by the Recordset object. You can then recombine them afterwards.
    eg
    SELECT
         substring(U_MyField, 1, 4000) as Sub1,
         substring(U_MyField, 4001, 4000) as Sub2,
         substring(U_MyField, 8001, 4000) as Sub3
         --- etc etc
    FROM [@MYTABLE]
    Note that the substring command has a max length limit of 4000 characters.
    If you want to get clever you can query the field to find out the maximum length in your field:
    select max(datalength(U_MyField)) / 2 from [@MYTABLE]
    Note you have to divide by 2 to get the character length as datalength returns the number of bytes and it's 2 bytes per character in an ntext field.
    Once you know the max length you can dynamically create your query so it will always have enough substrings to retrieve all the data.
    Hope that makes sense.
    Kind Regards,
    Owen

  • Oracle JDBC truncated my data

    Hi
    I have a situation whereby I send UCS2 encoding to database via JDBC and when it is stored in database the encoding gets truncated.
    Eg.
    send as => 0928, 092f, 0940
    store as => 00, 28, 00, 2f, 00, 40
    Seems like JDBC has truncated my UTF-16 data to UTF-8?
    Can anyone help?!
    Thanks alot!

    Hi,
    This is the output:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_CHARACTERSET UTF8
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    19 rows selected
    When I do a select asciistr(utf32_col) from table_a; this is what I get.
    ASCIISTR(DESCRIPTION) --------------------------------------------------------------------------------------------------------------------------
    *>\00A0(5@($. 8G5> G ,>0G .G >(>0@, ?( K\00A0* *(G .G(B .G !>2 G      (> 2>-      > 8$G 9Hd
    But the characters are unreadable. When I use Select DUMP to check the characters encoding, this is what i get:
    Typ=1 Len=12 CharacterSet=UTF8: 0,28,0,2e,0,38,0,4d,0,24,0,47
    In fact, I was sending this "&#x928";"&#x92E";"&#x938";"&#x94D";"&#x924";"&#x947". So it appears to me that the higher bytes get truncated. Can you help to explain? Thanks.

  • Truncated table data get back

    my DB version
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    i truncated some tables , i closed the session . i opend new session and wanted to get the data back to the table
    please share your idea's
    thanks in advance
    Raj

    Truncate resets the High Water Mark of a table.
    This means 'gone is gone is gone'
    You can get it back by
    a flashback the table. This requires you have flashback enabled
    b import the table from an export
    c perform Tablespace Point in Time Recovery for the affected tablespace.
    If you can't do all three, you are busted.
    Sybrand Bakker
    Senior Oracle DBA

  • XMLNode is truncating the data

    Hello Everyone,
    I am using the below logic to print the data from the XMLNode.
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    System.out.println(outputStream.toString())
    In the output, one of the columns data should be
    "COMPENSATORY TIME/MANDATORY PD CREDIT" but its printing it as "COMPENSATORY TIME/MANDATORY PD C"
    The last 4 letters are truncated. I don't know why its happening. Any advice would be really great.
    getEmpDataXML method contains the following code:
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("AbcVO");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    Thanks

    Check the VO attribute length in VO wizard in Jdev. Increasing the varchar length should fix the issue.
    --Mukul                                                                                                                                                                                                                                                                       

  • Leading Zeroes Truncation when data export to excel

    Hi,
    We have an issue when exporting from front end GUI to excel.
    The leading zeroes of a value get truncated in the excel sheet
    Ex:003 to 3
    We are currently using GUI_DOWNLOAD.
    is there any fix to resolve the formatting issue?
    Thanks

    Dear Friend,
    I tried by expanding the column in Excel, but still the last digist is missing.
    Regards,
    Mark K

  • TO_TIMESTAMP Truncating the date

    Oracle Version: 10.2.0.4
    Why is to_timestamp function truncating sysdate (to 12:00 AM) ?
    SQL > select value from nls_session_parameters where parameter='NLS_DATE_FORMAT';
    VALUE
    DD-MON-RR
    SQL > select to_timestamp(Sysdate) From dual;
    TO_TIMESTAMP(SYSDATE)
    28-JUL-10 12.00.00 AMDocumentation
    http://youngcow.net/doc/oracle10g/server.102/b14200/functions193.htm#sthref2021
    is only talking about CHAR, VARCHAR2, NCHAR, or NVARCHAR2 as input datatypes. Is this the reason?
    I just wanted to see Time quickly in SQL*Plus without having to set NLS_DATE_FORMAT every time.

    Thank you Frank. Thats just what i need.
    Ajay,
    The timestamp format was already set
    SQL > select value from nls_session_parameters where parameter='NLS_TIMESTAMP_FORMAT';
    VALUE
    DD-MON-RR HH.MI.SSXFF AM
    SQL > SELECT SYSTIMESTAMP FROM DUAL;
    SYSTIMESTAMP
    28-JUL-10 11.36.33.855765 PM +01:00Thanks everyone.

  • TDM Excel plugin truncating number data with 000

    I have a strange one. I have created a TDM file with several groups and channels. One of my channels has the name IMEI_MEID and the data shows 270113178003159793.  When this channel imports to excel the number is changed to 27011317800315000.  I'm not sure why this is happening. I saved the data in the TDM file as a DDC_String so it should be ok.
    My plugin version is 2.1.0.4.

    Hi jsmalley,
    It seems to be a problem with Excel in general. If you edit in Excel a number with more than 15 significant digits this phenomenon occurs. Example:
    123456789012345111 is shown in Excel as 123456789012345000
    It is not a problem of the Excel Add-In.
    Greetings
    Walter

  • Truncate Characteristic data

    Hello Experts,
    I have Social Security Number in a infoobject.  On BEX report, I would like to display only the last 4 digits of SSN.  How do I do that please?
    Regards,
    -Sonny

    Hi,
    In transfer rules you can do coding to truncate and display only last 4 digits of social security.
    you can use offsets... suppose for 9 length filed id FIELD, YOU CAN WRITE LIKE FIELD+0(4).
    out of 9 charecters, which charecters you need?
    ex: field = 000000000 if you need last 4 then field+0(4).
    If you dont mention any offset, then it will only pick the first 4 char's by default (truncating the length).
    Hope it helps.
    Regards,
    Mona

  • ALV list display is truncated though data is present in internal table

    hi
    There are total 108 columns in my internal table, but the ALV list display shows only 90 , the fieldcatalog and final ALV internal table has the same structure. Please let me know how to display the rest of the field
    Regards
    Monirul

    Hi.,
    ALV List Display will display max. 90 columns it depends on line size 1023., Some times it goes to dump in number of columns increases .,  and some times it displays some columns in one line and other columns in other line which  will not look gud.. better use ALV Grid or OO ALV with custom container .
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • How to truncate data in a subpartition

    Hi All,
    I am using oracle 11gr2 database.
    I have a table as given below
    CREATE TABLE SCMSA_ESP.PP_DROP
    ESP_MESSAGE_ID VARCHAR2(50 BYTE) NOT NULL ,
    CREATE_DT DATE DEFAULT SYSDATE,
    JOB_LOG_ID NUMBER NOT NULL ,
    MON NUMBER GENERATED ALWAYS AS (TO_CHAR("CREATE_DT",'MM'))
    TABLESPACE SCMSA_ESP_DATA
    PARTITION BY RANGE (JOB_LOG_ID)
    SUBPARTITION BY LIST (MON)
    PARTITION PMINVALUE VALUES LESS THAN (1)
    ( SUBPARTITION PMINVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
    PARTITION PMAXVALUE VALUES LESS THAN (MAXVALUE)
    ( SUBPARTITION PMAXVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
    ENABLE ROW MOVEMENT;
    I have populate two sets of data.
    One with Positive job_log_id and another with Negative job logid as given below.
    Step 1:
    Data going to PMAXVALUE Partition
    INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
    SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), 1 FROM DUAL CONNECT BY LEVEL <=300;
    Step 2:
    Data going to PMINVALUE partition
    INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
    SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), -1 FROM DUAL CONNECT BY LEVEL <=300;
    Now the question is how to truncate the data that is present only in the Positive partitions subpartition
    Like in the PMAXVALUE partition I have 10 subpartitions and I need to truncate the data in the JAN MONTH Partition only of the PMAXVALUE partition.
    Appreciate your valuable response.
    Thanks,
    MK.

    For future reference:
    http://www.morganslibrary.org/reference/truncate.html
    The library index is located at
    http://www.morganslibrary.org/library.html

  • SQL server 2014 and VS 2013 - BuilInsert task - truncate a field data of a CSV file and insert it to SQL table.

    Hello everyone,
    To move data from roughly 50 CSV files in a loop to SQL tables (table per CSV file), I've used BulkInsert task in For each loop container.
    Please know, for all different columns of all CSV files, the filed length was specified as varchar(255).
    It worked well for the first 6 files but on 7th file, it has found the data in one of the columns of CSV file, which exceeds the limit of 255 characters. I would like to truncate the data and insert the remaining data for this column. In other words, I would
    like to insert first 255 characters into table for this field and let the package execute further.
    Also, if I would use SQLBulkCopy in Script task, will it be able to resolve this problem? I believe, I would face the similar problem over there too. Although, would like to get confirmation for the same from experts.
    Can you please advise how to get rid of this truncation error?
    Any help would be greatly appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello! I suggest you add a derived column transformation between Source and Destination, use string functions to extract first 255 characters from the incoming field and send this output to destination field, that ways you can get rid of these sort of issues.
    Useful Links:
    http://sqlage.blogspot.in/2013/07/ssis-how-to-use-derived-column.html
    Good Luck!
    Please Mark This As Answer if it solved your issue.
    Please Vote This As Helpful if it helps to solve your issue

Maybe you are looking for

  • Connecting a StoreJet Cloud to Airport Extreme or Time Capsule

    The Transcend StoreJet Cloud is a wireless mobile storage device for use with things such as an iPad or iPhone. It is possible to set it up in a bridged mode (think "pass through"!) so that when an iPad is connected to its network the Internet can st

  • How do I migrate iMovie project data/pointers from iPhoto to Aperture?

    This may be a rather tricky question but here is what I want to do. I have 22GB of Photo's/Video's in iPhoto that I originally used at some point in the past to create some travel home movies. I currently have about 44GB of Photo's/Vid in Aperture. I

  • External Style Sheet ??

    Read and Practice and it all comes together! :) Well, most of it anyway... I am doing CSS LAYOUT and I forgot to create an external style sheet or something. Can I just take all the CSS code in the header now and paste it into a text file and save it

  • "Complete My Album" track order problem

    Hello everybody, I downloaded several tracks from Billy Joel's "The Stranger" in January. Just a few days ago, I decided to "Complete My Album." When I downloaded the remaining tracks, the tags were slightly different, resulting in two entries in my

  • Oracle Portal Dynamic Pages?

    I grabbed this from the Primer on Portlets "<b>By simply cutting and pasting the HTML provided by affiliates into Oracle Portal dynamic pages, you can create a portlet specifically for that affiliate program and embed it into your portal.</b>" How is