1.1 Workflow
1.1.1 Maintaining Standard Settings for SAP Business Workflow
Use
This activity will maintain Workflow standard settings automatically. Checks are also performed to establish whether Customizing is complete with regard to further important settings.
Procedure
1. Access the activity using one of the following navigation options:
IMG Menu
|
SAP NetWeaver ® SAP Web Application Server ® Business Management ® SAP Business Workflow à Maintain Standard Settings
|
Transaction Code
|
SWU3
|
2. On the Automatic Workflow Customizing screen, choose the Perform Automatic Workflow Customizing (F9) button (red and white circular button).
1.1.2 Trigger Workflow Events via Change Documents
Use
This activity will enable the trigger of workflow events according to changes of the document status. For this purpose, change documents are used to uniquely identify changes. The change documents itself track and trace changes to fulfill legal requirements. In this scenario, this reflects changes to the business object for documents.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
|
Tools ® ABAP-Workbench ® Overview ® Development ® SAP Business Workflow ® Definition tools ® Events ® Event creation ® Change documents ® Linkage
|
Transaction Code
|
SWEC
|
2. On the Change View: "Events for change document": Overview screen, choose New Entries.
3. On the New entries: Details of Added Entries screen, enter the following values into the corresponding fields:
Field
|
Value
|
Change document object
|
DOKUMENT
|
Object Category
|
BOR Object Type
|
Object Type
|
DRAW
|
Event
|
CHANGE
|
Trigger Event
|
Select "on change"
|
1.1.3 Creating Type Linkage
Use
This activity will create the type linkages. The type linkage describes the assignment of a receiver function module and a receiver type to a particular combination of object type and event.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
|
Tools ® ABAP-Workbench ® Overview ® Development ® SAP Business Workflow ® Definition tools ® Events ® Event linkages ® Type Linkages
|
Transaction Code
|
SWETYPV
|
2. On the Change View "Event Type Linkages": Overview screen, choose New Entries.
3. Enter the following values into the corresponding fields:
Field
|
Value
|
Object Category
|
BOR Object Type
|
Object Type
|
DRAW
|
Event
|
CHANGED
|
Receiver Type
|
WS90300001
|
Receiver Call
|
Function Module
|
Receiver Function Module
| |
Linkage Activated
|
Yes
|
Behavior Upon Error Feedback
|
System default
|
Receiver Status
|
No errors
|
4. Enter the following values into the corresponding fields:
Field
|
Value
|
Object Category
|
BOR Object Type
|
Object Type
|
ECO
|
Event
|
TO_CHECK
|
Receiver Type
|
WS90300002
|
Receiver Call
|
Function Module
|
Receiver Function Module
| |
Linkage Activated
|
Yes
|
Behavior Upon Error Feedback
|
System default
|
Receiver Status
|
No errors
|
5.
6. Choose Save.
7. Choose Back.
8. Save and go back.
1.1.4 Maintaining Agent Assignment
Use
This activity will define the following tasks as a general task:
ID
|
Task
|
Workflow
|
TS90300002
|
Find Approver of Workflow
|
WS90300001
|
TS90300005
|
Send Mail to Approver
|
WS90300001
|
TS90300004
|
Save Approver Text
|
WS90300001
|
TS90300008
|
Send Approval Mail
|
WS90300001
|
TS90300007
|
Send Rejection Mail
|
WS90300001
|
TS90300003
|
Change Status of the Document
|
WS90300001
|
TS90300006
|
Check If all reviewers approved
|
WS90300001
|
TS90300010
|
Find ECO Approvers
|
WS90300002
|
TS90300011
|
Changing status of ECO document
|
WS90300002
|
TS90300013
|
Mail after approving Document
|
WS90300002
|
TS90300012
|
Rejection Mail after rejecting document
|
WS90300002
|
TS90300009
|
User Decision
|
WS90300001
|
Work items whose tasks are defined as general tasks and for which no responsible agents or default rules are defined are offered to all users of the SAP System for execution in their Business Workplaces.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
|
Tools ® Business Workflow ® Definition tools Tasks/Task Groups ®Change
|
Transaction Code
|
PFTC_CHG
|
2. On the Task: Maintain screen, enter the following values into the corresponding fields:
Field
|
Value
|
Task type
|
Standard task
|
Task
|
TS90300003
|
3. On the Task: Maintain screen, choose Change.
4. On the Standard Task: Change screen, choose the Additional Data ® Agent assignment ® Maintain option.
5. On the Standard task: Maintain Agent Assignment screen, choose Attributes.
6. Enter the following values into the corresponding fields:
Field
|
Value
|
General task
|
Mark this field
|
Classification
|
Not classified
|
7. Choose Transfer.
8. Choose Back.
9. On the Standard task screen, from the menu bar, choose Standard task ® Other standard task.
10. On the Choose Standard task dialog box, enter the eight-digit number 92000014 in the field Search Term and choose Continue.
11. Repeat steps 4 to 10.
12. On the Choose Standard task dialog box, enter the eight-digit number 92000011 in the field Search Term and choose Continue.
13. Repeat steps 4 to 10 again.
14. On the Standard Task: Change screen, choose Save.
15. Choose Back.
1.1.5 Maintaining Settings for Approval Workflow
Use
This activity will define the document type, for which an ad-hoc review and approval will be enabled.
Procedure
1. Access the activity using one of the following navigation options:
SAP Menu
|
Tools ® ABAP-Workbench ® Overview ® Data Browser
|
Transaction Code
|
SE16
|
2. On the Data Browser: Initial screen, enter the name of the table: ZPH_DOKARS_APPRO/ ZECM_APPROVAL and choose Table contents.
3. On the Data Browser: Table ZPH_DOKARS_APPRO/ ZECM_APPROVAL: Selection screen, choose Execute.
4. On the Browser: Table ZPH_DOKARS_APPRO/ ZECM_APPROVAL: Select Entries screen, choose Create and enter the name of the document type (field DOKAR) YPD.
5. Save the setting and go back.
Result
You will see the Reviewers/Approvers tab on your display document screen. You can access it with one of the following navigation options:
SAP Menu
|
Logistics ® Central Functions ® Document Management System ® Document ® Create or Display
|
Transaction Code
|
CV01N or CV03N
|
No comments:
Post a Comment