Quantcast
Channel: SCN : All Content - About SCN
Viewing all articles
Browse latest Browse all 1117

Forwarding mail through SWW_WI_FORWARD

$
0
0

Hi guys

 

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?

 

==================

source codes:=======

CALL FUNCTION 'SWW_WI_FORWARD'

EXPORTING

current_user = f_userid

wi_id = f_wild

do_commit= 'X'

preconditions_checked = 'X'

 

TABLES

new_agents = iuser

EXCEPTIONS

invalid_status=1

update_failed=2

invalid_type = 3

OTHERS=4

 

i also realised myid is captured in table SWWVEAGENT (excluded agents of work items), how can i get myid as agents of work items?

 

thank you.

 

Regards


Viewing all articles
Browse latest Browse all 1117

Trending Articles



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