Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Form cannot reopen when I choose it from Menu

Hi all,

I have created a menu & submenu and I open a form (PRMain) ONLY the first I choose it. If I close it and reopen it doesn't open again. Any Idea?

Here is the Code:

Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent

If pVal.BeforeAction = False Then

Select Case pVal.MenuUID

Case "SM_VID_F1"

If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = False) Then


Dim f As SAPbouiCOM.Form

f = SBO_Application.Forms.Item("PRMain")


Catch ex As Exception


End Try

End If

Case "SM_VID_F2"


End Select

End If

End Sub

Thanks in advance.


Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question