SAP Logon
RCA.Activities.Common.SapLogon
Description
Use the connection name from the SAP Logon window to log on to your SAP system natively.
(* For mandatory)
Note - Prerequisites: SAP GUI Scripting must be enabled on both the Agent machine and the SAP server before this activity can connect, otherwise the connection fails.
- Client-side: Open SAP Logon, go to Options > Accessibility & Scripting > Scripting, and clear the Notify when a script attaches to SAP GUI checkbox (make sure scripting itself is not disabled).
- Server-side: Ask your SAP Basis administrator to set the profile parameter
sapgui/user_scripting = TRUEvia transactionRZ11.
Properties
Common
- Continue On Error (Boolean) - Specifies if the workflow should continue running even when this activity encounters an error. Only Boolean values (
True,False) or variables are supported.- True - Allows the workflow to ignore the error and continue executing subsequent activities.
- False (Default) - Stops the workflow execution and throws an error if this activity fails.
Input
- Connection Name (String)* - The specific connection name from your SAP Logon pad used to log on to the SAP system.
- Number of retries (Int32) - The maximum number of attempts to connect to the SAP Scripting interface. Default is
5. - Retry Interval MS (Int32) - The wait time (in milliseconds) between each retry attempt. Default is
500. - SAP Logon Path (String)* - The file path to the
saplogon.exeprogram. This is a mandatory field (leaving it blank throws an error). The default installation path is typicallyC:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exeorC:\Program Files\SAP\FrontEnd\SAPgui\saplogon.exe.
Misc
- Display Name (String) - The name displayed for this activity in the designer panel. You can edit this name to organize and structure your workflow better.
E.g: [066936106] SAP Logon - Public (Checkbox) - If selected, logs the execution details and variables of this activity. Consider data security requirements before enabling this option, as sensitive details could be written to the logs.
Output
- SAP Login Window (WindowApp) - The SAP application window opened by this activity, stored in a
WindowAppvariable. This can be used if you need to perform window actions (such as Attach Window or window management). Note that SAP Login connects directly to the active SAP session and does not require this variable.