Thanks to Kasi, I have a likely cause: I mentioned earlier we ‘track’ TIDs during IDoc delivery and ‘confirm’ TIDs on SAP after 24 hours by executing pub.sap.client:confirmTID
via scheduled service. In addition, we call pub.sap.transaction:deleteAll
- this deletes the entire local transaction store every hour on the hour to keep it manageable. The two actions may be interacting with each other (thanks Kasi for the thought).
I used to think that confirmTID
confirms (deletes) the TID on the remote SAP system only. Does it try to confirm a TID value in the local CTS transaction store too?
Below, I’ve interleaved some outbound (IS → SAP) IDoc transfer logs with SAP adapter logs – they indicate the cleanup service tried to ‘confirm’ a TID 24 hours after transmission, but found it deleted already. I’m not sure if this was because deleteAll
ran in the interim, or if some SAP-side process deleted the TID. But the ‘already deleted’ narrative accounts for the majority of the Confirm action for nonexisting Transaction TID
messages in outbound IS → SAP IDoc transmission. I still don’t know what could cause inbound (SAP → IS) IDoc logs provided at the top of this post. I intend to discuss with our Basis team.
<<<Custom code sends IDoc to SAP by calling pub.sap.client:sendIDoc with TID=0AD21E0EE0AD6109DCBD102F>>>
2021-08-04 10:18:05 AEST [SAP.0110.0002I] SendIDoc - Create 0AD21E0EE0AD6109DCBD102F
2021-08-04 10:18:05 AEST [SAP.0110.0003I] SendIDoc - Commit 0AD21E0EE0AD6109DCBD102F
<<<24 hours later, cleanup scheduler confirms TID=0AD21E0EE0AD6109DCBD102F on SAP system>>>
2021-08-05 10:19:39 AEST [SAP.0110.0039W] Confirm action for nonexisting Transaction TID "0AD21E0EE0AD6109DCBD102F"
@Holger_von_Thomsen - thanks for your tips; I appreciate them. I recall discussing impending JCo 3.0.x support issues with our Basis team earlier. From memory, we’re not unsupported. Obviously, a current version is better - we have to weigh the change with testing requirements and the move to SAP Adapter 10.1.
@Venkata_Kasi_Viswanath_Mugada1 - Thanks again for your insight. Very useful.
- Yes, CTS is basically another client-server arrangement setup to run within the EAI cluster.
- I’m not sure what you meant by number of IS instances and SAP listener processes, but each IS node runs a SAP adapter.
- Yes! We run
deleteAll
every hour. This deletes all entries in the webMethods SAP transaction store to keep the store down to a manageable size. Perhaps this is what caused the problem with confirmTID
trying to delete a TID that deleteAll
already deleted.
- Thanks on the log suppression suggestion
- Yes, prerequisite checks for patches are a good idea
@rmg - yes, your suggestions are correct. Good to see you after all these years.
#Adapters-and-E-Standards#Integration-Server-and-ESB#webMethods#SAP#TID