Skip to Content

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

Load user form


I created a new menu item named "Booking". However, under the MenuEvent procedure, I have no idea how to activate another User Form in another VB.NET project.

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

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

SBO_Application.MessageBox("Menu is Clicked")




End If

Please help.


Former Member


I'm not 100% sure how to do this, but maybe you could try one of the following options?

1. If you just need the form and are going to use it differently in the other project, then you can export the form to XML in the first project and then import it from XML in the second project.

2. However, I would guess if you want to reuse the form ,you also want to reuse it's functionality? If this is the case, I would suggest just copying the code from one project to another.

3. Finally, is it possible to just run both add-ons at once?

Perhaps someone else has a more direct way of doing it, but off the top of my head these would be the three options I would consider.



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