cancel
Showing results for 
Search instead for 
Did you mean: 

Event is triggering twice in change customer

0 Kudos

I am go to TCODE: vd02 and change one field of the customer and then press save, after that I go to Tcode: SWEL to check the events and I see that my events its execute twice:

Yes its execute twice, in Handler /Action i know i have 2 different function modules, but I have to call only once each time, in my screen you can see 4 rows, this is because the event call 2 times one, and 2 times the another one.

I only have to have 2 rows, one for QLINK and one empty as its declared on my configuration of SWETYPV:

Could you please help me to underestand why its this happening?

the only different its on WSEL i check display event trace and i can see on Main program that its difrrent

Accepted Solutions (0)

Answers (2)

Answers (2)

DominikTylczyn
Active Contributor
0 Kudos

Hello luisrobertofrancomx

I don't think your event is triggered twice. To me it looks like your event is triggered once, but you have two receivers of the event. Therefore you see two lines in SWEL. Notice that you have two different values under "Handler/Action" in SWEL in the marked lines. If the event was triggered twice, you would have doubled lines for the same "Handler/Action" in SWEL.

Best regards

Dominik Tylczynski

0 Kudos

Yes its execute twice, in Handler /Action i know i have 2 different function modules, but I have to call only once each time, in my screen you can see 4 rows, this is because the event call 2 times one, and 2 times the another one.

Neeraj_Jain
Active Contributor
0 Kudos

Hello luisrobertofrancomx,

Please refer below accepted SAP threads on similar issues.

https://answers.sap.com/questions/5654018/event-and-business-obejct-triggered-twice.html

https://answers.sap.com/questions/9420618/event-is-triggering-twice-in-change-document.html

Confirm if it's works for you.

Regards,

Neeraj Jain