on 10-05-2016 10:35 AM
Hi All,
Currently i am working in order history scenario.
my scenario is (SOAP--to--IDOC) asynchronous , sap 7.4 single stack.
I tested with sample data through SEND TEST message.here i am getting below error.I checked in google but i didn't get properly.
MP: exception caught with cause java.util.NoSuchElementException
Exception caught by adapter framework: {0}
Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.util.NoSuchElementException..
The asynchronous message was successfully scheduled to be delivered at Wed Oct 05 09:23:07 UTC 2016.
Kindly help to resolve this issue .
Thanks
Kavitha
Hi Kavitha,
Possibly some value is missing in the mapping.
Check the input values and their occurrences. Give all inputs and check it in the test tab in message mapping/Operation mapping.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kavitha,
Can you take the XML and test in mapping locally,I think this error is due to mapping issue.
Also check if cache is up to date if any changes are made in structure or mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghu ,
Once i clear the cache i am getting another error like below
10/5/2016 10:27:08.971 AM | Information | Sender Party: Sender Service:BC_OMNI_B2B_Order_History Receiver Party: Receiver Service:BS_ECCDEV_500 Communication Channel:CC_RCVR_IDOC_500 |
10/5/2016 10:27:08.977 AM | Error | Getting connection factory failed due to IDoc: Connection factory name for channel CC_RCVR_IDOC_500 is null |
10/5/2016 10:27:08.979 AM | Error | MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc: Connection factory name for channel CC_RCVR_IDOC_500 is null |
10/5/2016 10:27:08.981 AM | Error | Exception caught by adapter framework: IDoc: Connection factory name for channel CC_RCVR_IDOC_500 is null |
10/5/2016 10:27:08.982 AM | Error | Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: IDoc: Connection factory name for channel CC_RCVR_IDOC_500 is null |
10/5/2016 10:27:08.985 AM | Information | The asynchronous message was successfully scheduled to be delivered at Wed Oct 05 10:32:08 UTC 2016 |
Hi Praveen,
NWA level destination is working only .
I am getting this below error
16 10:59:08.604 AM | Error | Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDHIS>: state=READING_FIELD_VALUE_TAG, charPosition=598, lineNumber=1, columnNumber=599 |
10/5/2016 10:59:08.606 AM | 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: An IDocConversionException occurred while parsing IDocXML for type <ZORDHIS>: state=READING_FIELD_VALUE_TAG, charPosition=598, lineNumber=1, columnNumber=599 |
10/5/2016 10:59:08.609 AM | Error | Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDHIS>: state=READING_FIELD_VALUE_TAG, charPosition=598, lineNumber=1, columnNumber=599 |
10/5/2016 10:59:08.609 AM | Error | Transmitting the message to endpoint <local> using connection AFW failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDHIS>: state=READING_FIELD_VALUE_TAG, charPosition=598, lineNumber=1, columnNumber=599 |
10/5/2016 10:59:08.615 AM | Information | The asynchronous message was successfully scheduled to be delivered at Wed Oct 05 11:04:08 UTC 2016 |
below is the mapping level result screen shot
Hi Kavitha,
Better approach is fix the data type issue, please take a note below when you disable the data type check.
2036878 - IDoc_AAE: Disable field datatype validation during IDoc-XML parsing
If you disable the field datatype check the IDoc_AAE adapter may send IDoc documents with wrong or illegal field contents which may result in an unexpected behavior in the receiver system. Instead of switching off the IDoc field datatype checks it is recommended to correct the data beforehand, ideally already by the original data creator, and only send valid IDoc data according to the IDoc metadata definition
Regards,
Praveen.
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.