Skip to Content

How to get exact user decission step status and its workitem id

Hi All,

In my workflow initially starts with three background activity steps and then my user decision step is there. In that how to get exact status of user decision step and its work item id, because i want to update the user decision step status and its work item id in z table. I should get workitem id through swia transaction.Then how can update my ztaable from swia values. Through this table SWWWIHEAD , i am not able to get my user decision step work item id. So please help me out.

please help me out.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Aug 30, 2018 at 08:26 AM

    Hi ,

    You can use FM SAP_WAPI_WORKITEMS_TO_OBJECT followed by fm SAP_WAPI_DECISION_READ .

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 30, 2018 at 07:24 PM

    Hi

    I really depends of what you want to do...

    Using an old techno you could set up the equivalent of the LIS called WIS.

    You could also update your table with a step after your decision task

    You could get your workitems with SAP_WAPI_WORKITEMS_BY_TASK

    Gettting your decisions is as mentionned by Anjan Paul SAP_WAPI_DECISION_READ

    You can read your container with SAP_WAPI_READ_CONTAINER

    And that is not even talking about all you can do with abap object class....

    There is a lot of way to achieve what you want to do...

    I hope this helps

    Stephane

    Add comment
    10|10000 characters needed characters exceeded