Quantcast
Viewing all articles
Browse latest Browse all 3184

Forward Workitem - Should remove from first user's Inbox

Hi All,

 

I am forwarding my list of workitems from User A to User B with -  SAP_WAPI_FORWARD_WORKITEM

 

CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'

            EXPORTING

              workitem_id    = lv_wi_id

              user_id        = sy-uname

              language       = sy-langu

              do_commit      = 'X'

              current_user   = sy-uname

            IMPORTING

              return_code    = lv_rcode

              new_status     = lt_new_status

            TABLES

*             MESSAGE_LINES  =

*             MESSAGE_STRUCT =

              user_ids       = lt_user_ids.

 

Which is forwarding Workitem to user B but it remains in User A's inbox too...

I also try it with  SWW_WI_FORWARD but its not working...

 

I need the 'Forward' work as Std 'Forward' functionality (i.e. Need to remove the workitem from inbox of user A)

 

Can you help ???


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>