Commit work issue inside userexit while triggering sender proxy
We have a situation where in, a sender proxy is triggered inside the Userexit of a transaction. When we try to execute the proxy in a test program, the XML message is not reaching XI unless a commit work statement is put immediately after Proxy call method. But this solution cannot be incorporated inside the Userexit as that will commit the whole transaction. Also there are number of other methods triggered inside the Userexit after the Proxy is triggered.
Kindly respond to the below queries:
1. Is there a Standard commit after a userexit is triggered? if yes, shall that solve the problem?
2. Is there any solution other than commit work statement?
Thanks in Advance,