PO change version Approval/Rejection notification to requester
Dear SRM Gurus,
We are in stand alone scenarion of SRM 7.0 using process controlled WF.
We have received an request to send out notification on approval / rejection of and PO change version.
The PO's are created automaticaly from approved SC's and only the PO change triggers the approval WF.
I've already checked the IMG: SRM server > cross application > Event and event schema for alert management.
1. Define events: BUS2201 Purchase order is present with APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED
2. Define event schema for obj. type BUS2201 event schema PO the APPROVAL_PROCESS_DOC_APPROVED and APPROVAL_PROCESS_DOC_REJECTED with subcategory event APPROVAL_RESULT_NOTIFIC_NEW are set to event category NOTIFIC Message.
3. Define Recipient of notifications: PM Approve change version of purchase order - User Role CR contact person the options rejection and approval of application object are selected.
The users I'am using to test are the same as those who receive notifications for SC rejection/approval so I guess it's not connected to SU01 or PPOMA settings.
Still I don't see notification sent via SOST.
Any ides what I could check next please?
Thanks in advance for you help.
Michal
Hello Michal,
did you give the event schema created to corresponding transaction type ?
If you are expecting to receive notification during approval workflow, check OSS note [1395980 - No notifications of approval sent during approval process|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1395980&_NLANG=E]
For PO, you can also check OSS note [1572957 - PO change version reject notification not sent|https://websmp101.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1572957&_NLANG=E]
Regards.
Laurent.
Similar Messages
-
Dear All ;
I want to make approve for Leave of absence Employee rquest in the Manager Self Service Responsibility , in All Actions Awaiting Your Attention page i selected the employee record then i sow his request but Approve,Reject,Reassign and request Information buttons were dissapeared ...
Any Help Please...
Best RegardsCheck the worklist for the notification. The buttons should be there.
-
Requestor able to approve / Reject his owen request....
Hi Experts,
Please help me on the issue.
Present i am involving the GRC implementation project. But i had one issue in CUP workflow.
Recently i have created the one workflow (New User Account) with 3 stages (Line Manager, Role Owner, and Security) and Path everything is looking fine.
Finally we have created the request for New User Account and request was submitted successfully. But we have also able to approve/Reject our own requests. It should not happen?
If we creates the request with other user, the actual approvers only able to approve/Reject that request.
Regards,
Arjun.Thanks Alpesh,
Yes, i am part of the cup workflow configuration (But my user id is not included in to the CAD approver list, eventhough i am able to approve/Reject my own requests). The following roles were assigned to my UME account.
AE security
AE approver
AE administrator
and the default End user personlization(approve/reject own reques) is set to "NO" under the configuraton tab. please clarify... if we suppose to assigned the AE Administrator role to user accounts, are they able to approve their own requests?
Thanks in advance,
Arjun.
Edited by: Anithab on Dec 12, 2010 4:18 PM
Edited by: Anithab on Dec 12, 2010 4:25 PM -
Approval/Rejection of Access Request through email functionality not workin
Hello Gurus,
We have configured CUP with workflow and everything is working fine along with email notification triggers etc..
In MSMP configuration , for task settings i have we see that there are various option and check boxes with options
1)Approval by email
2) Rejection by email !!
Which i have ticked very happily but when i get a notification regarding approval . it is plain text e.g)
Dear Approver,
There are new workitem(s) in your work inbox . Please perform the necessary actions.
Kind regards,
Access Control Administrator
Now i am wondering how can i get the approve & reject button in the email ??
I suppose this functionality was available in GRC 5.3.
Please correct me if i have understood this functionality wrong or something !!
Else what settings have to be done to enable it ??
Thanks in advance.
Regards,
VictorHello Diego,
Thank you for providing me a very good document.
I checked it and i found that i had selected "default" templates for notification events
END_OF_REQUEST & REQUEST_SUBMISSION.
But when i went on to one more template ID of "GRAC_AR_APP_BY_EMAIL" i only found that i could select
recipients (Agent Names)
Current Approvers
Manager Notifications
Other Approvers
Requester
User
I could not find a way through which i could select the "Custom" Agents i have created whose "Agent Purpose" was "APPROVE"
If i am not wrong , should i add those Custom agents under step three (Maintain Agents) & assign them Agent purpose as "Notification" only then will i be able to see them ??
Please correct me if i am wrong !!
Thanks in advance.
Regards,
Victor -
RFx Response Approved / Rejected notification
Hello SRM Experts,
We are currently experiencing some complications with our e-mail notification for approved/rejected RFxs, some are unable to receive the e-mail. We have checked the possible configuration for this like transaction SU01 etc., we might missing something.. Any inputs?
Thank you!Ranjan Sutradhar wrote:
Hi Jerome,
> Have you checked if the outputs are generated for the failed mail output in SOST tcode?
>
> Thanks and regards,
> Ranjan
Hi Ranjan,
Thank you for the quick reply.
Yes we have already checked tcode SOST, but the mail didn't reach SOST . It's weird because it happens only on selective users...
Thank you! -
Expense request getting errored out after Expense approver rejected
Dear Experts,
I am facing issues where employee expense request is getting errored out when the expenses approver reject the Request.
We are using a workflow to move this request.
Once the employee submitted the expense request. We are having 2 level approval of his/her. Supervisor at the 1st and Expense approver at 2nd level
In the 2nd phase the Expense approver rejecting the travel request to make modifications, however the rejected request is NOT routing back to the employee.
Any assistance highly appreciatedHi Venkat,
Many thanks for your reply
The required work flow is properly configured. I can see after rejection it has been routed to the employee again.
However after rejection its getting errored out, any idea on the possible reasons, does er approver is selecting or inputing any incorrect parameters.
Regards,
Tamiz -
How do we incorpoarte 'Approval/Reject' notifictaion in BPEL?
Like in Oracle Workflows, how do I incorporate approval/reject notifications?
Using BPEL process, I am trying to send an email notification to the approver.
The email should have 2 buttons, 'Approve' and 'Reject'. Based on the approvers selection,
the BPEL process should choose the conditional flow.
Here my question is, how do I incorporate the email with these 2 buttons.
And how do I incorporate the conditional flow?
In Oracle workflow this can be easily achieved.
Please point me to the related documents/procedures.
Thanks,
Bala.Hi Sandra,
For your code logic, I1129 with inactive X should be included to get the list of SC which are in awaiting approval or may be approved but without follow on doc.
But could you check if you get any message in RZ20 after the follow on doc is created and it becomes inactive ?
may be you can check the SAP note: 1499352 - SRM Transfer: Redesign, bug fixes
Best Regards,
Anil -
Are there WF Signature Request "Rejected" notifications?
In GSM WF, we have a step that requires a couple of Signature Requests from different functional areas. We have noticed that when a signer rejects to "sign" that no email notification is going out to the owner of the step. This is counter-intuitive to user experience and different than the way Supplier notifications work on SRSA workflows. Is there a configuration to turn the GSM WFA Signature Request Rejected notification = "ON"? If there is no configuration option, how have others solved this? Are your users asking or have asked in the past for notification when another rejects their spec object?
Thanks! --BeckieOK, let's go over how this gets implemented:
NOTE: Remember that this would be a custom solution. We are working on improvements to signature documents for an upcoming release.
Because Signature Documents have their own workflow, we can add a workflow action (class) that gets triggered when a Signature Document moves from Review to Rejected/Not Approved. The Signature Document workflow is not managed in the UI, so to add a workflow action, we will use a simple database script. The custom Workflow Action class can send an email to the specification owners informing them that a signature document was Rejected, and include some helpful information.
For example, the email body could look like the following:
A Signature Document was Rejected for the following specification:
Spec Number: 5112558-001
Spec Name: Papaya Pineapple Juice
Current Status: Design
Signature Document Rejected by:
User: John Doe
Reason: Missing custom section XYZ details
Click to view the signature document --> http://<servername>/gsm/BaseForms/frmSignatureDoc.aspx?SpecID=5816d6dc0945-a9b7-43d4-82f0-235b7b6946ff&SigDocID=5769d6654ad6-e77a-4264-bf71-0a45fac4338f
Steps:
1. Create a new Visual Studio project (or potentially use an existing one if you already have one for workflow actions or validations)
2. Add the following PLM for Process DLLs as References (get them from the SharedLibs folder of your release):
CoreAppPlatform
DataInteraces
DataLib
DataObjects
GeneralServices
GSMLib
LinearWorkflow
PluginExtensions
ProdikaCommon
ProdikaLib
WorkflowCore
3. Create a new class that extends the SimpleLinearWorkflowActionBase class (from Xeno.LinearWorkflow). Here is a reference example (note this is an example class and is for demonstration purposes only):
using System;
using System.Collections.Generic;
using System.Linq;
using Xeno.Data;
using Xeno.Data.GSM;
using Xeno.LinearWorkflow;
using Xeno.LinearWorkflow.WorkflowObjects;
using Xeno.Prodika.Application;
using Xeno.Prodika.Common;
using Xeno.Prodika.Config;
using Xeno.Prodika.GSMLib.Workflow;
using Xeno.Prodika.Services;
namespace SampleWorkflowExtension
public class SignatureRequestRejectionNotificationAction : SimpleLinearWorkflowActionBase
public override void Execute(ILinearTransitionContext ctx)
var transitionContext = (SignatureDocLinearTransitionContext)ctx;
ISpecificationService specService = GetSpecService();
if (specService != null)
var currentSpec = (IBaseSpec)specService.Current;
var specOwnerUsers = GetSpecOwnerUsers(currentSpec);
if (specOwnerUsers.Count > 0)
SendEmailToSpecOwners(specOwnerUsers, transitionContext.SignatureDocument, currentSpec, transitionContext.Comments);
private static List<IUser> GetSpecOwnerUsers(IBaseSpec currentSpec)
return (from ISpecOwner specOwner in currentSpec.SpecSummary.Owners.Values
select AppPlatformHelper.DataManager.objectFromID(specOwner.OwnerID)).OfType<IUser>().ToList();
private void SendEmailToSpecOwners(List<IUser> specOwnerUsers, ISignatureDocument sigDoc, IBaseSpec currentSpec, string workflowComments)
var userService = GetUserService();
string currentSigDocUserName = userService.UserContext.User.Firstname + " " + userService.UserContext.User.Lastname;
var specSummary = currentSpec.SpecSummary;
var currentUser = userService.UserContext.User.ContainedUser as IUser;
if (currentUser != null)
string from = currentUser.email;
string to = StringHelper.Join(specOwnerUsers, x => ((IUser) x).email, ", ");
string subject = String.Format("Signature Document Rejected for Spec {0} ",
currentSpec.SpecSummary.FreeTextName.Name);
string body = String.Format(_emailBodyTemplate,
specSummary.SpecNumIssueNum,
specSummary.FreeTextName.Name,
specSummary.WorkflowStatus.Status,
currentSigDocUserName,
workflowComments,
DeploymentConfig.GetAppURL("GSM"),
specSummary.SpecID,
sigDoc.DocId);
EmailService().SendMessage(from , to, subject, body);
//todo: this should be in the database as a translation
private const string _emailBodyTemplate = @"A Signature Document was Rejected for the following specification:
Spec Number: {0}
Spec Name: {1}
Current Status: {2}
Signature Document Rejected by:
User: {3}
Reason: {4}
Click to view the signature document --> {5}/BaseForms/frmSignatureDoc.aspx?SpecID={6}&SigDocID={7}
private static ISpecificationService GetSpecService()
return AppPlatformHelper.ServiceManager.GetServiceByType<ISpecificationService>();
private static IUserService GetUserService()
return AppPlatformHelper.ServiceManager.GetServiceByType<IUserService>();
private static IEmailService EmailService()
return AppPlatformHelper.ServiceManager.GetServiceByType<IEmailService>();
4. Compile the class and place the dll into web\gsm\bin.
5. Run the following database script to add the workflow action to the Reject workflow transition, replacing the classname, namespace, and assembly (in green below) name to your classname and assembly name. SigDocRejectSample is just a reference name for this workflow action - you can change it to something more meaningful:
insert into gsmWorkflowActionTemplates
values ('57602CF17ABE-9AF7-4E32-9A61-76DF5AA0E09C', 'Class:SampleWorkflowExtension.SignatureRequestRejectionNotificationAction,SampleWorkflowExtension',
'57574dd649e7-2454-4d84-a0f3-7377d6d2c57f', 'SigDocRejectSample', 0, 0, 0);
6. Restart the GSM application
That's it! You should be ready to test it out.
Note that this sample has the email subject and body written in the class, and written in English. Ideally, to support multiple languages, this should be added to the database, into the commonXLAExtensionCache and commonXLAExtensionCacheItem table. I will write up a followup on that or handle it in an upcoming Dev To Dev. -
ARQ: How to configure Role Approve/Reject Email Notifications???
Hi,
I would like to achieve below for my business scenario with below MSMP stage configurations:
MSMS Stages Configurations:
MANAGER --> Can act on both request and line items level
Role Owner--> Can ONLY act on line items
Requirement
In best case, a Manager approves all the line items in an Access Request. Then an email notification mail for "NEW WORK ITEM" would be sent to Role Owner(s) at next stage. This is achieved.
Now at Role Owner Stage, below 3 cases are possible:
1. All Role Owners can approve the line items
2. All Role Owners can reject the line items
3. Some of the Role Owners approve and Some of them reject line items
In all the above cases, a Role Owner ALWAYS click on "SUBMIT" button (as he is not authorized to reject a request as a whole) and this action is considered to be as "APPROVED" and eventually, "APPROVED" event is triggered.
This looks good in case numbers: 1 & 3. Meaning, even a single role is approved, request can be considered as approved and the request details can be sent to business user.
However, I am facing a problem when ALL the line items are rejected by ALL the Role Owners!
This will surely close the request. However, the email notification that will be sent to user in this case will be of "APPROVED" though the request is rejected in a sense (because all the roles are rejected)!
Can anybody please he understand this and design proper solution?
Regards,
FaisalHi Faisal,
We are on GRC SP13.
Please do below settings to make role approval/rejection comments mandatory.
2040 - Set this parameter value as YES
In MSMP - Role Owner - Stage settings - Please maintain these settings
I have come across the same scenario as yours. Below is my observation.
When all role owners rejects all roles by REJECTING roles at LINEITEM level, request instead of getting closed at ROLE OWNER stage, it is going to next stage and getting closed there. I assume this is standard behaviour
Let's see if we can get experts advise on this.
Regards,
Madhu. -
Application Request to be approved/reject through Outlook 2010
Dear Experts
Need your suggestions / inputs in implement a requirement i.e any application (WF) request can be either approved/ rejected
through outlook 2010 instead of every time logging into application portal and then to approve or reject.This is possible SAP workflow with extended notifications.
Refer here: http://scn.sap.com/docs/DOC-15808
Explore SAP Workflow forum in SCN if you need more info.
Hope this helps.
Regards,
Sahir. -
PDO Layer Error while approving a changed version of PO
Hi,
We are in SRM7.0 , EC Scenario , ECC 6.0
In SAP SRM system am experiencing a workflow issue , second level approver is not able to approve/receive the workitem of a changed PO. Moment we try to open the PO (changed version) and navigate to Approval tab, the approval flow is missing and showing the error as
PDO Layer Error
An Exception has occured
Every time we must restart the workflow due to which the approval needs to be done again from 1st approver.
We have raised an OSS Message and following is the response from SAP
" The second approver does not get an workitem because the workflow got the status error. The cause of this error is your BADI implementation
ZCL_SRMWF_AGENT_PO_BUYER method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_AREA_TO_ITEM_MAP. This method returns an initial table LT_AREA_TO_ITEM_MAP.
Run method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
parameter IV_PROCESS_GUID = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "
When i executed this method CREATE_DECISION_SETS (/SAPSRM/CL_WF_PROCESS_MGR_SBWF) with
parameter IV_PROCESS_GUID = Changed version PO GUID , i got the following error
Exception CX_BO_ABORT triggered
Termination triggered in '' - Rollback required
Can anyone please help !!
Thanks & Regards,
VenkatHi ,
can you please share your Badi code?
Saravanan -
PO Reject Notification - How to change notification text
Hello,
We have setup the PO reject notifiation in SRM 7.0 (event APPROVAL_PROCESS_DOC_REJECTED Sub Category APPROVAL_RESULT_NOTIFIC_NEW). The PO creator is receving the reject notifications.
How can the text being sent on the PO reject notification be changed?
Thanks,
ZackHi,
Please check the program /SAPSRM/OFFLINEAPPROVALSEND...
This is the program you should have been scheduled to send offline emails..You can add your own Notification line under Standard Notification Text in this program..
Thanks!!
Bharath -
Why Microsoft doesn't have correct fix to run automatically. How many years we need to cry with same error again n again?
Does any one have correct solution which will fix permanently while running more than 4000 systems in our environment
Manual stuff isn't easy. Pls provide permanent fix?
MP has rejected a policy request from GUID:27935EC8-95F1-4104-A613-E72D2A9764E0 because it was not approved. The operating system reported error 2147942405: Access is denied.This isn't a bug to fix. This is by design. Clients must be approved to be managed. Thus, only your configuration or expectations must be fixed. To correct your configuration, see the link Henrik posted. To correct your expectations, read the content linked
by Henrik.
Jason | http://blog.configmgrftw.com -
Change SC approved Notification
Hi,
When a Shopping Cart is approved, a notification is coming to the requestor (initiator) inbox.
The text of that notification is the following:
Document 1000000632 approved
The document 1000000632 of type BUS2121 was approved.
Technical information:
Event: APPROVAL_PROCESS_DOC_APPROVED
SubCat: APPROVAL_RESULT_NOTIFIC_NEW
The following messages have been triggered by the system:
Do you know if there's a way to change this text? Because is too technical.
I am using the WF WS40000014 and SRM 7.0.
Thanks!Hello Matias,
In standard worflow WS40000014, look for standard task to send mail to workflow initiator using SWDD transaction.
I don't know task number for SRM 7.0.
Maybe you will have to go through sub-workflow to find the task.
When you found it, in 'Description' tab you can change standard SAP text used in notification according to your need.
Regards.
Laurent. -
Why I am not able to approve/reject my workflow notification from email?
For R12 AP Invoice Approval Workflow, I have done Approver group set ups in AME. In HR People form, set my email id for that person. In FND USER from, used that person as the employee to have the email id populated for the user and saved the record.
When I am creating an invoice and initiating workflow, I am getting a notification in my mailbox but cannot approve or reject from the mailbox. I may hit the Approve link but it is not doing anything. In order to approve/reject the notification, I have to log in as that person in Oracle Apps and do it from there.
Is there anything I am missing? I have a requirement that the approver only approve / reject from their mailbox and they do not log in to Oracle Apps to see their notifications. What to do to make them enable approving from mailbox only?
I am having a steep deadline and will very much appreciate your responses.
Thanks.
Edited by: 951713 on Aug 8, 2012 3:47 PMWhen you try to approve/reject or do any operation on the workflow using email the issue is the you do not have the responsibility/user values set.
You need to login to Oracle Apps and select the correct resp in order to take action on workflow.
Please check if you are table to take action from oracle apps that explains it. there are a couple of metalink notes too.
You may apply appropriate patch and then this will work.
If it is an SSHR WF you need to be minimum on ATG ROLLUP 7
Maybe you are looking for
-
Standard warning messages in Vendor Request Form
Hi All, Please let us know, how are the standard warning messages in Vendor Request Form while creation/search are displayed. For example, I am getting an soft warning message text, at vendor creation which says "Some of the records were not found; f
-
What are you using as a Flash replacement for 64-bit machines?
Hi, I was reading about the vulnerabilities in Adobe's Flash and decided to remove the offending package. I opened Chromium to make sure my Flash still worked, as I understood that Chromium implemented another method for rendering Flash stuff. I was
-
I recently went all out for this girl and ended up having to make a Dual Layer dvd. After it went through all the stages of burning up to muxing I was met with this prompt. and the dvd ejected. I slid the dvd back in and it stopped making noises afte
-
Mass upload of articles to article hierarchy
Hi, We want to use LSMW using IDOC methodology to assign articles to article hierarchy. Can anybody help us to get this done? We are wokring on SAP IS-R 620 verson. We are trying message type WMATGRP but not able to use the same. Thanks and Rgds Umes
-
Pro forma invoice from a Delivery Output using "8 - Special Function"
SAP Gurus I am interested to create a proforma invoice for a delivery that is created in the system using VL01N. I am using an option to use the Delivery output to be allow creation of the pro forma invoice. I created a new output type and assigned