on 08-17-2016 10:37 AM
Hi there,
Can't I use IDoc_AAE receiver channel in ResponseOnewayBean?
ResponseOnewayBean is configured in Sender Channel and I specified IDocAAE_Receiver as parameter value for receiverChannel. It gave me below exception:
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: IDoc type ZXXXXXXXXX within the EDI_DC40 control record segment does not match the IDoc-XML root tag <XXXXXXXX>: state=READING_ENDTAG, charPosition=353, lineNumber=1, columnNumber=354
When I specify FileReceiver as the parameter value here, file is generated and another interface which is picking this file is able to post IDoc into ECC without any errors.
System info: SAP PI 7.31 Dual Stack SP16.
Used ICo for this scenario.
Please suggest.
Regards,
Aditya Vempati
It seems that your response message has not the correct XML structure to be interpreted as an idoc. Do you have a mapping where the response idoc is created? Are you sure, that the mapping is executed on runtime?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems that your response message has not the correct XML structure to be interpreted as an idoc.
If I capture this response message in a file and pass it to ECC without any transformation with a separate interface, IDoc is posted into ECC. Exported IDoc XSD for mapping in this scenario (Response File to IDoc)
Do you have a mapping where the response idoc is created?
Yes, I have a response mapping.
Are you sure, that the mapping is executed on runtime?
Yes, I can see this in the logs (attached the log file) : Executing Request Mapping "urn:namespace:MAPPING_NAME"
I followed and for my scenario.
Message was edited by: Aditya Vempati
Aditya,
Is your IDOC_AAE receiver channel working fine without this module ?
AFAIK this error is not due to the Module give it a try once by removing the module.
Br,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.