Skip to main content
Skip table of contents

f$ABAS_Login (f$ABAS_Anmelden)


f$ABAS_Login (f$ABAS_Anmelden)

You log in to the ABAS system with this function. This function must always be called before using the interface. If you do not, the interface attempts to log in by itself. The data entered in the ABAS tab in the ePOS settings is used for this.

Syntax:

Status = f$ABAS_Login (Hostname,Port,User,Password)

 

Argument

Type

Meaning

 

Hostname

String

ABAS server name

 

Port

Integer

Channel number for the connection

 

User

String

Log-in name

 

Password

String

User password

Result:

Integer

Status of log-in process:

-3 : someameters are empty

-2 : ABAS interface is not installed

-1 : cannot log in with this information

0 : successfully logged in

Example:

In this example, all articles that have a designation beginning with G are read.

Status = f$abas_login('linux',6550,'erp','sy')

f$abas_logfile('c:\\temp\\abas' + f$date('yyyyMMdd_hh_mm_ss') +'.log')

Article_s.Designation ='G'

Status = f$abas_getpart ( 'Article_s', 'Articlelist', 'Count', '')

f$abas_logfile('')

Status = f$abas_logout()

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.