cancel
Showing results for 
Search instead for 
Did you mean: 

Is u201CSAP Automation GUIu201D replaced by u201CSAPGUI scripting APIu201D?

former_member211576
Contributor
0 Kudos

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

--

--

--

Accepted Solutions (1)

Accepted Solutions (1)

former_member204677
Active Participant
0 Kudos

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

refer to => "SAP GUI

Scripting".)

...

Regards,

Martin

Answers (0)