cancel
Showing results for 
Search instead for 
Did you mean: 

Event Executing Itself Multiple Times

Former Member
0 Kudos

Hello Experts,

I have created a validation in the Sales Order Form for checking the Item Gross Profit greater than 0 .

When user press tab from the UnitPrice column this checking is done but system is executing the event multiple time

rather than once .It makes the checking very slow each time this check occurs event occur mulitple times.

Please suggest what to do .

Thanks & Regards,

Amit

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Done

Former Member
0 Kudos

Hi,

Please ensure that u r given necessary conditions before doing validation


1. pval.BeforeAction = False
2.Pval.ColumUID = "UrId"
3.Pval.ItemUId = "UrMatId"
4.pVal.InnerEvent

By

Firos C

Former Member
0 Kudos

Hello Amit,

download the [B1DE|http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7] [original link is broken];

and use the Event Logger to check which events occure in SBO.

Then choose the correct event for you application.

SBO in most cases an bubble event (for and after)

example: for is for checking conditions in the order and after is execute custom functionality when the order is saved.

Look in the SDK helpfile for more information.

Good luck.

HTH regards Teun