The article demonstrates how to send a WI (Work Item) to a Distribution List (DLI) without determining the users in that list.
Following steps will help to use a DLI as agent:
Create a Rule with details as shown below. Use Transaction PFAC to create a Rule.
Here, SWX_DLI_READ_FOR_ROLE is a standard FM which will store the users of the DLI in ACTOR_TAB.
Create a container element for the Rule. The Rule container element must be named as DLI_NAME as the FM SWX_DLI_READ_FOR_ROLE used in the Rule references the variable named DLI_NAME to determine the users of DLI.
While defining the Agents for the WI, use the Rule created above.
Here, 99700074 is the Rule created by above described method.
Define binding for the Rule as shown below.
Here, WF_W_DLI_NAME is a WF container element which contains the value of the DLI to be used and is of same data type as that of Rule container element DLI_NAME.
Thus, the task is achieved.