Showing results for 
Search instead for 
Did you mean: 

Executing a menu click without clicking on the menu

Former Member
0 Kudos


I am working on a UDO form (Master Data and Master Data Lines), and i am using a matrix to fill in the data of the Master Data Lines and I would like to execute the "remove" function that appears in the right click menu on the matrix. This function removes the Given Master Data Object and all its corresponding lines.

Does anybody have an idea how to do this?

Thank you

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ralph,

You can execute any menu command with the following method: oApplication.ActivateMenuItem(UID)

The UID is the code for the menu that you can see in the debug menu when hovering over the specific field. In this case it is "1283"

Hope it helps,