cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping cart user limit

0 Kudos

Hi all,

I have the following problem :

We're using the Process-Controlled Workflow. In the shopping cart details additional approver can be added.

How can I limit the list of possible users to a user-role?

Thank you for your help!

Best Regards

David

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello David,

You could do that by BADI /SAPSRM/BD_WF_ADHOC_AGENT_F4. Please see below description for the same BADI;

Thank you

Ritesh

 

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.

Answers (0)