Show TOC

Background documentationTroubleshooting in Workflow Processing

 

Check the following when errors occur in event-driven workflows:

Is an event generated which starts the task?
  1. To activate the event trace, choose Start of the navigation path Tools Next navigation step Business Workflow Next navigation step Development Next navigation step Tools Next navigation step Events Next navigation step Event Trace Next navigation step Switch Event Trace On/Off (SWELS) End of the navigation path.

  2. Test the inbound or exception handling as described in the checklist.

  3. Choose Start of the navigation path Tools Next navigation step Business Workflow Next navigation step Development Next navigation step Tools Next navigation step Events Next navigation step Event Trace Next navigation step Display Event Trace (SWEL) End of the navigation path. Enter your generated object type and the event and restrict the generation time correspondingly.

  4. If no event is found, check:

    For direct inbound processing using ALE (exception handling):

    • Does the function module return the correct workflow parameter?

    • Is the event maintained for the corresponding object type in the corresponding ALE table (which can be reached using the inbound process code)?

      Note Note

      You can use the ALE consistency check: Choose Start of the navigation path Tools Next navigation step IDoc Interface/ALE Next navigation step Development Next navigation step IDoc Next navigation step Inbound Processing Next navigation step Consistency Check (BDM6) End of the navigation path and observe the messages for your process code.

      End of the note.

    For inbound processing using workflow:

    • Does the implementation program for the processed method call the function module SWE_EVENT_CREATE with the correct event?

  5. Deactivate the event trace after this test.

Does the event have a task as event receiver?
  1. Use the event trace as above.

  2. If the message No event receiver entered appears in the event list, check whether your task has the correct event in the Triggering Event tab page.