Академический Документы
Профессиональный Документы
Культура Документы
ABAP
VERSION: 1.0
IBM Confidential
Table of Contents
Purpose of the Document
Document Control Section
Benefits to Business
Development Detail
Test Results
Sign Off for PRD(30)
Reference Documents
Confidential
3
3
3
4
8
22
22
Page 1
7/26/2013
Confidential
Page 2
7/26/2013
Benefits to business
Currently we do workflow monitoring by using standard tcodes SWPR, SWPC, SWI1,
SWI2_ADM1 . Determining the corresponding action and performing the action requires a
Significant amount of time. There are also errors that require separate checks and effort gets
Multiplied when there are a hundred or more of this specific error.
Automated Workflow Monitoring will save time to manually monitoring tcodes. This send auto
Generated mail to Client Support Center team for creating Service order against correct service
Group based on the error occurring in the workflow. This will save a lot of manual effort and human
Mistake. This will save monthly 40 to 60hrs of work
Reviewed
Role
IBM Team Lead - ABAP
Confidential
Name
Christine Villaflores
Name
Susanta Sahoo
Page 3
7/26/2013
Report Developed
Automated Workflow Monitoring
Topic
Description
Client
Release Id
Problem / Issue
Suncor
SAP 6.0
The manual process of consolidating WF errors using SWPR, SWPC,
SWI1, SWI2_ADM1 transactions, determining the corresponding action,
and performing it requires a significant amount of time. There are also
errors that require separate checks and effort gets multiplied when there
are a hundred or more of this specific error.
Apart from this activity being time consuming, it is important that the WF
errors are accurately handled i.e. determining irrelevant errors, team
responsible, etc.
Status
Available in SR5
Development Details
Specifications:
Automate WF monitoring using transactions: SWPR, SWPC, SWI1,
SWI2_ADM1
Enable email function to raise Service Order to CSC. The maximum
workitems that can be included in an email is set to 6.
Perform required actions, e.g. For error Order Cancelled and
TECOed, check if status is TECO, refer to testing section.
Limitation:
Confidential
Page 4
7/26/2013
Field
Use
WENUM
WETXT
PREACTION
SOTEAM
Confidential
Page 5
7/26/2013
Confidential
Page 6
7/26/2013
Program: ZCA_WF_MONITORING
Transaction: Z_WF_MONITORING
Confidential
Page 7
7/26/2013
Use
Creation date
Transaction
Send Email
Perform action
required
Sender
Name of sender
Confidential
Page 8
7/26/2013
Test Results
Test Scenario 1
Transaction Code
used
Test System
The count of errors are displayed in the header, it will only include items with
Result Email sent.
Confidential
Page 9
7/26/2013
Email in SOST transaction and suncor mail. This email can now be forwarded to
CSC team.
Upon checking SWI1, program was able to retrieve the same errors given the
same creation date. Only main workitem ids are processed in the program.
Test Scenario 2
Transaction Code
used
Test System
Confidential
SWI1 with action required for error - Order Cancelled and TECOed.
Z_WF_MONITORING
SR5 Client 310
Page 10
7/26/2013
Confidential
Page 11
7/26/2013
Upon checking SWI1, program was able to retrieve the same errors given the
same creation date. Only main workitem ids are processed in the program.
Test Scenario 3
Transaction Code
used
Test System
Confidential
Page 12
7/26/2013
Confidential
Page 13
7/26/2013
Upon checking SWI1, program was able to retrieve the same errors given the
same creation date. Only main workitem ids are processed in the program, SWI1
has 46 entries, not all of these are main WI ids.
When the same errors are returned by the other transactions, it will not be
processed.
Confidential
Page 14
7/26/2013
SWPC tcode, program was able to retrieve the same error given the same
creation date.
Confidential
Page 15
7/26/2013
Confidential
Page 16
7/26/2013
Test Scenario 4
Transaction Code
used
Test System
SWPR monitoring
Z_WF_MONITORING
SR5 Client 310
Confidential
Page 17
7/26/2013
Confidential
Page 18
7/26/2013
Test Scenario 5
Transaction Code
used
Test System
Confidential
SWPC monitoring
Z_WF_MONITORING
SR5 Client 310
Page 19
7/26/2013
Confidential
Page 20
7/26/2013
Check workitems from SWPC tcode, same items were retrieved in monitoring
program.
Confidential
Page 21
7/26/2013
Test Scenario 6
Transaction Code
used
Test System
SWI2_ADM1 monitoring
Z_WF_MONITORING
SR5 Client 310
Confidential
Page 22
7/26/2013
SWI2_ADM1 tcode workitems, given the same date interval the results match
with monitoring program.
Test Scenario 7
Transaction Code
used
Test System
Z_WF_MONITORING
SR5 Client 310
From scenario 6, there are no errors retrieved and the program did no action
since the error text is not maintained in ZCA_WFMONITOR table. But going to the
SAP WF Production Support file, in FAQ sheet this error is logged.
Confidential
Page 23
7/26/2013
Use the next available WF ID, enter error text, action required and team
responsible. Save this entry.
Confidential
Page 24
7/26/2013
Run the WF monitoring program again with details same with Scenario 6
SWI2_ADM1.
Confidential
Page 25
7/26/2013
SWI2_ADM1 tcode workitems, given the same date interval the results match
with monitoring program.
Confidential
Page 26
7/26/2013
Reference Documents :
SAP Workflow Production Monitoring file FAQ sheet.
Confidential
Page 27
7/26/2013