cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow EVENT not getting displayed in trace

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

do you use 'commit work' in your program.

The event will not be raised without commit.

former_member181962
Active Contributor
0 Kudos

But , Why is it working for some users and nort for others?

Answers (3)

Answers (3)

former_member186746
Active Contributor
0 Kudos

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

glauco
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

Yes, we did ON the trace using swels for those users.

Regards,

ravi

Former Member
0 Kudos

Hi,

So is the problem solved or still the same?

If problem persists, authorization can be the cause problem.

Are authorization of these users are same as the users who can see the trace?

Regds,

Akshay

former_member181962
Active Contributor
0 Kudos

NO. The problem persists.

Did somebody experience a similar type of issue?

Ravi.

Former Member
0 Kudos

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.