SM30: Add custom button on maintenance view:
Step by step:
Create DB table: ZLM_TEST_MT
Create maintenance view
Add event:
Form routine name must be SAPL + function group name.
Before press editor you’d better go to sm30 to check status:
Then press editor
Choose status and input EULG. Press copy user interface;
Form program SAPLSVIM (you can check function group SVIM)
After copy EULG. Change -> add custom button
Save and active.
Modify maintenance screen
(you can also go to SE80 to change it)
Double click on the module name and create the include program as shown in below screen shot..