Connection Method: Logon 

Purpose

This method performs a remote logon to the R/3 System.

Syntax

The Logon method has the syntax:

Logon (HWND ParentWindow, Boolean Silent)

Returns

type Boolean.

Description

Set the Silent parameter to FALSE if you want the system to display a Logon dialog. If not, set all parameters in advance: the system will log the user on silently. If you set Silent to TRUE and omit logon parameter values, the method always fails.

If the method succeeds, it returns TRUE, otherwise FALSE. When FALSE, use the IsConnected property to determine the type of logon failure.