cancel
Showing results for 
Search instead for 
Did you mean: 

Exception cx_bcs is not rising?

techy
Explorer
0 Kudos

Hello,

i wrote a programm which sends a mail of a sales order (va02) over message control. The E-Mail is sent normally but if the E-Mail adresse is not correct the exception is not raised, although it is in tray catch block. I got a notice in SAP Office that the mail couldnt be sent due to false adresse of recipient. But why the exception isn't raised?

cx-bcs.jpg

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor

The check of address existence is not executed during your program execution, but after execution of the SCOT scheduled job or triggered by a call of report RSCONN01. Not a chance to get this error during creation of mail, but you will receive a mail (usually) which may appear in SOST once the actual mail server (like an Exchange server) returns the error, there can/will be some delay usually as it may/will involve communication with other servers/domain.

Regards,
Raymond

Answers (0)