Skip to Content
0

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

Apr 20 at 12:33 AM

42

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Ivy Li
Apr 20 at 03:27 AM
1

Hi,

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

BR,

Ivy

Share
10 |10000 characters needed characters left characters exceeded
Vinita Kasliwal Apr 20 at 02:11 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Zoltan Paulinyi
Apr 23 at 08:18 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 23 at 01:34 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded