Skip to Content
avatar image
Former Member

Testing workflow

Hi Experts,

I want to test my workflow. In how many methods we can test the workflow? And what are the different transactions we can use for it?

Regards

G.s.naidu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 14, 2009 at 09:12 AM

    Hi G.s.naidu,

    Check if this [link|how-to-test-workflow] answers your query.

    Regards,

    Saumya

    Add comment
    10|10000 characters needed characters exceeded

    • Hi NAIDU

      For debugging the workflow go the method of your BOR. write a inifite loop like following code

      Data : exit type c.
      do.
      if exit = 'X'.
      exit.
      endif.
      enddo.

      Then execute the workflow when the workflow reaches the method which consist the inifinte loop. Now goto SM50 t-code select the user has WF-BATCH in the list goto progrom/session >program >debugging.

      Do the debugging the check all the necessary container is getting filled.

      Regards

      vijay

  • avatar image
    Former Member
    Jul 14, 2009 at 10:14 AM

    Hi,

    You can test the workflow using transaction SWUD.

    Once you execute the transaction (the event for which you triggering workflow. Eg. Material Create)

    1) Go to transaction SWUD

    2) Enter the Task Type: WS and under Task enter the workflow template number (only numeric part of it)

    3) Click on u2018Test Environmentu2019 button

    4) In the next screen, you can select the step based on what you want to test

    5) When you select any of the steps, you will get the screen having list of work items, sort the column of work item and select the latest work item

    6) Once work item is created click on Log button where you can see workflow log.

    By following the above steps, you can test your workflow.

    Hope this helps you.

    Regards,

    Deepa Kulkarni

    Add comment
    10|10000 characters needed characters exceeded