on 05-15-2012 12:16 PM
hello experts,
i have written a report to send the mail to recipient.
but the mail is not reached at the recipient side.
in sost transaction i'm able to see my transmission requests with yellow triangle button.
on selecting the entry,its telling 'WAIT for communication service'.
each time i need to select them separately and send it from sost transaction.
can anyone tell me what can be the problem.is there any way to avoid this lag of time.
Regards,
Hello,
If you are using BCS to send emails, do call method 'set_send_immediately' with 'X'. This has to be done just before calling the 'SEND' method. You may check the code below:
DATA: yfierrlog TYPE REF TO cl_bcs.
* all the emailing code before calling the SEND method*
yfierrlog->set_send_immediately( abap_true ).
TRY.
CALL METHOD yfierrlog->send
EXPORTING
i_with_error_screen =
RECEIVING
result =
CATCH cx_send_req_bcs .
ENDTRY.
Regards,
Kumud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namitha,
Write the below code after the FM which sends the email.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
This will trigger the immediate transfer of the email to the receiver system.
Hope this helps.
Kind Regards,
Satish Kanteti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You might check with your Basis specialists on the SCOT/SMTP settings. Without seeing precisely what you have, it sounds like the email outbound process is not actually running in your SAP instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namitha,
For automatically sending mail like that, you have to ask your basis to schedule the program RSCONN01 with a periodic job.
A Step-by-step to setup a periodic job is given in the below wiki : http://wiki.sdn.sap.com/wiki/display/SI/How+to+define+a+job+for+sending+messages+via+SAPconnect
Alternatively you can use the below statement after your mail sending function module, but this sends out all user's mails which are waiting to be released.
SUBMIT RSCONN01 WITH MODE = 'INT'
WITH OUTPUT = 'X'
AND RETURN.
Hope this helps.
Regards,
Karthik D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Namitha,
Which function module are you using to send the mail?
Regards,
Sindhu Pulluru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.