Professional Documents
Culture Documents
Deadlines
Contents
SAP AG 1999
SAP AG 1999
SAP AG
Introduction Routing
Customizing Deadlines 10
SAPAG1999
SAPAG
SAP AG 1999
Requested start
Earliest possible time for processing start; Introduced by the system:
The work item is not visible in the Business Workplace until this time.
Requested end
Latest requested time for completion of processing of a workflow
Latest start
Latest deadline for workflow processing start
Latest end
Latest deadline for completion of processing of a workflow
The deadlines are specified with reference to the start of the workflow or work item or an individual
expression.
The deadline is defined in the workflow step behind the relevant tab page.
The recipient of the notification is also specified there.
The definition of the text that is sent is part of the task definition.
It is behind the "Description" tab page.
The missed deadline is evaluated by the job SWWDHEX.
Writechangedocument
Sendrem indermessage
O ldm aterial: O riginal_part Event
New _part
Starts
W orkflowstep
Displaymaterial
Organizational plan Recipient and
Designdepartm ent deadlinedefined
Designerposition
Holder: M ary
Recipient
Material Managerposition
Holder: Frank Displaymaterial
Recipient when
deadlinem issed Text for missed
deadlinedefined
Tim eoffset
forlatest
end
SAPAG1999
SAP AG 1999
The deadline is defined in the workflow step behind the relevant tab page.
If a modeled deadline in chosen, the system automatically generates an extra branch in the workflow
definition.
Modeled deadlines can be transferred into the workflow step manually or using a wizard.
Modeling using a Workflow Wizard:
- The monitored work item is set to obsolete when the deadline is reached.
- The workflow goes to the branch that is behind the outcome ‘Obsolete’.
- The customer-specific action was defined in this outcome.
- The original work item can no longer be executed with it.
Modeling manually on the tab page:
- The workflow goes to the branch ‘Deadline reached’.
- The customer-specific action was defined in this outcome.
- The original work item is still executable.
- Using the workflow step ‘Process control’, the status of the monitored work item can be changed.
The missed deadline is evaluated by the job SWWDHEX.
User
decision
SAP AG 1999
Modeled deadlines
- If a set deadline is missed, modeled subsequent actions are executed, rendering further processing
of the monitored work item superfluous.
- When defining the monitored step, the exception processing "obsolete" must be selected and any
appropriate subsequent steps implemented. The data on deadline setting must be maintained. An
event description must be entered for the deadline to be monitored.
The wizard “Model deadline monitoring” helps you to integrate the necessary steps.
This wizard can be found by choosing the "Wizards" menu option in the Workflow Builder.
Release < 4.6:
You insert a task in the definition by selecting an event and choosing Wizards -> Model deadline
monitoring in the Workflow Builder.
The wizard queries the task and the data on deadline monitoring.
As of Release 4.6:
You model deadline monitoring for an existing task by selecting an existing task in the Workflow
Builder and choosing Wizards -> Model deadline monitoring.
The wizard queries the data on deadline monitoring.
If you have not selected a task when you call the wizard, the wizard proceeds as in Release 4.5 and
earlier.
Terminateoldworkitemandstart anewworkitem
Material: My_part Changedocuments
Workflow
Organizational plan
Designdepartm ent
Designerposition Recipient
Holder: M ary
M aterial Managerposition Step
Holder: Frank Displaymaterial
Toolate
Recipient Any
escalationstep
SAPAG1999
Deadline functionality
is integrated in
SAP Business Workflow
There are two options:
simple deadlines
modeled deadlines
SAP AG 1999
Unit: Deadlines
Topic: Modeled Deadlines
1-1 Call the workflow definition you created on the first day and start the Workflow
Builder.
1-2 The task "Display material" after the result "Changes displayed" is to be subject to
deadline monitoring. If the deadline has been reached, the work item is to be set to
obsolete and a new branch in the processing is included.
This "modeled deadline monitoring" is created using a wizard.
1-2-1 Add a deadline to control the latest end allowed for the completion of the
work item.
1-2-2 Give the agent 5 minutes once the work item has entered their Business
Workplace to complete processing.
1-3 If the deadline is missed, an alternative processing step is needed. For example, you
could use the user decision "My first test" from the exercise in unit 2. Activate the
workflow and exit the screen.
1-4 Start the workflow using the explicit start function. Make sure that you use the user
WF-BC-MGR.
1-5 A list of material changes is displayed. Process this work item by exiting the list
and then choosing the button for "Complete processing of step". Then switch to the
workflow inbox of your manager and employee. Do NOT, however, process the
"Display material" work item. Instead, switch back to the initiator’s session and
choose "Workflow log" to monitor the workflow. Wait a couple of minutes, refresh
the workflow log and see what happens.
1-1 Copy the workflow template for "Notification of absence" (WS30000015) into a
separate workflow template: Z_##_process.
1-1-1 Note the new workflow task number:
___________________________________________________________
1-2 A deadline is to be set for the manager’s approval. We will give the manager an
aggressive deadline of 5 minutes to check the notification of absence. The
employee is notified if the deadline is missed. Modify your workflow now to add
this deadline and the recipient for missed deadline.
1.2.4 Enter the recipient for missed deadline. In this exercise, we will use the
expression Initiator from the container as the recipient.
1-2-5 Enter the notification text for the task "Approve notification of absence".
The recipient receives this notification text if the deadline is missed.
1-3 Test the workflow with the new simple deadline. Each group is to start their new
workflow manually using the employee user ID BC601-##. You can resubmit one
of the forms you created in the Business Workplace exercise for approval.
1-3-3 Then check the employee's Business Workplace to see if the notification
for missed deadline has appeared.
1-3-4 Execute this work item to check the notification text that was added and
remove the deadline notification from your worklist.
1-4 Managers often forget to check their workflow inboxes for notifications of absence
and, as a result, miss the deadline. You decide to define the approval step as an
express work item. Change your workflow accordingly.
1-4-3 Change the priority of the step to make it an express work item.
1-5 Test your workflow with the express work item. Each group is to start their
workflow manually using the employee user ID. Use a different absence form from
the Business Workplace exercise
___________________________________________________________
___________________________________________________________
___________________________________________________________
Unit: Deadlines
Topic: Modeled Deadlines
1-1 Change the workflow definition you created on the first day and go to the
Workflow Builder.
1-2 The task "Display material" after the event "Changes displayed" is to be subject to
deadline monitoring. Use the wizard to create modeled deadline monitoring.
Position your cursor on the task "Display material master" and click once to
select the task.
Choose Wizards Model deadline monitoring.
1-2-1 Add a deadline to control the latest end allowed for the completion of the
work item.
Select the "Latest end" radio button as the deadline type to be monitored.
1-2-2 Give the agent 5 minutes once the work item has entered their Business
Workplace to complete processing.
Enter 5 in the "Time int" field and select "Minute(s)" next to this field.
Select the "Work item creation" radio button to activate monitoring from
the time the work item is created.
Choose the "Complete" button so the wizard can complete the process.
Make sure that you are on the "Workflow Builder - Change 'zwf_test##'" screen.
In the Workflow Builder, choose the "Generate and activate runtime version"
button.
1-4 Start the workflow using the explicit start function. Start the workflow as WF-BC-
MGR.
SAP EASY ACCESS -> Tools -> Business Workflow -> Development -> Runtime
Tools -> Start Workflow (Test Environment).
Enter WSXXXXXXXX (where XXXXXXXX is the number of your workflow).
1-5 A list of material changes is displayed. Process this work item by exiting the list
and then choosing the button for "Complete processing of step". Then switch to the
workflow inbox of your manager and employee. Do NOT, however, process the
"Display material" work item. Instead, switch back to the workflow initiator’s
session and choose "Workflow log" to monitor the workflow. Wait a couple of
minutes, refresh the workflow log and see what happens.
On the "Start Workflow (Test Environment)" screen, choose the "Workflow log"
button to monitor the processing of the workflow in the View: Workflow
Chronicle.
After 5 or 6 minutes, choose the "Refresh" button and check in the workflow log
that the missed latest end has actually been reached.
If so, the entry "DEADLINE" should appear in the "Status" column and
"Latest end reached" in the "Result" column.
1-1 Copy the workflow template for "Notification of absence" (WS30000015) into your
own workflow template.
In the SAP Easy Access menu, choose:
Tools Business Workflow Development Definition Tools Task/Task
Groups.
Double-click "Copy".
Task 30000015
In the "Copy Task" dialog box, "Workflow template" should be displayed in the
"Target task type" field. "AF_process" should be displayed in the
"Abbreviation" field and "Process notification of absence" in the "Name" field.
Note: Start the abbreviation and name with Z and your group number
so that you can identify your workflow.
Abbreviation Z##_process
Choose the "Copy task Enter" button at the bottom of the "Copy Task" dialog
box.
1-2 A deadline is to be set for the manager’s approval. We will give the manager an
aggressive deadline of 5 minutes to check the notification of absence. The
employee is notified if the latest end was missed. Modify your workflow now to
add this deadline and the recipient for missed deadline.
1-2-1 Call your workflow in change mode in the Workflow Builder.
In the "+" field, enter 5 and make sure that the default value for the unit
is "Minute(s)".
1.2.4 Enter the recipient for missed deadline. In this exercise, we will use the
expression Initiator from the container as the recipient.
Choose the "Syntax check" button (scales icon) to check your settings.
On the "Requested end text Change" screen, enter your own text to inform
the creator of the form that the manager did not complete the check within
the requested time period. Exit the screen.
Exit the "Workflow Template: Change" screen and then exist the
"Workflow Builder - Change Step: Activity" screen by choosing the
"Back" button (green arrow).
Choose the "Generate and activate runtime version" button (match icon)
to activate the workflow and save your changes.
Return to the SAP Easy Access menu by choosing the "Back" button
(green arrow).
In the SAP Easy Access menu, open the "Runtime Tools" folder.
1.4.3 Change the priority of the step to make it an express work item.
Choose the "Generate and activate runtime version" button (match icon)
to activate the workflow and save your changes.
1-5 Test your workflow with the express work item. Each group is to start their
workflow manually using the employee user ID. Use a different absence form from
the Business Workplace exercise.