Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with SCOT

Former Member
0 Likes
612

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
575

Hi

AFter calling the fm SO_NEW_DOCUMENT_ATT_SEND_API1 u can submit the report RSCONN01

Max

5 REPLIES 5
Read only

Former Member
0 Likes
576

Hi

AFter calling the fm SO_NEW_DOCUMENT_ATT_SEND_API1 u can submit the report RSCONN01

Max

Read only

0 Likes
575

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.

Read only

0 Likes
575

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

Read only

0 Likes
575

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

Read only

0 Likes
575

Thanks all for help. It works now.

Thanks

Diksha.