Skip to Content

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

Remove record on the right click event

I have created a new form through screen painter for adding user defined fields.I want to delete record by right clicking on the form and selecting Remove.This functionality can be seen in Item Master.

Former Member
Former Member replied

If ur dealing with a UDO this can be very easily achieved..

After the form load execute this code so that the menu will be enabled.

objForm.EnableMenu("1283", True)

this will enable the menu.

If ur form is not an UDO then in the menu CLICK u have u write the code to delete the record.

Hope it helps,

Vasu Natari.

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