on 01-19-2011 4:22 PM
Hi,
we are using a process-controlled workflow in SRM 7.0; n-Level Output Limit Approval Process; see BC-Sample process scheme 9C_BUS2121_EX03.
Situation 1: a manager (approval limit 3.000) sets an user (without approval limit entry in the OrgMgmt) as substitute. The substitute succeeds in approving a purchase order.
The purchase order is approved despite the missing approval limit of the substitute. Even exception entry "Calling class /SAPSRM/CL_WF_RULE_CONTXT_SC method PREV_APPROVAL_LIMIT
raises error exception
Message no. /SAPSRM/BRF086"
in SLG1 does not disturb the approval. The exception-entry itself is fine; however the approval is not supposed to succeed if such an exception happens.
Situation 2: a manager (approval limit 3.000) sets an user (approval limit 1.000) as substitute. The substitute can now approve up to 3.000 without additional approver. This is not the expected result.
Do you know any solutions for these problems?
Best regards,
Frank
Hello,
we are going to solve this problem with BAdI WF_SUBSTITUTE.
Best regards,
Frank
Edited by: Frank Scheler on Feb 8, 2011 1:22 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if the workflow isn´t errored out in this case: is there any way to error out the workflow in a customer method (replacing /SAPSRM/CL_WF_RULE_CONTXT_SC method PREV_APPROVAL_LIMIT)?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is your business requirement? if you want to stop not ordering the SC if the substitute approval limit is less than the system determine approver approval limit.. try to implement the logic in BBP_DOC_CHECK_BADI.. where you have to build the same logic to find the substitute approval limit.. if the approval limit is less , then error out..
Saravanan
Hi Saravanan,
is it OK that that the approval succeeds in situation 1 (despite the error-message in SLG1)? Shouldn´t the WF go to status error?
Regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Approval limit and Spending limit are using to determine the approver's for a SC/PO. once system find the correct approver's based on the expression, system won't check the approval limit of a substitute that assign for a determined approver.
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.