Loop when you use the Validate Event

Issue description

When you use the Validate Event the SAP crashes.
 

Solution

It's possible when you use this event, you generate a never ending loop.

You have two solutions to fix this problem:

Check InnerEvent status
if(pVal.InnerEvent == true)
{
    // You are in the Loop
    return true; //Exit the function
}
Check the valueChanged Property
if(pVal.ValueChanged == false)
{
    // You are in the Loop
    return true; //Exit the function
}
Was this article helpful?
2 out of 2 found this helpful
Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.