on 04-28-2011 2:16 PM
Hi Experts,
I need to perform some development for SRM 7.0 Offline approval process, where a email needs to be sent to WI recipents and the mail format should be like a smart form. (or might be smart form needs to attach).
I have gone through a number of threads and wiki's but I am not figure it out that how I will be using the BADI BBP_OFFLINE_APP_BADI for sending the mail along with the smart form and what all I need to implement in this badi to make the things working.
- I have found that * "BBP_OUT_OFFAPP is called as standard to determine the layout of the e-mail." * in SAP help document do does this mean that I don't need to create any saparate form?
- Secondly as per the development prospective where all I need to work on ?
Any help will be appreciated
Thanks
Dev
The offline approval uses the smartform BBP_OUT_EXCEPTION.
Please check the following note:
-> 1265414 - add more information to work flow notifications by implementin
It describes how the smartform BBP_OUT_EXCEPTION is adapted, and the
adapted smartform is called from BAdI BBP_OUTPUT_CHANGE_SF.
Thanks,
Melina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dev,
Sorry to interfere Dev. Infact, rather than SMARTFORM, /SAPSRM/OFFLINEAPPROVALSEND output will be good.
If you need attachment, it is having option also as sarvanan said.
One more information: smartform BBP_OUT_EXCEPTION is NOT called at this report. This will be called at Notification time because of Event mechanism.
Understand these points and let us know , we will give best solution..
Balaji.T.
Hi All,
Thanks for your inputs, Actually my requirement is quite simple and very common to SAP SRM system.
I just need to send the UWL WI to email clients for approval and the mail body should be SMART form layout.
as per my understanding as of now I need to perform the below configs and developments.
1 - BBP_PPOSA set attribute forward_wi to X
2 - maintain the email addresses at su01 for WF-batch and prospective recipients.
3 - In so16 need to set send as a home address
4 - need to schedule the report /sapsrm/offlineapprovalsend (is this scheduled with WF_BATCH as user?)
5 - then I need to implement few methods of the badi BBP_OFFLINE_APP_BADI
6 - and as per your inputs it seems I need to implement one more badi BBP_OUTPUT_CHANGE_SF which will call my Smart form.
this all is for outbound processing.
while inbound
1 - I need to do so50 config (Why this config is required?)
(my understanding - wf-batch is a sender from our email client and to over ride this we need to do this config.)
2 - we need to schedule a report in background RBBP_OFFLINE_EVAL ( Is this scheduled with WF_BATCH as user?).
Please provide your valuable inputs if I have missed some thing or you would like to add something in my mentioned points.
One more Imp point, When I running the report /sapsrm/offlineapprovalsend manually for my analysis so that I can check the parameter values in both the BADI's the report is not selecting any Workitem, even though I can see a lot work items in the UWL. (Is it required the UWL WI should be exist in the inbox of the user who is executing the report?)
Regards
Devraj
Edited by: Dev on May 3, 2011 4:22 AM
Hi,
You don't need to schedule this program.. SO50 is enough to update the status back to SRM..
2 - we need to schedule a report in background RBBP_OFFLINE_EVAL ( Is this scheduled with WF_BATCH as user?).
One more Imp point, When I running the report /sapsrm/offlineapprovalsend manually for my analysis so that I can check the parameter values in both the BADI's the report is not selecting any Workitem, even though I can see a lot work items in the UWL. (Is it required the UWL WI should be exist in the inbox of the user who is executing the report?)
Do the step 1 first before you start execute the offline program.
Saravanan
Hi Dev,
If you want to make changes to the offline approval mail; just make a Z-copy of /SAPSRM/OFFLINEAPPROVALSEND and implement your changes there. Next to that there is some customizing required to make SAP SRM able to send and especially retrieve the response of an offline approval action (accept/reject).
This is where SO50 configuration comes in place.
Regards Ruud
Do you use office 2007? If so please check the explanation:
The standard solution to deal is described in note 1247911:
According to note 1247911 the users have to open the mail in a window
(double click) and use the option "other actions" -> "view in browser"
to see and use all functionalities of the mail.
Thanks,
Melina
Hi Saravanan,
I have progress in this issue but I am still not getting the approve and reject hyperlinks nor buttons in the form.
In debug mode When I check the changing parameter of CT_FOLLOWUP_URLS then I can only find the entry for ACTION_TYPE = LOGON.
I guess approve and reject is something to take with this table entry only.
Now my query is link LOGON entry came automatically into this table, APPROVE n REJECT should also come or do we need to code for that.
Regards
Devraj
Hi,
When i was implementing the same functionality in one my customer two years ago with Lotus Note 8, i faced the same issue.. the buttons are not visible even i choose Approval Buttons in HTML Mail...i have got a pilot note from SAP and IBM also gave some hot fix. i dont find the note number from my backup..SORRY.. try to open a OSS message for button issue..
Saravanan
Hi,
If you are looking for the option to attach the attachment that has been added in the SC, then system will automatically attach them into offline email.. you have to choose the Attach Document Attachments in the /SAPSRM/OFFLINEAPPROVALSEND..
Saravanan
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.