Skip to Content
avatar image
Former Member

Exception cx_bcs is not rising?


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 (51.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 14, 2016 at 11:42 AM

    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.


    Add comment
    10|10000 characters needed characters exceeded