on 2018 Apr 20 1:33 AM
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
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
Maybe you could check report /SAPSRM/OFFLINEAPPROVALGET which is used to read the external email content.
BR,
Ivy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.