Skip to Content

Wie bekommen wir den nächsten Schritt in einer WS-Definition


we have a Workflow WS-Definition consisting of 3 single-tasks. For the implementation of a request, we need the information whether the current step is the last one in this Definition. Now we are trying to read the Definition in the tables SWDSTEPS and SWDSMNODES. However, we have note quite undestood how to get the order of the single steps. The node-id is given depending on the order in which teh node is created.

Does anyone knows a funtion module (or similar) who will give you the next step in the Workflow-Definition?

Thanks and regards


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 14, 2018 at 01:18 PM


    What is the functional requirement? Sounds a bit strange to do it all with reading the SAP tables.

    You can use PFTC for the task en then the where-used button to find out where this task is used in workflows and then with de builder you can instantly determine its place in the workflow model.

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded

    • Hi could you explain what you're trying to achieve with this. For workitem interaction or reading containers, etc there are many SAP_WAPI function modules.

      For reading it from the table you will need to know the workflow, version number and step number of the workitem. Then with tables SWD_LINES you can see what the next step is in the definition and with SWDSSTEPS you can find out if it is a task or something else.

      Kind regards, Rob Dielemans