Data not able to load into unicode field
Posted: Mon May 24, 2010 6:07 pm
I am trying to load the data "XO" into a sap idoc segment field whose datatype is varchar(2) but its failing with the following error message.
"IDoc_Load_ZAFSMATMAS01,0: Fatal Error: Fatal: IDOC_F_00145`:`Segment 'Z2BP_MARCX000', Field 'MRP_TYPE', Value 'ND': CIDocData operator=(char): String too long for field"
I am not able to understand if the value is "XO" why is it not able to load into char(2) could you anyone suggest me.
"IDoc_Load_ZAFSMATMAS01,0: Fatal Error: Fatal: IDOC_F_00145`:`Segment 'Z2BP_MARCX000', Field 'MRP_TYPE', Value 'ND': CIDocData operator=(char): String too long for field"
I am not able to understand if the value is "XO" why is it not able to load into char(2) could you anyone suggest me.