Set getGuiApplication = GetObject("SAPGUI").GetScriptingEngineįor this code to run you need to add a reference to the SAP library, described here If SID = sapSID And transaction = tCode Thenįunction getGuiApplication() As SAPFEWSELib.guiApplication ' Take the first one - In case one could also use the transactionaction addtionally Set guiCon = guiApplication.Children(CLng(i)) ' and optional one can also supply a transaction toĭim CollCon As SAPFEWSELib.GuiComponentCollectionĭim CollSes As SAPFEWSELib.GuiComponentCollectionĭim guiSesInfo As SAPFEWSELib.GuiSessionInfoĭim guiApplication As SAPFEWSELib.guiApplication ' this will find a free session using the systemnam resp. Schnell you can use the follwing function to find a free session Function findGuiSession(ByVal sapSID As String, Optional tCode As String) As SAPFEWSELib.GuiSession
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |