on 09-16-2008 2:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.