Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change Mail description for Email Notfication to SUS

Hi,

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:

CLEAR: lv_maildescription.

CLASS cl_ex_bbp_sus_mail_descr DEFINITION LOAD.

CALL METHOD cl_ex_bbp_sus_mail_descr=>if_ex_bbp_sus_mail_descr~setmaildescription

CHANGING

cv_maildescription = lv_maildescription.

IF lv_maildescription IS INITIAL.

lv_maildescription = text-001.

ENDIF.

I was going through the below thread:

Email Notfication to SUS for new PO

I am new to BADIs. Any help on how I need to go about the BADI?

TIA,

Prabhakar

Former Member
Former Member replied

hi,

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question