Basic code for sap scripting in blueprism:
Dim session As Object
Dim Application As Object
Dim Connection As Object
Dim SapGuiAuto As Object
Application = CreateObject( "Sapgui.ScriptingCtrl.1")
Connection = Application.Children(0)
session = Connection.Children(0)
session.findById("wnd[0]/tbar[0]/okcd").text = "UPS"
session.findById("wnd[0]").sendVKey(0)
Let say we want to divide the actions into different code stages, how can we reuse the same session variable?
Can the session variable be stored in a local variable in blueprism? if so, what is the datatype to be given in local variable.
Or is it not possible to have multiple code stages.
Could you attach a sample release file for blueprism with sap scripting used.