cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Avoid auto close(ststem forms)

Former Member
0 Likes
217

Hi,

I want to restrict auto close of system form.

While adding Business partner . after inserting datas sucussfullly form is getting closed.

I want active form.How i can restirct this auto close

By

Firos.C

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Firoz

I didn't understand what is the issue.

Which form is automatically closing after inserting data?

Business Partners form will not close since after a successful insertion, it will stay in add mode.

Anoop

Former Member
0 Likes

y

Former Member
0 Likes

If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_CLOSE And pVal.Action_Success = False And pVal.FormType = "141" Then
                                                BubbleEvent = False
End if
              

The above code stops closing of purchase order i.e. 141.On the close event of the form use BubbleEvent = False to restrict form closing.

Former Member
0 Likes

Dilip, Thanks for ur reoly

It is not all eeffective

I have written same code but now also form is getting closed

By

Firos.C