cancel
Showing results for 
Search instead for 
Did you mean: 

BADI to change the email subject

Former Member
0 Kudos

Hi all,

Which BADI can be used to change the subject of the email when a SC is created??

I tried using the BADI "BBP_OFFLINE_APP_BADI" and the implementation "MAIL_DATA_GET" but it is not getting reflected in the mail..

Am I using the right BADI or is there someother BADI that may be helpful??

Please help..

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

BADI is correct.

In method MAIL_DATA_GET you can chage mail content in table CT_MAIL_TEXT as html code.

For subject check parameter cv_mail_subject

You can check it in debugging in programm /SAPSRM/OFFLINEAPPROVALSEND

Best Regards

Evgeniy

Former Member
0 Kudos

Hi evgeny,

I tried to change the subject but once it comes out of the function module its not reflecting in the mail..

Is there something that could be done??

i jus tried to concatenate some string in the subject but it aint working..

Former Member
0 Kudos

Hello,

Check BADI BBP_CTR_MAIL_BADI

Regards,

Neelima

Edited by: S Neelima on Apr 5, 2011 1:01 PM

laurent_burtaire
Active Contributor
0 Kudos

Hello,

Make your own changes for mail subject using exporting parameter EV_SUBJECT from method MAIL_CREATE (BAdI BBP_OFFLINE_APP_BADI ).

Regards.

Laurent.

Former Member
0 Kudos

Thank you all. The issue is resolved.

Former Member
0 Kudos

Hi Mary,

I have a similar issue where in i need to change the subject of the outgoing mail with the refernce / or some id in crm cic.

can u please guide me the way to move forward with the issue.

i would be really helpful.

Thanks,

Regards,

akshay ruia.

Answers (0)