Liquid UI - Documentation - 4.10 Auto logon on SAPGUI

4.10 Auto logon on SAPGUI


Prerequisites


Purpose

To automatically login to SAPGUI, eliminating manual entry of username and password on your SAPGUI logon pad. You can set your login credentials in the SAP fields and enter your desired transaction code in elogon.sjs file. This file can include any functions or commands that need to be loaded during logon process. Click here to learn more about elogon.sjs file.


User Interface

In this scenario, you will learn how to navigate to Create Sales Order screen without entering SAP logon credentials and transaction code in the command field.

  1. Open SAPGUI and click on the required Server Connection(Teched Juneau) on the logon pad.
  2. You are automatically navigated to Create Sales Order screen (without entering your SAP logon credentials).
     

Note: Password can be encrypted and decrypted then assigned to variable which in turn can be passed to “Password” inputfiled with a simple WS function.


Liquid UI Script

//ELOGON.sjs

// sap user name
set("F[User]","username");
// sap password set("F[Password]","password"); enter();
//Passed VA01 Transaction code through enter command
onscreen 'SAPLSMTR_NAVIGATION.0100'
enter('/nva01');

Can't find the answers you're looking for?