Flatfile to IDOC in SAP Business Connector v4.8

Hi,

I am kinda stuck:

what is done so far is:

MAP(ff template & ff data)
stringToDocument
documentToRecord.
convertToEDI.
convertToValues.

I am getting Null pointer exception in last step.

EST java.lang.NullPointerException
at wm.b2b.edi.EDIConverter.getSegment(EDIConverter.java:614)
at wm.b2b.edi.EDIConverter.createLoop(EDIConverter.java:456)
at wm.b2b.edi.EDIConverter.toEDIValues(EDIConverter.java:364)
at wm.b2b.edi.convertToValues(edi.java:657)

Any help would be appreciated…
Regards.

Check your EDI string for mandatory segments in EDI documents, seems like some thing is missing there and hence while you are trying to create a document its giving u null pointer exception.

-nD

This file was rcvd from Partner, have asked them to send 1 more test file.Will check if this helps.

Thanks.

okie, post here if u still face some issue.

May be you can the EDI file here so we can see for issues.

-nD