Download - Basic Workflow Trouble Shooting
![Page 1: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/1.jpg)
Basic Workflow Trouble ShootingPrepared by Armand Jose
![Page 2: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/2.jpg)
Agenda•Basic Workflow Trouble Shooting
▫Workflow Terms▫Checking Workflow Logs▫Restarting erroneous workflow ▫Deleting erroneous workflow▫Creating a new workflow event
![Page 3: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/3.jpg)
Workflow Terms• Workflow
▫ A logical sequence of steps carried out by people or the system to perform a business process.
• Workitem▫ Runtime representation of a task or a step in the workflow definition.
• Object Type▫ An object type refers either to the class for the entire object, or to the
interface used for some of the objects.• Object
▫ Instance of a type• Event
▫ A message about a change of status (of the attributes) sent by an object, class, or process.
• Agent▫ A system user who participates actively in SAP Business Workflow and
whose activities include the execution of work items.
![Page 4: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/4.jpg)
Display Workflow Logs• TCODE SWI6
▫Displays all relevant workflows based on a given object(i.e. FI doc - FIPP))
▫To display the workflow for a FI document you must know the document number, company code and fiscal year
▫Make sure to select following options for FI Document Object Type -> FIPP KEY -> Company code, Document number, fiscal year Selection variant -> All instances Selection period -> All
![Page 5: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/5.jpg)
Display Workflow Logs(con’t)
![Page 6: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/6.jpg)
Display Workflow Logs(con’t)•After executing the report all workflows
related to the document should be displayed
•Note that there could be more than one workflow
•A status of the workflow is displayed (in process, error, completed etc.)
•Logs for the workflow can then be displayed by clicking on logs button
![Page 7: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/7.jpg)
Display Workflow Logs(con’t)
![Page 8: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/8.jpg)
Display Workflow Logs(con’t)
![Page 9: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/9.jpg)
Display Workflow Logs(con’t)
![Page 10: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/10.jpg)
Display Workflow Logs(con’t)
![Page 11: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/11.jpg)
Display Workflow Logs(con’t)
![Page 12: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/12.jpg)
Display Workflow Logs(con’t)
![Page 13: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/13.jpg)
Display Workflow Logs(con’t)
![Page 14: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/14.jpg)
Display Workflow Logs(con’t)
![Page 15: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/15.jpg)
Display Workflow Logs(con’t)
![Page 16: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/16.jpg)
Processing Workflow Error•TCODE - SWPR
▫Restart workflow After Error▫Do this step after checking workflow logs and
actually seeing that workflow is in ERROR status▫Transaction basically tries to determine who the
last workitem should be assigned to.▫Must put in as parameter the Workitem number
of the main workflow and the date it was created▫Note: That this transaction may sometimes not
work
![Page 17: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/17.jpg)
Processing Workflow Error (con’t)
![Page 18: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/18.jpg)
Processing Workflow Error (con’t)
![Page 19: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/19.jpg)
Processing Workflow Error (con’t)
![Page 20: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/20.jpg)
Deleting Erroneous Workflow•SWWL – Delete Work Items
▫Delete Existing workflow▫Should only be done when workflow is
already in Error status▫This transaction will also delete all
workflow logs associated to the workflow
![Page 21: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/21.jpg)
Deleting Erroneous Workflow (con’t)
![Page 22: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/22.jpg)
Deleting Erroneous Workflow (con’t)
![Page 23: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/23.jpg)
Triggerring New Workflow•SWUE – Create Workflow Events
▫Will trigger an workflow event based on Object type specified
▫Should only be triggered for workflow that are already in error status
▫ May cause two separate workflow to be created for the same document
![Page 24: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/24.jpg)
Triggering New Workflow (con’t)
![Page 25: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/25.jpg)
Triggering New Workflow (con’t)
![Page 26: Basic Workflow Trouble Shooting](https://reader036.vdocuments.us/reader036/viewer/2022062503/577cceef1a28ab9e788e7d4a/html5/thumbnails/26.jpg)
Triggering New Workflow (con’t)