PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SAPConnect (Function)
In French: SAPConnecte
Connects a SAP R/3 system from the information given in the SAP structure.
Example
SAP.Address = "MINISAP.test.com"
SAP.SystemNumber = "0"
SAP.ClientNumber = "000"
SAP.User = "BCUSER"
SAP.Password = "MINISAP"
SAP.Language = ""
IDSAP is int = SAPConnect()
Syntax
<Result> = SAPConnect()
<Result>: Integer
  • Connection identifier,
  • -1 if an error occurred. ErrorInfo returns more details about the problem.
Remarks
SAPConnect returns -1 only if the server cannot be accessed. If an error occurred (wrong login, wrong password or client account not found), SAP accepts the connection and returns an error during a call to a procedure.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230mess.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment