Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exception in XML Parser (format problem?)

Hi Experts,

I am working on IDOC -> AS2 Configuration and the AS2 Configuration has the below structure

<RecordSet>

<Row1>

<row1 - field1>

<row1 - field2>

<row1 - field3>

</Row1>

<Row2>

<row2 - field1>

<row2 - field2>

<row2 - field3>

</Row2>

<Records>

<Record1>

<Record1-Field1>

<Record1-Field1>

<Record1-Field1>

</Record1>

<Record2>

<Record2-Field1>

<Record2-Field1>

<Record2-Field1>

</Record2>

</Records>

</RecordSet>

We are getting the expected Structure when we AS2 Receiver has the xml format. But while doing module development with the strctxml2Plain, we are getting the below error in RWB CC Monitoring.

Message processing failed. Cause: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException''; nested exception caused by: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.NullPointerException'

Any ideas, why this error we are getting.....

Thanks in advance,

Regards,

Vasu

Former Member
Former Member replied

Hi Vasu,

Not in the Mapping of IR.

In BIC Mapping Designer you have to test with the standard Mappings by providing the sample file whether the Conversion is happening correctly or not.

You have to take the same input file that what ever you are having now.

So that it will say clearly what is the problem in converting the XMLto the required EDI Format...

Check whether you have any Date Format Values are comming from the input file.

Regards

Seshagiri

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question