Important tcodes in Workflow

Workflow Implementation / Development Tcodes:

SWLD – Workflow Area Menu.
Collection of all king of transaction in SAP Business Workflow.

SWO1 – Business objects.
To get the details of standard Business Objects (BOs) key fields, attributes, methods, events.
To create custom BOs.
To create subtype of standard BOs and deligate.

SWEL / SWELS – Event log.  
To get what are all the events are triggering for a particular transaction.
SWELS – Turn on the trace.
SWEL   – check the triggered events

SWDD / PFTC – Workflow Builder.  This is the place where you pull it all together, your decision tasks, methods, messages, etc.  Do not let your manager see this, as then they will think that all you do all day is drag pretty boxes around on the screen 😉

SWETYPV / SWE2 – Event linkage.
This transaction will show you which workflows (receivers) are linked to which events.  A must-see if you are implementing a new workflow – as it should be linked to the event here.

PFOM – If you are using the HR Org structure (or your own mini-HR org structure) to determine the correct agents of tasks, you will probably need to have a look here now and then.  That is, assuming you work very nicely with your HR organization to get access.  You can also display important stuff like Communication Records (infotype 1208) and relationships.  

PFAC – To maintain rule, responsibility etc.

Workflow Troubleshooting Tcodes:

SWU3 – Verify Workflow customizing.

SWU_OBUF – Synchronize runtime buffer.

SCDO –  Change Doc object
SWED – Assign Change Doc object -> Leading table in change doc -> Action (Create/Change/Delete).
SWEC – Assign Change Doc object -> BO -> Event -> (On create / On change / On delete).
SWE2/SWETYPV – Event type linkage (BO -> Event -> WF -> Type linkage enable / disable).

SWEL – Event Log
SWELS – To On/Off Event log

SWI1 – Work Item list

SWI5 – answers that ever popular question “What is this thing in my inbox, and what should I do about it?”  You can see what workitems are pending in a user’s inbox, or workitems they have already completed.

SWIA – (Process WI as administrator) – Useful such cases like when need to logically delete WI for different user.

SWU0 – Event Simulation

SWUE – Event Trigger manually.

SWUS – Workflow Trigger manually.

SWUD – Workflow diagnostics.  One-stop shopping for a lot of workflow – until you need to dig deeper.  Verify your customizing, see if there are inconsistencies in your tasks or templates and launch the test environment.

SWIA – Process WI as administrator

SWI5 – Workload analysis for different user

SU01 – Check all the things are ok for WF-BATCH (e.g. password not expired).

ST22 – Check the dump.

Workflow Monitoring Tcodes:

SWEQADM – (Event Queue Administration)

SWI2_FREQ – Find out which workflows are running in your system.  You  can filter by workflow template, dialog task, background task, or even enter a specific task.  

SWI2_DIAG / SWI1 – Shows all workflows that are in error.

SM58 –  Check any WF is stuck in tRFC.

SMQ1 and SMQ2 –  To check any WF got stuck in qRFC.

SM12 – Check any WF got locked by putting WF_BATCH as user

Leave a Reply

Your email address will not be published. Required fields are marked *