on 09-14-2009 4:22 AM
Hi all,
I am using the process-controlled workflow in SRM 7.0.
The approval itself works ok, but now I am trying to set up the back-and-forth functionality (similar to how it worked for the Badi in SRM 5.0) as default:
This is what happens:
Requester creates shopping cart.
Shopping cart goes for approval.
Approver rejects SC.
Back at the requester the SC can only be displayed, but not changed.
As far as I can tell this happens for any kind of decision set (as long as all items are rejected).
This is what I am trying to set up.:
Once the SC is back at the requester, he can either accept the rejection OR change the SC and 're-order' it ie send it back to approver again.
I know if the requester checks the flag 'Work Item to Requester at Process End' this can be done, but I need the system to have this functionality automatically without setting a flag manually.
I really appreciate any suggestions on this issue.
Cheers
Ulrike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Masa,
thanks for your helpful answer. I have an better idea now, but I am still not quite able to set it up.
I have applied note 1296209.
When i tried to set up this step I did the following:
level type of that step I used 'Approval with completion'.
Created Expression of type SAP Formula Interpreter, with return type Boolean, and use formula:
0V_WF_CURRENT_DECISI = 'REJECTED'
linked the evaluation id to above expression.
Task id for the step is: 40007994 - Accept Decision / Adjust Document
When i do this and create a SC, my system dumps after clicking on describe requirement::
The following error text was processed in the system SR7 : The method could not be found at dynamic call.
The error occurred on the application server SAP01_SR7_07 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CALL_RFW of program /SAPSRM/CL_WF_RULE_CONTEXT====CP
Function: /SAPSRM/WF_BRF_0EXP000 of program /SAPSRM/SAPLWF_BRF_DATA
Method: PROCESS_SPECIFIC of program CL_CALL_FUNC_METHOD_BRF=======CP
Method: IF_RULE_COMPONENT_BRF~PROCESS of program CL_EXPRESSION_BASE_BRF========CP
Method: GET_RESULT of program CL_EXPRESSION_POOL_BRF========CP
Method: IF_EXPRESSION_BRF~GET_SUBEXPRESSION of program CL_EXPRESSION_BASE_BRF========CP
Method: IF_FOEV_CONNECTOR~EVALUATE of program CL_FORMULA_BRF================CP
Method: EVALUATE of program CL_FOEV_FORMULA===============CP
Method: EVALUATE of program CL_FOEV_FORMULA===============CP
Method: EVALUATE of program CL_FOEV_FORMULA===============CP
What I don't understand about your explanation is what you mean by "Acceptance by Contact person". I don't have that option anywhere in my BRF? Is that supposed to show up under Resp. Resolver Name (like RR_MANAGER)?
Also where did you add that step in Process level configuration? I have 2 approval steps (just approval, without completion) and then i wanted to enter this step after those levels before the automatic system decision. But i wasn't able as the system doesn't allow you to add a completion step after a 'normal' approval step.
Cheers for your help
Ulrike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.