on 02-26-2009 7:18 AM
Hi experts,
Our developers write "SAP Automation GUI" in 3.1I and it does not
work on ECC 6. Please see attachment. It return 'FALSE' when calling SAP.logon. Does this mean SAP no longer support it? From note 423522. "BC-FES-AIT-GLB: - SAP Automation GUI: No replacement". But many guys in SDN say it is replaced. How to I solve it if it is not?
--
--
--
Sub SAPLogon()
Dim iCtrl As Integer
Dim bOK As Boolean
' Uncomment following 2 lines if Sap is not declared globally
Set Sap = CreateObject("SapAutoGui.Event")
bOK = Sap.Connect("QCAPRD3", "00", SapGuiMerlin Or SapGuiFullMenu)
OKCheck bOK, "Error in opening connection"
Sap.RowDimension = 24
Sap.RowListDimension = 24
Sap.ColumnDimension = 80
Sap.ColumnListDimension = 80
Sap.SetSizeFlag = True
OKCheck bOK, "Error in opening connection"
' Replace txtPassword with an actual password or password variable
bOK = Sap.Logon("318", "user", "password", "")
OKCheck bOK, "Error in logon"
ScreenCheck "SAPMSYST", "0040"
End Sub
--
--
--
Hi Dennis,
yes, please take a look at note 398074:
...
SAP Automation GUI: removed without replacement
- ITOLE: removed without replacement
- GUILIB: removed without replacement (If necessary, you can
individually replace it with "SAP GUI Scripting" - for this
Scripting".)
...
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.