Back to

Setting preferences

Automating your logon

You can automate your logon, that is, create an auto-logon file (ALF), to automatically enter SAP logon information each time you use a query file, and to logon on to the system during scheduled unattended runs. An ALF file stores your SAP logon information in an encrypted file format.

ALF Management

Use ALF Management to create an Automated Logon File (ALF) to automate your log on to SAP. You can use an ALF to schedule a run or when you want to use the same logon information each time you run one of your script files. For more information about scheduling, see "Scheduling a Run". When you save credentials, you are not asked to provide a user name and password for that system and are automatically logged in to the system.

On the Main Menu, click Tools, click the Options button to display the Options dialog box, and then click ALF Management to display the settings shown below.

To create or modify an ALF

  1. Choose one of the following responses:

    Click Capture to create a new ALF file. When the SAP SERVER logon dialog box is displayed, type the logon information for SAP to capture the ALF information automatically. This is the easiest and error-free way to create an ALF. You can also mark the Use Logon Group check box and type the Logon Group and Message Server Host settings to save a logon group in the ALF.

    -or-

    Click Open to display an existing ALF file to make changes to the file. Click Test to perform a test of your log on information. A message is displayed to confirm that your log on was successful.

  2. Click Save to store the ALF when you are finished. NOTE: ALF files are encrypted, which makes it difficult to open and read your SAP password and other information. However, if the ALF file is accessed, it could be used to log on to SAP by any other person who has authorization to use QUERY. For this reason, we strongly recommend that you protect your ALF file, either by using Windows system encryption to prevent others from using it under their user name, or by storing the file on removable media that is password protected.

The ALF fields

SAP System Name

Specify the SAP system name

Application Server Host

Enter the host name.

System number

Specify the system number.

Use Logon Group

Select this check box to update logon group information.

Logon Group

Type the auto logon group information.

Message Server Host

Type the message server host information.

Client

Enter the client number.

User name

Specify the user name.

Password

Specify the SAP password for the user.

Language

Specify the language that the system should use.

EP URL

Specify the enterprise protocol URL.

Use SSO1

Select this check box to enable single sign on. With single sign on, the SAP system uses the Windows credentials (user name and password) for each user.

Partner

Specify this connection parameter if you select single sign on.

Auto Logon File

After you capture system data and logon credentials and save the file, the path and name of the .alf file appear.

Also in this section

SAP defaults

Client connection settings

Specifying query script properties

The Winshuttle Function Module for QUERY

Version compatibility among Winshuttle products