Hello,
I have configured java idoc reciever channel but while testing it i am getting below error in message monitor:
MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc structure of incoming message is not correct
I have done below configs and tested also:
1) Created destination of type RFC (UNDER nwa -> configuration -> Infrastructure -> Destination -> DECCLNT100) and tested also.
2) In Idoc receiver channel: i have given the destination name + Interface Version + sap release + under Advanced tab -> control record in Idoc XML is " Not Mnadatory"
3) In the message monitor logs i can see the output idoc structure (for testing purpose i am not passing anything in the idoc)
<?xml version="1.0" encoding="UTF-8"?>
<INVOIC02>
<IDOC BEGIN="Constant">
</IDOC>
</INVOIC02>
4) I am using header mapping and define the partner profile in SAP ECC system.
I am not sure why this error is occuring?
Thanks
Amit Srivastava