I am doing 810 x12 4010 version for outbound.
I am facing this problem.
Afetr i convert idoc to EDI string , i am validating edistring in
convertToValues service.when i mention noEmptyTrailingFields in convertToString service to ‘false’, the convertToValues service is generating errors.But when i dont use noEmptyTrailingFields or set to ‘true’. there are no errors.even i did not find that error code in the error message guide.
The error looks as follows.
Error Message: [FFP.0011.0003] Unexpected element. The record or composite data contains more fields than are in the record or composite definition.The EDI segment which have the problem is: REF05.
Like this it is giving for REF06, REF07,REF08,REF09.
My edi string is looks like this.
ST8100374~
BIG2005020290029306490527119391DI~
REFPK8003470486~
ITD01322530~
DTM01120050202~
FOBPPOR~
IT125EA48VP6E040L0BP308328~
TDS120000~
CTT1~
SE10*0374~
One more thing is if i tested same thing with another partner without REF segment its working fine.
Any help should be highly appreciated.