We're doing a stress test to test the system on how it fares when we trigger a few thousand WFs at once. I wrote...
a program to trigger the WF Events off continuously, my question is that normally in our event trigger code we put a "Commit Work" at the end. Should we have that there for the stress testing?
If an explicit COMMIT WORK is not specified then none of the events that you raise will occur. This is because the Function Module SWE_EVENT_CREATE is RFC enabled and needs the commit before it executes.
Dig Deeper on SAP workflow development
Related Q&A from Alon Raskin
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients. Continue Reading
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users. Continue Reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.