i am trying to forward SAP mail through this function SWW_WI_FORWARD but i encounter a forwarding error=2
source codes below. Can anyone be able to advise where goes wrong or what kind of authorisation required?
CALL FUNCTION 'SWW_WI_FORWARD'
current_user = f_userid
wi_id = f_wild
preconditions_checked = 'X'
new_agents = iuser
invalid_type = 3
i also realised myid is captured in table SWWVEAGENT (excluded agents of work items), how can i get myid as agents of work items?