cancel
Showing results for 
Search instead for 
Did you mean: 

Question creating FM or BADI in SRM ?

Former Member
0 Kudos

I have a spec and it is asking to convert a specific value. My question is do i create a FM for it or a BADI. To my understanding both does the same thing and can return a value. So its a matter of preference? thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You should always use a BADI or User Exit to invoke the custom code.

If this is only a once off requirement for a specific transaction than you should code it directly in the BADI.

If their is a chance that you might need to use this conversion in other parts of SRM, you should right a function module, but you will call this from a BADI or User Exit.

Cheers,

Tim