2006 Jan 20 10:00 AM
Hi all!
I am send an email using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" , i am getting the sy-subrc = 2. (i.e) document not sent. Anybody can advice why subrc getting 2 and is the any configuration issues there? plz advice.
Note:
when i am executing the same prg in my sanbox its running fine and sending mail.
Thx.
-Palani
Hi all!
I am send an email using the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" , i am getting the sy-subrc = 2. (i.e) document not sent. Anybody can advice why subrc getting 2 and is the any configuration issues there? plz advice.
Note:
when i am executing the same prg in my sanbox its running fine and sending mail.
Thx.
-Palani
2006 Jan 20 10:06 AM
what are the parameters you are passing to the Function module.
can you show how you are calling..
regards
vijay
2006 Jan 20 10:09 AM
SY-SUBRC 2 means document is not sent . Seems your internet node is not setup correctly . Check in tcode SCON for the setup of internet node ( comapre the two systems ). Many a times basis disable mailing from test / production server to stop unnecessary mails from going out . You can also check in SOSB / SOST , all the error records can be seen here and this will give more info on why mailing is not working . Try sending a test mail from SOST and see if it works correctly .
Cheers.
Sanjay
2006 Jan 20 10:09 AM
2006 Jan 20 10:13 AM
Hi palani,
1. Take help of your basis team.
They will check/modify SCOT settings.
regards,
amit m.
2006 Jan 20 10:15 AM
Hi Palani,
As far as I know this exception had nothing to do with the code. Try contacting Basis and find out if there is anyother issue at their end.
Regards,
Srikanth
2006 Jan 20 10:15 AM
2006 Jan 20 10:44 AM
hi
two thinks to do:
TCODE = SICF : activate Service "SAP connect"
TCODE = SCOT : below the node "INT(Internet)"
create a new one "SMTP" (Mail Server)
check point "node at work"
enter mail-port and mail-host
check "internet" at the bottom
after this you have to enter a
Default Domain ( for example "*" )
make a routing test.
i hope it was helpful
2007 Jun 04 3:57 PM
Thanks Gero , I'm going to test and let you know.
Regards,
Tokio
2011 Aug 16 5:57 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |