on 12-06-2006 1:14 PM
Hello experts,
I have a scenario where, an event gets raised through a Function module call(SWE_EVENT_CREATE) in a badi.
The event will in turn trigger a workflow.
The problem is that for some users the trace(SWEL) shows that the event is raised and for some others, it doesn't show that the event has been raised.
The work flow start conditions doesn't have a condition for user based checking.
What might be the problem?
Please help.
Regards,
Ravi
do you use 'commit work' in your program.
The event will not be raised without commit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check tr sweqadm to see if there are faulty events and maybe why this is happening.
also try sm21 (system log) to see what happens at that time
Next, compare the authorizations AND the user parameters the users have, maybe something is missing.
Then, you have to ask yourself if for some users the FM doesn't get reached at all, so try setting an endless loop before the FM, or replace it with an action that always works (like a message of type x)
Kind regards, rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try to see the autorith check for the transaction or it can happen if for any condition the code that trigger the event isn't running.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Is the problem only that event trace is not shown for some users or the workflow itself is not triggered for those users?
If the problem is only event trace can not be seen , then you can use txn SWELS and switch the Trace <b>ON</b> for those users.
Hope this helps.
Regds,
Akshay Bhagwat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
are your users doing the same actions (changing data) ?
I mean if you trigger the event but transaction does nto change any data - there may not be any commit work - thus no event triggering.
If some users are constantly experiencing this problem (no event triggering) you may try to enable trances in ST01 ask you user to run the program and then check if you find any info in trace.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.