Skip to Content

Starge behavior while extract flat file source in sap bods

Hi All,

I have a .csv file as source, in that one of the column having character length 20 such as "CLIENTNAME varchar(20)"

my issue is while extracting the 25 length character, it is going to trim automatically and load into target (Oracle)

For Ex: the record "MURALI KRISHNA GARIKAPATI" is going to trim and load into target(oracle) as "MURALI KRISHNA GARIK"

Here my intention is I don't want trim the record, it should be get "ORA-12899: VALUE TOO LARGE FOR COLUMN" ERROR.

Can you please help me in this strange behavior in flat file as source?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 22, 2016 at 06:26 PM

    Increase the character length to 25. Specify CLIENTNAME varchar(25) in the file format definition.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Murali.

      i found this.. may be this is the issue.

      The usual reason for problems like this are non-ASCII characters that can be represented with one byte in the original database but require two (or more) bytes in the target database (due to different NLS settings).

      To ensure your target column is large enough for 15 characters, you can modify it:

        ALTER table_name MODIFY column_name VARCHAR2(15 CHAR)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.