on 01-25-2013 12:22 PM
Hi,
We have process controlled workflow for shopping cart approval. The approval process works fine - but in one case we have a problem.
Our agent determination depends on the accounting type - cost center or wbs element. We have one process step for cost center approval and one step for wbs element approval.
When a shopping cart has account type cost center, then the shopping cart is sent to the cost center manager. The cost center manager rejects the shopping cart. The shopping cart gets back to the requester. The requester changes the accounting to wbs element and send the shopping cart again. The shopping cart should now go to the wbs element manager, but the shopping cart is automatically approved. We don´t want the system to approve the shopping cart automatically.
When i take a look in SLG1 everything looks good. The result of process step wbs element manager is true!
Any ideas how to stop the automatic approval?
Best regards
Ben
Hi Ben,
You need to check why the automatic approval is being taken as a valid step. Are you sure that you have a correctly a level with proper schema for WBS? At SLG1 it is returning as filled?
You can start debugging this at :
/SAPSRM/CL_WF_CONFIGURATION method GET_PROCESS_SCHEME -> Schema validation
/SAPSRM/CL_WF_APV_FACADE ~CREATE_PROCESS_FORECAST -> level validation
Cheers,
melina
PS.: If this helps you, please assign the concerning points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Melina,
wf schema is filled. We use only one schema, because we had problems with changing schema during shopping cart approval.
The strange thing is, when i take a look at the approvel process overview (before i send shopping cart) there are the correct steps with the correct approver after changing the account type!
When i debug into /SAPSRM/CL_WF_APV_FACADE ~CREATE_PROCESS_FORECAST, i can see the correct steps (after click approval process overview). When i only change the account type and then send the shopping cart, method CREATE_PROCESS_FORECAST is not being called.
Regards,
Ben
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.