‎2009 Dec 16 6:07 PM
Hi all,
I am sending email through my ABAP code using 'SO_NEW_DOCUMENT_ATT_SEND_API1'. It runs fine but the problem is I manually have to go and kick off the email from SCOT. The wait time for STMP is 10 mins but somehow it stays there for much more than that.
Is there any way where I can kick off SCOT through ABAP after I execute 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
Please let me know.
Thanks
Diksha.
‎2009 Dec 16 6:18 PM
Hi
AFter calling the fm SO_NEW_DOCUMENT_ATT_SEND_API1 u can submit the report RSCONN01
Max
‎2009 Dec 16 6:18 PM
Hi
AFter calling the fm SO_NEW_DOCUMENT_ATT_SEND_API1 u can submit the report RSCONN01
Max
‎2009 Dec 16 6:28 PM
This is what I am trying
form initiate_mail_execute_program.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
and return.
endif.
endform.
Please suggest.
Diksha.
‎2009 Dec 16 6:36 PM
Hi
It seems to be right, this is a code of my report and it works:
WAIT UP TO 2 SECONDS.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = SPACE AND RETURN.The report RSCONN01 usually is scheduled in a periodic job
Max
‎2009 Dec 16 7:24 PM
Hi,
Are you sure about the mode as 'INT'? Check the entries in tables sxaddrtype for method as 'SAPCONNECT' and if you an entry for INT there.
Regards
Prasenjit
‎2009 Dec 16 7:59 PM