As I understand it, BADIs can and do have multiple implementations. Take for example BADI_SD_SALES. It has 20 implementation which I understand to mean 20 possible sets of ABAP code for the BADI methods.
What determines which implementation is executed when the BADI is called?
For example what determines if implementation ISM_SD_SALES is used as opposed to any other?