If you use SAP Logon to start SAP GUI, then you do not have to set up the command line yourself.
The environment variable SNC_LIB on the front end needs to contain the path and file name of the external library.
Set the SNC options (SNC name, quality of protection, SNC activation) for the application server with which you want to communicate. Make these settings in the SAP Logon Advanced Options.
There are slight differences when defining the SNC options depending on the method used to select the application server. The standard server selection methods are:
We describe the details for defining the SNC options for each method below:
SNC-enabled logon destinations are indicated in the SAP Logon destination list using a special icon.
Configuring SNC for a Manual Entry
From the SAP Logon dialog:
The Advanced Optionsdialog appears.
We recommend you use the default level (Max. available).
Entry Using Server Selection
After adding the server using ServersSel., configure and activate SNC in the Advanced Optionsdialog box in the same way as with a manual entry (see the previous section). If the server is SNC-enabled at the time of selection, then the application server's SNC name is automatically retrieved by the message server and displayed in the SNC namefield.
Entry Using Group Selection
After adding the server using Groupsel., configure and activate SNC in the Advanced Optionsdialog box in the same way as with a manual entry. Note however, you can only enter the SNC options if SNC has already been activated for the group. In addition, although the SNC namefield shows the SNC name of a server, this name is not actually used and you cannot edit it. With group logons, the application server's SNC name is dynamically requested by the message server each time a SAP GUI connection is started.