All,
We recently upgraded our PI environment to PI 7.31 SP 16 and started getting below issue for all the scenarios which are using IDOC adapter of type "IDoc_AAE".
Error:
MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: Illegal value "EDI_DC40" for attribute SEGMENT in <EDI_DC40 SEGMENT="1"> tag within IDoc-XML for type <ACC_DOCUMENT03>
Idoc Payload with HEader:
<?xml version="1.0" encoding="utf-8"?>
<ACC_DOCUMENT03>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="EDI_DC40">
<MESCOD>FIN</MESCOD>
<MESFCT>123</MESFCT>
<SNDLAD>P0-ER.txt</SNDLAD>
<RCVLAD>FIN_53</RCVLAD>
</EDI_DC40>
<E1BPACHE09 SEGMENT="E1BPACHE09">
IDoc receiver channel config is set to below:
RFC Parameters: Default(Recommended), Destination set to ECC, SAP Version set to 7.00 and Queue Processing checked
Advanced tab: Control record set to "NOt Mandatory" and none of the other check boxes checked.
Any help or pointers to existing OSS note is appreciated.