Hello,
I`m recently having a problem with SAP automation. I normally use RFC to connect to SAP using Access VBA, which has been great for our department.
The thing is, now the company is changing from ASP to AMP and I have to "adapt" our Access Tools, but when I try changing the server in my code the SAP does not even open.
Do you know why or what can I do?
Here is my code:
Set SAP = CreateObject("SapAutoGui.Event")
If not SAP.Connect("Server", "00", SapGuiMerlin or SapGuiFront or SapGuiFullMenu) Then
MsgBox "Error in opening connection to SAP/R3."
End
End if
Thank you very much for any info.