You are on page 1of 26

Basic Workflow Trouble Shooting

Prepared by Armand Jose

Agenda
Basic Workflow Trouble Shooting
Workflow Terms Checking Workflow Logs Restarting erroneous workflow Deleting erroneous workflow Creating a new workflow event

Workflow Terms
Workflow Workitem
A logical sequence of steps carried out by people or the system to perform a business process. Runtime representation of a task or a step in the workflow definition. An object type refers either to the class for the entire object, or to the interface used for some of the objects. Instance of a type A message about a change of status (of the attributes) sent by an object, class, or process. A system user who participates actively in SAP Business Workflow and whose activities include the execution of work items.

Object Type
Object Event

Agent

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

Display Workflow Logs(cont)

Display Workflow Logs(cont)


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

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

Display Workflow Logs(cont)

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

Processing Workflow Error (cont)

Processing Workflow Error (cont)

Processing Workflow Error (cont)

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

Deleting Erroneous Workflow (cont)

Deleting Erroneous Workflow (cont)

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

Triggering New Workflow (cont)

Triggering New Workflow (cont)

Triggering New Workflow (cont)

You might also like