on 03-06-2019 7:28 AM
Hi Experts,
We are working on IDoc --> File scenario in SAP PO 7.5 version which is recently installed. During batch processing of IDocs from SAP ECC to PO 7.5 system & IDoc messages are getting stuck in ECC SMQ1 with error as below.
When we manually "Execute LUW" on the SMQ1 entries then they are getting processed to PI. But this error is not occurring when we trigger only one IDoc. Kindly help on this.
Thanks,
Ramu.
Hello Ramu,
As per the error log, I can see it is failing for a single cluster and you have a multi clustered environment.
It might be an issue with the JCO connection not started or the queues are not active for that cluster.
May be it is also an issue with the connection definition / timeout for the messaging system.Not sure though.
could you please check the followings -
1. Check the IDoc Messaging queues in NWA for all the servers- when the message fails. Any of the queues are missing?
2. Go to http://host:port/nwa -> Configuration -> Infrastructure ->Java System Properties -> Service tab -> XPI Service: AF Core -> messaging.connectionDefinition and check if this is maintained correctly - if you want , you can add a separate entry for IDOc adapter by separating with comma.
3. Increase the value of following two parameters:
Go to http://host:port/nwa -> Configuration -> Infrastructure ->Java System Properties -> Service tab -> XPI Service: AF Core -> clusterCommunicationTimeoutMsec. (default value is 15000).
Go to http://host:port/nwa -> Configuration -> Infrastructure ->Java System Properties -> Service tab -> XPI Service: Messaging System -> messaging.cluster.timeout. (default value is 60000)
4. Try to stop and start the adapter service in NWA -
5. Check with BASIS team if the J2EE server is not running in SAFE mode, should be in NORMAL mode.
6. if nothing works, then recreate a new channel and check the behavior :-). is it happening to any other sender IDOc channel?
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sugata,
Thank you for all above points to explain in detail to resolve the issue.
It is not the case that no IDoc is reaching PI but out of 10 IDocs that are triggered from ECC to PI mostly one or two are getting stuck in SMQ1 of sender ECC system. But even the 1 or 2 IDocs which are stuck in SMQ1 are getting processed when we manually try to process using "Execute LUW".
I have checked the following & have highlighted the results in bold.
When I check the logs of sender IDoc_AAE channel in PI, only one of the instance of the server is having issue as shown in below snippet.
Thanks,
Ramu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ramu,
Could you please try the below points -
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sugata,
Thank you very much for your reply, I have executed "Reload" and then triggered IDoc but still issue persists. I have also tried "Delete" option as well but no luck.
Thanks,
Ramu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramu,
Check the following -
Issue can occur when there is an extra program ID XI_IDOC_DEFAULT_PID configured in the NWA. A JCo RFC destination is defined with the program ID XI_IDOC_DEFAULT_PID. This can be seen in the NWA -> Configuration -> Infrastructure -> JCo RFC Provider. This is already the same program ID as in the inboundRA Resource Adapter and should be defined in SM59 of the source ECC system. If there is an entry in JCO RFC provider, please stop that or remove.
The program ID used in the inboundRA should be unique, so it is not allowed to have the JCo RFC Provider entry also. To resolve the issue go to the NWA -> Configuration -> JCo RFC Provider and remove the entry with program ID XI_IDOC_DEFAULT_PID. Then restart the com.sap.aii.adapter.idoc.app application in the NWA. Afterwards, resend the IDocs from the sender system.
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramu,
I'm aware that the initial screenshot was from the ECC system. The provided screenshot doesn't relate to an RFC message, but rather to a message processing failure in an IDoc scenario. I'd suggest to follow my above advice:collect an Example 50 - XI Channel trace (with the IDoc_AAE sender channel) and reproduce the issue.
Best regards,
Mate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mate,
Yes my screen shot is only for IDoc not for RFC related, if you need that also I can do that but both IDoc/RFC entries are stuck in sender ECC system in SMQ1 only. I do not know/aware of steps to follow your advice. Can you please elucidate on the steps of how to achieve this " 50 - XI Channel trace (with the IDoc_AAE sender channel) and reproduce the issue ".
Thanks,
Ramu.
Hi Ramu,
This kind of error usually happens when the IDoc reaches your PI system, an XI message is generated but the processing fails either at receiver determination or at mapping and then a rollback happens. You should check the default traces in your PI system or collect an Example 50 - XI Channel trace (with the IDoc_AAE sender channel) and reproduce the issue.
Best regards,
Mate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.