BTW...
I created an error trap which resolved to show the SAP status bar text just fine. You could just as well direct this a txt log file:
On Error GoTo errSAP
~~your code~~
errSAP:
errMessage = session.FindById("wnd[0]/sbar").Text
MsgBox errMessage