on 09-09-2014 1:48 PM
Hi,
can any one tell how to find out particular work item is trigger by particular transaction. in swfrevtlog we ill get custom obj type and also super business obj type,but i need to identify this work item id is triggered by this transaction. can any one help,
Thanks in advance
Hello,
The PROGNAME field in the same table (SWFREVTLOG) tells you the main program at the time the event was raised (which can help you identify the transaction).
It's not always helpful (eg it shows program SAPMSSY1 if the event was raised in an RFC call), but it may work for you.
cheers
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sorry, but I don't believe that's possible. Even if you can identify the program, there could be multiple transactions that executed it.
The only possible way, I think, would be to add an enhancement / badi which uses the callstack to determine the calling transaction at the time he event is raised (and then stores it somewhere).
But that's not very elegant.
Why do you need to know the triggering transaction? To influence the workflow? If so, another approach might be this: pass the transaction code as an additional parameter to the workflow event & then pass that to the workflow.
cheers
Paul
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.