cancel
Showing results for 
Search instead for 
Did you mean: 

EDI SEPARATOR :Message could not be forwarded to the JCA adapter

Former Member
0 Kudos

Hi Experts,

I am doing a POC on Decentralized Adapter Engine with EDI Separator Adapter.

Scenario is File ----->EDISeparator ------>File .

While doing the POC, I faced the following error :

Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system


MP: exception caught with cause javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system


Exception caught by adapter framework: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: senderChannel 'ba6bc28e205c33629ec6d1cb5e2fb164': Catching exception calling messaging system.


Note : When I tried to run the same scenario on the Centralized Adapter Engine,I am able to process the message successfully.


Please help me to solve the issue.


Appreciate your help.


Regards,

Vikas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vikas,

1. Have you enabled Acknowledgements for these EDI messages? If so, what acknowledgement mode are you using? "Receipt only" or "Receipt and validation"?

2. Can you please check if you can run the converter tool for your message on the DAE? It will then ensure that you have all the required data on your DAE. (Goto <system>:<port>/b2bic -> EDI Content Manager -> <your protocol> -> XXX to XML converter).

3. If you are successful, then it is possible that you have some Module configured on your sender channel which is failing. Can you please check those module one by one?

Regards,

Prashantha

Former Member
0 Kudos

Hi Prashantha,

1. Have you enabled Acknowledgements for these EDI messages? If so, what acknowledgement mode are you using? "Receipt only" or "Receipt and validation"?

No Acknowledgement Enabled.

2. Can you please check if you can run the converter tool for your message on the DAE? It will then ensure that you have all the required data on your DAE. (Goto <system>:<port>/b2bic -> EDI Content Manager -> <your protocol> -> XXX to XML converter).

Conversion is working fine in B2BIC on DAE

3. If you are successful, then it is possible that you have some Module configured on your sender channel which is failing. Can you please check those module one by one?

Please have a look on following configuration :

1) FILE Sender 1st Flow


2) EDISeparator Receiver 1st Flow


EDI Separator Receiver Configuration

3) EDISeparator Sender 2nd Flow





EDI Separator Sender Configuration:



4) File Receiver 2nd Flow



Please let me know if I am missing anything.

Regards,

Vikas

piyush_gakhar
Advisor
Advisor
0 Kudos

Hello Vikas,

Can you please try using GenericConverterModule instead of EdifactConverterModule on EDISeperator sender channel?.

IN EDI Content Manager, where are you checking your message conversion? Under EANCOM tab or EDIFACT tab?

Regards,

Piyush

ruchir_sinha
Participant
0 Kudos

Hi Vikas,

The configuration looks fine. Could you please share the input file which you are trying to process. You can send that to my mail id (ruchir.sinha@sap.com) in case you don't want to put it in public forum.

Also one possibility is that some other EDI Separator sender channel which is configured on same engine is picking up the file. You can verify this by stopping all the EDI Separator channels except for the ones you have configured above.

Thanks & regards,

Ruchir

Former Member
0 Kudos

Hi Ruchir,

Appreciate your help .

There were some other EDI Separator which were running in parallel and picking up the File.

I stopped them and able to run the scenario.

Thanks & Regards,

Vikas

Answers (1)

Answers (1)

ruchir_sinha
Participant
0 Kudos

Hi Vikas,

It looks like you have not configured the EDI Separator Sender channel. The EDI Separator channel which you have used in a receiver channel and it will split the incoming file if it is a bulk message. After the split the files are picked up by corresponding EDISeparator Sender channel. And then you can have the File Adapter Receiver at the end.

Regards,

Ruchir

Former Member
0 Kudos

Hi Ruchir,

Thanks for your reply but as I already mentioned it is working fine with Centralized Adapter Engine.

When I am changing the Central Adapter engine to the Decentralized Adapter, I am facing this issue.

Regards,

Vikas

piyush_gakhar
Advisor
Advisor
0 Kudos

Hello Vikas,

Make sure that EDI Seperator sender and receiver channels (both) are either on central adapter engine or on de-central adapter engine.

Regards,

Piyush

Former Member
0 Kudos

Hi Piyush,

Both are on the same engine i.e de-central adapter engine.

Regards,

Vikas