Skip to Content
0

Exception cx_bcs is not rising?

Dec 14, 2016 at 11:01 AM

22

avatar image
Former Member

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

cx-bcs.jpg (51.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Raymond Giuseppi
Dec 14, 2016 at 11:42 AM
1

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

Share
10 |10000 characters needed characters left characters exceeded