Log in to SAP exception handling


Can someone please tell me the best way to catch an exception if the SAP log in fails.
I’ve tried with a try catch and a find text activity but it wont go to catch because find text is a boolean so I won’t know if the login failed or not.
Also looked at retry actviity but is there someway in that activity to send out an email after the login failed for example 3 times?

Thankful for tips of the best way to do this.


Hi, please take a look at this component:

SAP - SAPLogon.xaml (38.2 KB)


ok then I got it, how it can be done. Thanks a lot for your example @KEntwistle !