on ‎2009 Dec 29 10:41 AM
Dear All,
When approval needed for a shopping cart, a mail goes to the approver in his Lotus Notes / Outlook mailbox. When user clicks on the approval / Rejection Link, a mail is generated in his mailbox. If that mail is sent, then the shopping cart is approved or rejected. Requirement is to disable the subject line and mail body disabled so that no one can change it. Is it possible through SAP?
Best wishes,
Atanu
Request clarification before answering.
first identify
which programs you are using to sent this offline approval
http://help.sap.com/saphelp_srm50/helpdata/en/31/ec423b4ac8d506e10000000a11402f/frameset.htm
/SAPSRM/OFFLINEAPPROVALSEND srm 7.0 ?
RBBP_NOTIFICATION_OFFAPP srm 5.0 ?
RSWUWFMLEC srm 5.0 ?
Then take a help from technical resource where this message comes form
have you implemented this BAdi bbp_offline_app_badi helps .
all the methods are very useful in this badi
MAIL_DATA_GETCustomer-Specific Generation of E-mail
MAIL_CREATECustomer-Specific Generation of E-mail
WORKITEMS_SELECTChange Work Item Selection
br
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1260309 BADI(BBP_OFFLINE_APP_BADI) calls in /SAPSRM/OFFLINEAPPROVALS 15.10.2008
1140334 BBP_OFFLINE_APP_BADI: Class inheritance is not possible 12.02.2008
1356804 Offline Approval: Mail content not passed to BADI 24.06.2009
1399264 How to change contents of offline approval email. 23.10.2009
Summary
Symptom
You are using offline approval of your SRM documents. THe contents of the email are not as you would like to have them.
Other terms
Offline approval, email, mail, text, url, SRM
Reason and Prerequisites
When using offline approval, a standard email is sent out to users. Many customers would like to change the contents of these emails to meet their own requirements.
Solution
Please follow the guidelines below for your relevant SRM release.
SRM 4.0 and previous releases:
You are using offline approval report RSWUWFMLEC.
The URL can be changed by applying note 748319.
If you would like to change the text of the email then you can do so by calling transaction PFTC and displaying the relevant task (this can be found from the workflow log SWI1/SWI6). Now click on the description tab. Here it is possible to maintain your own text.
SRM 5.0:
You are using offline approval report RBBP_NOTIFICATION_OFFAPP.
If you would like to change the content of your emails, you can use the badi BBP_OFFLINE_APP_BADI.
Further information can be found in SPRO.
SAP Implementation Guid
> Supplier Relationship Management
> SRM Server
> Business Add-Ins
> SAP Business Workflow
> Customer Enhancement of Offline Approval
SRM 6.0 and SRM 7.0:
You are using offline approval report /SAPSRM/OFFLINEAPPROVALSEND.
If you would like to change the content of your emails, you can use the badi BBP_OFFLINE_APP_BADI.
Further information can be found in SPRO.
SAP Implementation Guid
> Supplier Relationship Management
> SRM Server
> Business Add-Ins
> SAP Business Workflow
> Customer Enhancement of Offline Approval
Hello Atanu,
I don't think you can use ABAP to answer to your request.
Nevertheless, by selecting "Approve" or "Reject" link, system generates an appropriate reply e-mail (for which modifications by recipient must be forbidden) where approver can add a text in the space provided (see paragraph Offline approval by the recipient in hyper-link given by Muthuraman).
As those links are generated by report RBBP_NOTIFICATION_OFFAPP, maybe by using method MAIL_CREATE, you can pre-fill this area with a reminder sentence for approvers.
Regarding reply e-mail itself, see with network/mail client team if it is possible to generate an e-mail not editable.
Regards.
Laurent.
Hi
disable the subject line and mail body disabled
so no one should not edit the subject line and mail body in the lotus notes or do you want to edit the subject line and mail body. you can do that by BADI suggested.
as you aware we can edit any message in mail boxes whatever we sent right.that may not controled by in SAP system.
Our program will send workitem to Lotus notes and receive the workitem from Lotus notes .
br
muthu
Hi Govinda...
your answer is very help ful to me . But to implement the MAIL_DATA_GET or MAIL_CREATE methods , first have to find where the text is storing written in the 'Notes For Approval'. I am unable to find that one.
Can you please tell me where the text is storing . And how I can fetch that text to the Lotus Notes .
Waiting for your reply.
Best Regards
krishhna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.