Hi.
I have a strange new requirement. I need to launch a process from an enhancement that begins after the commit of the transaction.
Suppose the user sets the status of a document in CV02n to A. Now the customer wants that as soon as the status is set to A...the status must be changed to B. But a log must exist of the status being set to A. And, this change must be done from an enhancement.
So in essence, I need to start a work process that begins just after a commit. All the update task options run before a commit. So they seem to be of no use.
Any idea how to do this? I thought one possible way is to call another FM in background task and then try to place a lock on the document in an infinite loop. However, this is as inefficient as it gets and I would like to try and avoid this for as much as possible.
Any suggestions?
No points will be given to any answers, no matter how helpful.
Edited by: Rob Burbank on Feb 24, 2009 1:55 PM