Page 1 of 1

CIDocData operator=(char): String too long for field .

Posted: Wed Nov 29, 2006 7:27 am
by uppalapati2003
hi
while i am loading the data in to target i am getting this is follwing error
CIDocData operator=(char): String too long for field .
and my input column type is varchar and output olumn type is char

Posted: Wed Nov 29, 2006 7:34 am
by ArndW
Shrinivas,

please post in the appropriate forum - either Server or PX for this question (although it does look like PX).

What is your problem with the error? If you have a column defined as char(16) and try to put the varchar text "Hello World, my name is Arnd" into it you will get this error message.

Posted: Wed Nov 29, 2006 1:32 pm
by ray.wurlod
Your problem is that your data do not conform to your metadata. One (at least) of your rows contains a value in the VarChar field that is too large to fit into the Char field. Use a substring function to effect the appropriate truncation. Or delcare the Char field large enough. I presume from the function name that this is being accessed from an IDoc.

Hai

Posted: Tue Jan 09, 2007 3:01 am
by uppalapati2003
Hi Ray,
Thanks