Dynamic Parallel Circular 

Use

A user can send a specific circular (for example a Microsoft Word document or any business document) at the same time to a number of users not yet defined at definition time in the R/3 System, who are to view the circular and make comments if applicable.

A dialog box is displayed in which the user who starts the workflow (workflow initiator) can determine the recipient of the circular.

The workflow initiator passes the object for circulation at runtime in an initial value assignment or in an initial workflow step.

Prerequisites

The workflow definition created by the Workflow Wizard can only be executed without postprocessing if the method used by the processing task for displaying or changing the circular does not use parameters but rather only the object reference. Otherwise you must revise the binding definition.

Features

The list of all users authorized to change/display the circular from an organizational point of view is displayed to the workflow initiator. This organizational authorization is derived from the assignment of the possible agents for the processing task. The workflow initiator selects the recipient to whom the circular is to be sent. The workflow initiator cannot specify an order.

The object is distributed to the agents using the task Selection of agent for subsequent task (TS30200146) supplied by SAP. This task is classified in automatic Customizing as a general task.

All recipients receive a work item in their Business Workplace at the same time. If you execute the work item, the circular is displayed or can be changed. The Table-Driven Dynamic Parallel Processing is used which contains all the recipients in the table CircularAgents .

You can define a latest end for this work item, after which the workflow initiator is either notified by means of an e-mail or the workflow with the next step is continued.

The recipients of the circular can add attachments and notes using the standard functions in the Business Workplace which are available both to the recipients of the subsequent steps and to the workflow initiator.

The number of recipients cannot be changed at runtime. Any changes that need to be made to the agents can be made using the organizational plan (changes to the staffing assignments).

The condition section of the UNTIL loop checks whether additional recipients are contained in the table.

The workflow initiator receives the circular at the end as the final recipient.

Enhancements to the workflow definition

You must amend the workflow definition created by the Workflow Wizard by adding steps, in which the circular is created or determined.

Activities

The system adds the following container elements to the workflow container:

Data type

Short description
(ID)

Explanation

Object reference

Object name from object type definition

Object reference to the circular.

ABAP Dictionary reference

List of all possible agents ( AllAgents )

This container element is no longer required.

 

List of agents
(
CircularAgents )

Multiline container element in which all recipients are stored.

 

Recipient ( Current_Agent )

The user who processes the work item is saved in this container element.

 

Index ( Index )

Index for access to the list of recipients (CircularAgents)