cancel
Showing results for 
Search instead for 
Did you mean: 

Preventing a user form from Closing

Former Member
0 Kudos

Hi,

I want to prevent et_form_close from closing

my form ( under certain conditions ).

When i trap et_form_close, the before_action is already

false.

How can i get to the event before SBO processes it ?

Thanks.

Ravi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I've open a <u>BUG</u> on this issue.

(the BUG relates to incorrect BeforeAction boolean.

In the meantime you can use the following code:

<i>..If (pVal.EventType = et_FORM_CLOSE And FormUID = "<YOUR FORM>") Then

.....BubbleEvent = False

..End If</i>

Regards

Yaniv G

SDK Consultant,

SAP Manage Israel.

Former Member
0 Kudos

Thanks, Yaniv.

former_member374
Active Contributor
0 Kudos

H Ravi,

You are thanking a poster for his answer.

Please next time also give him points.

See: /people/mark.finnern/blog/2004/08/10/spread-the-love

This time I did it for you.

Remember: When you ask a question you also assume the responsibility to assign points.

Please check your other questions and if the answers were good.

Spread the love and give some points.

Thanks in advance, Mark.

Answers (0)