cancel
Showing results for 
Search instead for 
Did you mean: 

event raise failure

ross_goodman
Participant
0 Kudos

I have an issue involving an event that is being raised in a user exit that is being called in update.

This works fine in dev and QA but simply will NOT work in production.

The code runs perfectly and the call to SWE_EVENT_CREATE looks to function identically in all three systems. THE ONLY DIFFERENCE IS THAT IN PRODUCTION THE EVENT NEVER GETS RAISED.

Can anyone suggest a possible cause for an event not raising in one system as opposed to another?

This is driving me seriously nuts!!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Ross,

Check whether Enable event queue flag is set in swetypv for your event in production system, this can be a problem.

ThomasZloch
Active Contributor
0 Kudos

Sounds more like a Workflow problem, please have a look in the "SAP Business Workflow" forum, and close this thread here if you open a new one there (never cross-post, please).

Anyway, you should check the "event type linkages" via transaction SWETYPV, if I remember correctly the type linkage box must be checked for the object type and event.

Thomas

ross_goodman
Participant
0 Kudos

Hi Thomas. I posted here as I am not triggering a workflow just a function module that creates an inbound idoc. I will leave it here for another day and then close and repost in workflow if nothing comes out of this.

Event type linkages are correctly configured for the object and event identically in all systems, those where the event is succesfully raised and that where it is not.

Debugging the process shows that the code is behaving identically in all systems

The only thing I can think of is that there is no "commit" taking place in the application transaction itself (VL32N) in production, but the article document for the goods receipt is being created so this cannot be true either. In fact if I go immediately to the create event manually facility in the workflow utilities and use the key that was visible during debug I then do get the event raised!! How wierd is that !

Ross

Former Member
0 Kudos

Hi,

Check in SWEL after saving the document and see if your event is triggered or not. There you can also see if event has any receiver or not.

Former Member
0 Kudos

Hi,

Have you checked whether user exit got transported ocrrectly or not?

If yes, then checked whether it is getting triggered or not?

If yes, then activate event trace for a while in SWELS if trace is inactive and subsequantly execute your transaction again from where event should get triggered and check to SWEL whether event is getting triggered or not.

If event is getting triggered then check whether receiver available to the event or not. (You can also check in SWETYPV whether there is any receiver assigned to the business object event or not).

If you can trace out above steps, definitly will get some idea where it is getting failed.

Regards,

Umang Mehta

Former Member
0 Kudos

Hi,

Can you provide more details abouts your requirement. so that experts can look into it.

Regards,

Goutam Kolluru.