Skip to Content

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

Menu Selection - Usertable

Good Day

Experts:

I wish to have a User Table maintenance connected to a Menu selection so the User does not have to hit

Tools --> User Tables --> (then navigate to the table and select from the list).

Is it possible to open the User Table maintenance for a table from a menu selection? I have not been able to find out how.

Thanks,

EJD

Former Member
replied

Hi,

catch the MenuEvent and insert the following

Dim oMenu As SAPbouiCOM.MenuItem
Dim i As Integer
Dim MenuUID As String
    
if pVal.MenuUID = "menuUID" And pVal.BeforeAction = True Then
        Set oMenu = oSBO.appl.Menus.item("51200")
        For i = 0 To oMenu.SubMenus.count - 1
           If oMenu.SubMenus.item(i).String = "Description of Table" Then
            MenuUID = oMenu.SubMenus.item(i).UID
           End If
        Next
        oSBO.appl.ActivateMenuItem (MenuUID)
end if

you catch it with the Description of the table

and than open it

lg Daviod

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