Change Mail description for Email Notfication to SUS
I am trying to change the Mail Description in Function Module BBP_SUS_NOTIFICATION_SEND. I see a BADI for doing the same on line 233.
The code is as follows:
CLASS cl_ex_bbp_sus_mail_descr DEFINITION LOAD.
CALL METHOD cl_ex_bbp_sus_mail_descr=>if_ex_bbp_sus_mail_descr~setmaildescription
cv_maildescription = lv_maildescription.
IF lv_maildescription IS INITIAL.
lv_maildescription = text-001.
I was going through the below thread:
I am new to BADIs. Any help on how I need to go about the BADI?
yes there is one badi available.
1 ) transaction se18
2) enter badi name as BBP_SUS_MAIL_DESCR.
3) click display
4) menu --> implementation --> overview --->
here you have to create your own implementation and write the code in the method
SETMAILDESCRIPTION for changing the text according to your requirements