cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Forwarding WorkItems

Former Member
0 Kudos

Hello All,

My requirement is to forward all the workitems from one UserId to another UserId.I am not able to forward the Outbox workitems,since the status of the workitems are completed .Instead of forwarding the workitems is there any way to copy the outbox workitems from one UserId to another UserId .

Regards,

Magesh Kumar .S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Magesh,

You can you the F.M 'SAP_WAPI_FORWARD_WORKITEM' to forward workitems.

Regards,

Saba

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

You can use the following code :

CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'

EXPORTING

workitem_id = workitem_no

user_id = the user to whom u want to forward

  • language = sy-langu

do_commit = 'X'

current_user = the user who is forwarding

  • IMPORTING

  • RETURN_CODE =

  • NEW_STATUS =

  • TABLES

  • MESSAGE_LINES =

  • MESSAGE_STRUCT =

  • USER_IDS =

.

thanks

Papiya

Edited by: Papiya chatterjee on Sep 30, 2008 7:49 AM