Skip to Content
Oct 30, 2013 at 06:41 PM

XML to IDOC - java.lang.NullPointerException Control segment error


Here I have XML to IDOC , WMMBXY.WMMBID02. We are on PI 7.3

I have configured everything in ESR and integration builder.

For Idoc EDI_DC40 control segment mapping, I followed some blogs out there and SAP help documentation, disabled some fields and mapped other fields with receiver/sender information.

In the ECC IDOC receiver communication channel , i have checked 'Apply control records from payload'.

When I process the XML , this is the error .....

" Adding control record to payload failed due to Error during transform: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable chars "

I looked online found an OSS note 1862655

I couldn't get much from it,

How were you able to name the interface like <MSGTYP>.<IDOCTYP>.<CIMTYP> in ESR?

Any help highly appreciated.Thanks in advance.


Comm channel.PNG (11.6 kB)