Work Flow Config
Work Flow Config
Work Flow Config
Purpose............................................................................................................................. 5
Preparation........................................................................................................................ 5
2.1
Configuration..................................................................................................................... 5
3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.2
3.2.1
3.2.2
3.3
Release of FI Invoices........................................................................................... 13
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.4
Release of MM Invoices........................................................................................ 18
3.4.1
3.4.2
3.5
Prerequisites............................................................................................................ 5
3.5.1
3.5.2
3.5.3
3.5.4
4.2
4.3
4.4
Page 1 of
2 Preparation
2.1 Prerequisites
3 Configuration
3.1 Preparation of Workflow Environment
3.1.1
Use
This activity is necessary in order to set-up a running workflow environment.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
Result
The workflow run-time environment is now ready.
3.1.2
Use
This activity is necessary in order to ensure users receive workflow items in their SAP
workplace in the logon language.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Page 2 of
SPRO
2. On the Display IMG: Further Settings screen, flag the field Work item texts in logon
language
3. Save your settings and leave the transaction.
Result
All work items received in the SAP Workplace are now displayed by default in the user logon
language.
3.1.3
Use
In this activity, we define a workflow specific organizational unit and different positions for
each of the actors involved in the different workflow scenarios.
The customer has then to link user-id of each the approvers to the corresponding positions in
the organizational unit (as described in chapter 4.) in order to automatically have all required
approval steps sent to the SAP workplace of the indicated user being then also the approver.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PPOCE
2. On the Create root organizational object window, leave the default Valid from To fields
value en press ENTER
3. On the Organization and Staffing Create: Details for Organizational Unit screen enter the
following values:
Field name
Description
Organizational
Unit
Object
Abbreviation
WF_ORG
Organizational
Unit
Object Name
Workflow Organizational
Unit
Note
Page 3 of
4. Right-click on the WF_ORG unit, choose Create and select Is line supervisor of in the
Choose Relationship window
5. On the Organization and Staffing Create: Details for Organizational Unit screen enter the
following values for the new unit:
Field name
Description
Organizational
Unit
Object
Abbreviation
BCS_ACTORS
Organizational
Unit
Object Name
Note
6. Repeat step 4
7. Repeat step 5 with following values:
Field name
Description
Organizational
Unit
Object
Abbreviation
PUR_ACTORS
Organizational
Unit
Object Name
Purchase Request
Approval Actors
Note
8. Repeat step 4
9. Repeat step 5 with following values:
Field name
Description
Organizational
Unit
Object
Abbreviation
MMI_ACTORS
Organizational
Unit
Object Name
MM Invoices Approval
Actors
Note
Description
Organizational
Unit
Object
Abbreviation
FII_ACTORS
Organizational
Unit
Object Name
FI Invoices Approval
Actors
Note
12. Right-click on the BCS_ACTORS unit, choose Create and select Incorporates Position
in the Choose Relationship window
13. On the Organization and Staffing Create: Details for Position New position screen enter
the following values for the position:
Field name
Description
Position
Object
Abbreviation
BCSApprover1
Position
Object Name
BCS Approver 1
Note
Page 4 of
Description
Position
Object
Abbreviation
BCSApprover2
Position
Object Name
BCS Approver 2
Note
Description
Position
Object
Abbreviation
PURApprover1
Position
Object Name
PUR Approver 1
Note
Description
Position
Object
Abbreviation
PURApprover2
Position
Object Name
PUR Approver 2
Note
Description
Position
Object
Abbreviation
MMICompleter
Position
Object Name
MMI Completer
Note
Description
Position
Object
Abbreviation
MMIApprover
Position
Object Name
MMI Approver
Note
Description
Position
Object
Abbreviation
FIICompleter
Position
Object Name
FII Completer
Note
Page 5 of
Description
Position
Object
Abbreviation
FIIApprover
Position
Object Name
FII Approver
Note
Result
The workflow organizational unit for approvers is created with all necessary positions for
approvers in various sub-units corresponding to the different workflow scenarios; this should
look like illustrated in the picture below;
3.1.4
Use
In this activity, we ensure each involved workflow task can be used by setting them as general
tasks.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Page 6 of
Transaction Code
PFTC_DIS
Description
Task Type
Standard Task
Task
65400034
Note
Result
All tasks involved in the Purchase Requisition release workflow have been set as general
tasks.
3.1.5
Use
In this activity, we activate the linkage between the various applications -purchase requisition,
FI invoice, MM invoice and pre-posted budget- and the workflow ensuring a workflow will be
started when conditions defined in the application dependent release procedure customizing
are reached.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PFTC_CHG
Description
Task Type
Workfow Template
Task
65400029
Note
Purchase requisition
release refusal
Page 7 of
Result
Purchase Request, FI invoice, MM invoice and pre-posted budget release workflows are now
linked to the corresponding release processes and will start as soon as conditions defined in
the release procedure customizing are reached.
Use
In this activity, we ensure a workflow is started in order to send tasks to users having to
release the purchase requisition; this is done by setting the corresponding release codes as
connected to workflow;
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
Description
Note
Page 8 of
Result
Any time when the conditions for the release procedure are met, in case release codes are A1
or A2, a workflow will be started.
3.2.2
Use
In this activity, we link the approver positions defined in the workflow organizational unit with
the above defined release procedure.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
Description
Note
Grp
Release group
01
Code
Release code
A1
Plnt
Plant
OT
Agent ID
Agent object ID
<Approver 1 position
object id>
ID of the position
PURApprover1 defined
in 3.1.3
Field name
Description
Note
Grp
Release group
01
Code
Release code
A2
Plnt
Plant
OT
Agent ID
Agent object ID
<Approver 2 position
object id>
ID of the position
PURApprover2 defined
in 3.1.3
Result
Page 9 of
For the above defined Purchase Requisition release strategy with workflow, approver 1 is the
user-id assigned to the position PUR Approver 1, while approver 2 is the user-id assigned to
the position PUR Approver 2.
Use
In this activity, we define the start-up of a release workflow for all FI parked documents.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View Preliminary Posting Workflow Link: Overview screen choose New
entries.
3. On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
Workflow var.
BP01
Currency
EUR
WF var. name
Best Practice PS
Posting
release
Note
Release from
Subworkflow
WS10000052
Result
A release workflow is defined for all FI parked documents.
3.3.2
Use
In this activity, we activate the start-up of a release workflow for company code BP01.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Page 10 of
SPRO
2. On the Change View Workflow Variants: Overview screen, click on the Position button
(function POSI)
3. On the Another entry window, enter BP01 in field Company Code and press ENTER
4. On the Change View Workflow Variants: Overview screen, enter BP01 in field Wrkf of
first entry (should be in front of company code BP01)
5. Save your settings and leave the transaction.
Result
A release workflow will be started for all FI parked documents in company code BP01.
3.3.3
Use
In this activity, we define a release approval path; in the Best Practice context, we decide to
have only one approval path.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View Release Approval Paths: Overview screen choose New entries.
3. On the New Entries: Oveview of Added Entries screen enter the following values:
Field name
Description
Approval path
BP01
App. path
name
Best Practice PS
Note
Result
The approval path for Best Practice PS has been defined.
3.3.4
Use
In this activity, we indicate that the approval process must be executed only for FI invoices,
thus FI documents with type KR.
Procedure
Page 11 of
Transaction Code
SPRO
6. On the Change View Release Approval Path Allocation: Overview screen choose New
entries.
7. On the New Entries: Oveview of Added Entries screen enter the following values:
Field name
Description
Workflow
variant
BP01
Doc. Type
KR
Note
Invoices
Release
Group
Approval path
Field name
BP01
Description
Workflow
variant
BP01
Doc. Type
KG
Note
Invoices
Release
Group
Approval path
BP01
Result
Approval process connected to FI documents of type KR.
3.3.5
Use
In this activity, we define a release on basis of one approval step, as well as the sub-workflow
that will handle the approval process.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Page 12 of
Transaction Code
SPRO
2. On the Change View Subworkflow Allocation: Overview screen choose New entries.
3. On the New Entries: Oveview of Added Entries screen enter the following values:
Field name
Description
Wrkf
BP01
APth
BP01
Amount to
999999999999
Rel. levels
WS10000052
Note
Result
For each FI invoice (financial document of type KR) created for company code BP01, one
approval is required.
3.3.6
Use
In this activity, we prepare the future assignments of positions to the release level.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View People with Release Authorization (Parked Documents): Overview
screen choose New entries.
3. On the New Entries: Oveview of Added Entries screen enter the following values:
Field name
Description
Wrkf
BP01
APth
BP01
Lv
Release_to_amount
999999999999
Note
Result
For every FI invoice to be approved, we can assign one position and therefore one user as
primary approver for all invoices.
Page 13 of
3.3.7
Use
In this activity we assign the FII Completer position to the completion step, and the FII
Approver position to the approval (also named release) step.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PFTC_CHG
Description
Task Type
Standard Task
Task
00407848
Note
Transaction Code
SPRO
12.
14.
On the Allocate OrgObjects view screen, click on Org Object button or press F5
Page 14 of
15.
16.
17.
18.
Result
For each completion and approval step, a work item will be sent to the SAP Workplace of the
user associated to the position assigned to the corresponding completion or approval step.
Use
In this step, you define the criteria specifying the point as of which a release procedure for
document parking is to run via the workflow.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View IV Workflow: Amounts for Release in Invoice Parking screen
choose New entries.
3. On the New Entries: Overview of Added Entries screen enter the following values:
Field name
Description
Note
CoCode
Company code
BP01
Rel. group
Release group
D/C indic.
Debit / Credit
indicator
Rel.St >=
Minimum amount
for release
0,00
Currency
Currency
EUR
OT
Agent ID
Agent object ID
<MMIApprover position
object id>
ID of the position
MMIApprover defined in
3.1.3
Field name
Description
Note
CoCode
Company code
BP01
Rel. group
Release group
Page 15 of
Field name
Description
D/C indic.
Debit / Credit
indicator
Rel.St >=
Minimum amount
for release
0,00
Currency
Currency
EUR
OT
Agent ID
Agent object ID
<MMIApprover position
object id>
Note
ID of the position
MMIApprover defined in
3.1.3
Result
A release procedure will run via the workflow for parked documents of type Invoice and Credit
Note (Debit and Credit) with total amount above 0,00 EUR, in company code BP01. In both
cases, the approver is the user-id assigned to the position MMIApprover.
3.4.2
Use
In this activity we assign the MMI Completer position to the completion step, and the MMI
Approver position to the approval (also named release) step.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PFTC_CHG
Description
Task Type
Standard Task
Task
20000878
Note
Page 16 of
Result
For each completion and approval step, a work item will be sent to the SAP Workplace of the
user associated to the position assigned to the corresponding completion or approval step.
Use
In this activity, we indicate that our workflow process will be identical for all commitment items,
funds centers and funds by creating a specific account assignment group BP01.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View View: FM Account Assignment Groups for FM Role Definition:
Overview screen choose New entries.
3. On the New Entries: Overview of Added Entries screen enter the following values:
Field name
Description
FMA
BP01
Year
2006
Note
Page 17 of
Field name
Description
FMAAG
BP01
Commitment
item
Funds Center
Fund
Note
Result
Account assignment group BP01 has been created.
3.5.2
Use
In this activity, we specify the possibility to assign different approvers depending on the
budget amount, and this for budget amount below 1.000,- EUR, for budget amount above
1.000,- EUR and below 10.000,- EUR, and for amount above 10.000,- EUR.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View View: Amount Groups for FM Role Definition: Overview screen
choose New entries.
3. On the New Entries: Overview of Added Entries screen enter the following values:
Field name
Description
FMA
BP01
Amount grp
APP0
From amount
To amount
999
Field name
Description
FMA
BP01
Amount grp
APP1
From amount
1000
To amount
9999
Field name
FMA
Description
Note
Note
Note
BP01
Page 18 of
Field name
Description
Amount grp
APP2
From amount
10000
To amount
999999999999
Note
Result
We can now decide to have different approvers for 1st and 2nd approval of the release of
budget depending on the above defined amount groups.
3.5.3
Use
In this activity, we prepare header entries for later role assignment; 2 entries are created, 1 for
the first approver and 1 for the second approver.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View Header entries for role definition: Overview screen choose New
entries.
3. On the New Entries: Overview of Added Entries screen enter the following values:
Field name
Note
WF level
1st approver
Doc. Class
BCSBU
Activity
01
Approve
FM Area
BP01
Fisc. year
2006
Field name
Description
Description
Note
WF level
2nd approver
Doc. Class
BCSBU
Activity
01
Approve
FM Area
BP01
Fisc. year
2006
Result
Entries for assignment of approvers roles are now ready for the 1st and 2nd approver.
Page 19 of
3.5.4
Use
In this activity we assign the BCSApprover1 position to the 1 st release step, and the
BCSApprover2 position to the 2nd release step.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
Transaction Code
SPRO
2. On the Change View Header entries for role definition: Overview screen scroll down to
and select line
1 | BCSBU | 01 | BP01 | 2006
3. Double click on Role Definition Entries
4. On the Change View Role definition entries: Overview screen choose New entries.
5. On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
BP01
Amount group
APP0
Object type
Agent ID
<Approver 1 position
object id>
Note
ID of the position
BCSApprover1 defined
in 3.1.3
6. Return to Change View Role definition entries: Overview screen by pressing Back
button or F3.
7. On the Change View Role definition entries: Overview screen choose New entries.
8. On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
BP01
Amount group
APP1
Object type
Agent ID
<Approver 1 position
object id>
Note
ID of the position
BCSApprover1 defined
in 3.1.3
Page 20 of
9. Return to Change View Role definition entries: Overview screen by pressing Back
button or F3.
10.
On the Change View Role definition entries: Overview screen choose New entries.
11.
On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
BP01
Amount group
APP2
Object type
Agent ID
<Approver 1 position
object id>
Note
ID of the position
BCSApprover1 defined
in 3.1.3
Save your settings and return to the Change View Header entries for role definition:
Overview screen
12.
On the Change View Header entries for role definition: Overview screen scroll down
to and select line
13.
15.
On the Change View Role definition entries: Overview screen choose New entries.
16.
On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
BP01
Amount group
APP0
Object type
Agent ID
<Approver 2 position
object id>
Note
ID of the position
BCSApprover2 defined
in 3.1.3
Return to Change View Role definition entries: Overview screen by pressing Back
button or F3.
17.
18.
On the Change View Role definition entries: Overview screen choose New entries.
19.
On the New Entries: Details of Added Entries screen enter the following values:
Field name
Description
BP01
Amount group
APP1
Object type
Agent ID
<Approver 2 position
object id>
Note
ID of the position
BCSApprover2 defined
in 3.1.3
Page 21 of
Return to Change View Role definition entries: Overview screen by pressing Back
button or F3.
20.
21.
On the Change View Role definition entries: Overview screen choose New entries.
22.
On the New Entries: Details of Added Entries screen enter the following values:
Field name
23.
Description
BP01
Amount group
APP2
Object type
Agent ID
<Approver 2 position
object id>
Note
ID of the position
BCSApprover2 defined
in 3.1.3
Result
For each approval step, a work item will be sent to the SAP Workplace of the user(s)
associated to the position BCSApprover1 for the 1st approval step, and BCSApprover2 for the
2nd approval step.
Page 22 of
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PPOME
2. On the Organization and Staffing change screen, if you do not see the Workflow
Organizational Unit in the upper-right pane, click on Search Term , enter WF_ORG in
field With name and press ENTER ; then double click the Workflow Organizational unit.
3. On the Organization and Staffing change screen, in the upper-right pane, expand node
Purchase Request Approval.
4. Right-click on the PUR Approver 1 position, choose Assign and select Holder User in
the Choose Relationship window.
5. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will be the 1st approver of the purchase requisition; select the retrieved
entry and validate your choice.
6. Right-click on the PUR Approver 2 position, choose Assign and select Holder User in
the Choose Relationship window.
7. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will be the 2nd approver of the purchase requisition; select the retrieved
entry and validate your choice.
8. Save your settings and leave the transaction.
Result
Workflow activities will be sent to the defined users, ensuring they will be performed
accordingly.
Page 23 of
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PPOME
2. On the Organization and Staffing change screen, if you do not see the Workflow
Organizational Unit in the upper-right pane, click on Search Term , enter WF_ORG in
field With name and press ENTER ; then double click the Workflow Organizational unit.
3. On the Organization and Staffing change screen, in the upper-right pane, expand node
FI Invoices Approval Actors.
4. Right-click on the FII Completer position, choose Assign and select Holder User in
the Choose Relationship window.
5. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will have to complete the parked FI invoice; select the retrieved entry
and validate your choice.
6. Right-click on the FII Approver position, choose Assign and select Holder User in
the Choose Relationship window.
7. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will have to approve the completed parked FI invoice; select the
retrieved entry and validate your choice.
8. Save your settings and leave the transaction.
Result
Workflow activities will be sent to the defined users, ensuring they will be performed
accordingly.
Page 24 of
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PPOME
2. On the Organization and Staffing change screen, if you do not see the Workflow
Organizational Unit in the upper-right pane, click on Search Term , enter WF_ORG in
field With name and press ENTER ; then double click the Workflow Organizational unit.
3. On the Organization and Staffing change screen, in the upper-right pane, expand node
MM Invoices Approval Actors.
4. Right-click on the MMI Completer position, choose Assign and select Holder User in
the Choose Relationship window.
5. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will have to complete the parked MM invoice; select the retrieved entry
and validate your choice.
6. Right-click on the MII Approver position, choose Assign and select Holder User in
the Choose Relationship window.
7. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will have to approve the completed parked MM invoice; select the
retrieved entry and validate your choice.
8. Save your settings and leave the transaction.
Result
Workflow activities will be sent to the defined users, ensuring they will be performed
accordingly.
Page 25 of
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
Transaction Code
PPOME
2. On the Organization and Staffing change screen, if you do not see the Workflow
Organizational Unit in the upper-right pane, click on Search Term , enter WF_ORG in
field With name and press ENTER ; then double click the Workflow Organizational unit.
3. On the Organization and Staffing change screen, in the upper-right pane, expand node
Budget Approval Actors.
4. Right-click on the BCS Approver 1 position, choose Assign and select Holder User in
the Choose Relationship window.
5. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will be the 1st approver of the pre-posted budget; select the retrieved
entry and validate your choice.
6. Right-click on the BCS Approver 2 position, choose Assign and select Holder User in
the Choose Relationship window.
7. On the User (1) window enter necessary search term in order to retrieve the user-id of
the employee who will be the 2nd approver of the pre-posted budget; select the retrieved
entry and validate your choice.
8. Save your settings and leave the transaction.
Result
Workflow activities will be sent to the defined users, ensuring they will be performed
accordingly.
Page 26 of