
Dynamic Parallel Circular
Use
A user can send a circular (for example a Microsoft Word document or any business document) simultaneously to a number of users in the SAP System which is not defined at definition time, 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 recipients of the circular.
The workflow initiator passes the object for circulation 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 require parameters but instead just the object reference. Otherwise you must revise the binding definition.
Features
A 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
possible agents for the processing task. The workflow initiator selects the recipients 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 agents for subsequent task
All recipients receive a work item in their respective Workflow Inbox at the same time. When they execute the work item, the circular is displayed or can be changed.
Table-driven dynamic parallel processing is used for this, all recipients being contained in the table CircularAgents .You can define a latest end for this work item, after which either the workflow initiator is notified by means of an e-mail or the workflow is continued with the next step.
The recipients of the circular can add attachments and notes using the standard functions in the
Workflow Inbox, 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 may be required can be made by changing the organizational plan (staffing assignments).
The condition section of the UNTIL loop checks whether there are any more recipients in the table.
The workflow initiator receives the circular at the end as the final recipient.
Enhancements to the workflow definition
You must change 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 |
Description |
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 |
Multiline container element in which all recipients are stored. | |
|
Actual agent ( Current_Agent ) |
The user processing the work item is stored in this container element. | |
|
Index ( Index ) |
Index for access to the list of recipients (CircularAgents) |