Check this post : https://blogs.sap.com/2019/09/23/customizing-material-master-adding-new-tabsub-screen-in-mm01-mm02-mm03/
In SM37, type JDBG (like Job Debug in Background).
Read MoreIn transaction where you can edit code (like SE38, SE80…) :
Refer to the links below :
Building Your First BADI
How to Implement a BADI
How to use filter in a BADI