In this document indicates how to find an SAP enhancement from source code.
First we start the process in debugging mode by using the /H command.
Once in debugging mode will introduce this break-point statement CALL CUSTOMER-FUNCTION
Navigate through the various calls to find what is useful to us.
We look at the source code line where the call is CALL CUSTOMER-FUNCTION
We double-click to Navigate us to FM
To know the related enhancement go to transaction SMOD
Open the Matchcode and press INFORMATION SYSTEM button.
Press ALL SELECTIONS button and will filter through the field with NAME COMPONENT.
We introduce the FM in this field and we found the enhancement to which it is assigned.
With this enhancement, we can now go to the TX CMOD, create our Z project and use this enhancement.
I hope it is useful.