on 12-12-2013 5:51 AM
Hi Experts,
I'm working on Process Controlled workflow in SRM 7.0.
My requirement is to restrict the requester/creator of the Shopping cart not to change the Shopping cart when atleast one of the approver has approved the Shopping cart.
I'm using N level spenidng limit HR hierarchy for Shopping Cart Approval process.
Scenario:
If there are 3 level approvers determined for Shopping Cart.
The 1st level approver has approved the cart and the workitem is in 2nd level approvers inbox.
When the requester tries to modify the shopping cart, error message should be populated as the document is in approval process and cannot be modified.
Thanks in Advance.
Regards,
Hema HT
Hello,
You should use customer metadata to implement this requirement.
Use SM30 and configure in view/table /SAPSRM/V_MDA_HC for action EDIT and Obj type BUS2121
You will need to create Dyn Customer class/ method to Disable the Edit button by reading the current workflow data of the cart.
To read the workflow process data you can use /SAPSRM/CL_PDO_DO_APV_EXT method /SAPSRM/IF_PDO_DO_APV_EXT~GET_PROCESS_INFO
You can refer to existing standard code on how to instantiate this class and how to loop through the workflow process info table.
Regards,
Sushil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hema,
This seems to be standard and can be defined at process level config. There is a check box at the bottom of each process level where you can define if the object can be changed during this process level.
Check your process level.
Regards,
Ravi Pachauri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.