i have created one ztable.for that in table maintainance how to validate table entries using events.for that table i had Added pushbuttons u2018Add Accountsu2019 and u2018Delete Accountsu2019 to the maintenance screen of custom table in layout in se80.for pushbuttons whether we can write code in events.
i want code for
1)When user choose the pushbutton u2018Add Accountsu2019, make a new row input enabled.
2)When user press the pushbutton u2018Delete Accountsu2019, selected accounts should be deleted. If no record is selected, then provide an information message saying u2018Please select at least one row for deletionu2019. And the corresponding record(s) should be deleted from the DB.