cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change Email Subject in offline approval's email reply

former_member627538
Discoverer
0 Kudos

Hi All,

I got a requirement to change the offline approval's email reply's subject line?. ie) say when the user clicks on 'approve by email', email opens with subject line '#EBP_GEN_REPLY# Approval of the work item', i want to add SC # in the subject line. Anyhow has worked on such requirement,pls reply back.

so if somehow i can change or change URL on approve by email button it should work.

i am using SRM 7.0 system and also using report /SAPSRM/OFFLINEAPPROVALSEND to send mail.

This question was already asked but i can see there was not any helping answer also my SRM system is different.

Br,

ashutosh

Accepted Solutions (0)

Answers (4)

Answers (4)

ivy_li
Active Contributor

Hi,

Maybe you could check report /SAPSRM/OFFLINEAPPROVALGET which is used to read the external email content.

BR,

Ivy

vinita_kasliwal
Active Contributor

Hi Ashutosh

Can you try to debug by putting a breakpoint in BADI BBP_OFFLINE_APP_BADI

Method MAIL_CREATE should let you change the subject in IV_SUBJECT


Let me know if that helps.

Regards

Vinita

former_member627538
Discoverer
0 Kudos

Hi All,

thanks for all your help.

This BADI BBP_OFFLINE_APP_BADI helps us in changing the same mail that we are sending to approval but my need was to change the returning mail that we get by clicking on approve or reject button and that handled by system. So it will not help as url was encrypted in this badi implementation class.

I got the desired output using implicit enhancement in report /SAPSRM/OFFLINEAPPROVALGET and changing URL on decision_link form by getting the access key from SAP.


Br,

ashutosh

0 Kudos

Hello Ashutosh,

it is indeed possible to change the subject in the SRM7 also. Please see the Wiki page:

https://wiki.scn.sap.com/wiki/x/Cpd9Fw

The section: MAIL_CREATE - Customer-Specific Generation of E-mail

provides the possibilities in changing the email content. By using this you will be able to change the subject also.

Best Regards

Zoltan