Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8608

validate event performance problem

$
0
0

Dear all,

 

My problem is B1 run with my addon when copy from purchase order (with a lot of items) to good receipt PO spend a lot of time.

 

I tested with 2 cases as follows:

 

case 1: add filter to 143

...

oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_VALIDATE)

oFilter.AddEx("143")

...

 

case 2: no filter to 143

...

oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_VALIDATE)

'no filter to 143    oFilter.AddEx("143")

...

 

case 1 time used is 26s, case 2 time used is 10s.

 

I have commented my code with validate event but still spend a lot of times to load. It seems a lot of system validate event go into addon and cause performance issue. but I need to check if some value change and then update value and so which other event I can used to replace validate event?

 

Regards,

David


Viewing all articles
Browse latest Browse all 8608

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>