on 2012 Sep 27 7:05 AM
Hi Experts,
I am in SRM 7.0. When I go to inbox of a user, I get the items that have to be approved. Now if I want to forward the cart for approval by some other approver, I want to write coding to restrict the user from forwarding to a non approver. Can you please let me know how I can find out code against the forward button in WebDynpro. I am not a WebDynpro expert.
Thanks and regards,
Atanu
Request clarification before answering.
If you want to forward an existing work item from one approver to another approver, and you want to restrict the approvers list, refert to thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atanu,
You could do that by BADI /SAPSRM/BD_WF_ADHOC_AGENT_F4. Please see below description for the same BADI;
This Business Add-In (BAdI) is used in the SRM Workflow component (SRM_EBP_WFL).
You can use the BAdI to adjust the search help for ad hoc agents to your specific requirements. When you use the input help to search for ad hoc agents, the search results list will display those users only that can be inserted as approvers in the approval process.
The BAdI supplies the following methods:
FILTER_F4_ADHOC_AGENTS
You can use this method to adjust the search result before it is displayed. For example, you can filter your search results by purchasing organization or by cost center assignment. In this way, you can exclude particular users or groups of users from the search results list. You can also add users or groups of users to the search results list. The changing parameter CT_RESULTS contains the agents to be displayed in the search results list.
SEARCHHLP_EXCL
You can use this method to exclude individual search helps that you do not want to be displayed. The changing parameter CT_SHLP_TAB contains the search helps to be displayed.
CHECK_INPUT_ADHOC_AGENT
You can use this method to check an ad hoc agent that you have inserted manually, that is, without using the search help.
Let me know if that helps. Incase if it does solve your problem do award points.
Thanks
Vinay
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.