PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • SAP variable
  • Example
  • Connection to a SAP server
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
SAP variable
Overview
The SAP variable is used to configure the parameters of the connection to the SAP server. These parameters will be used by SAPConnect.
SAP variable
The SAP variable contains the following elements:
SAP.AddressCharacter string
Address of the SAP system.
SAP.ConnectionCharacter string
Description of the SAP connection. See the specific documentation about SAP for more details.
Example:
SAP.Connexion = "TYPE=3 ASHOST=MINISAP.test.com SYSNR=00
CLIENT=000 USER=BCUSER PASSWD=minisap"

Note: if this parameter is specified, the other SAP variables are ignored.
SAP.LanguageCharacter string
Defines the language used for the connection ("en" for English for example)
SAP.PasswordPassword of the user who connects.
SAP.ClientNumberCharacter string
Number of the client who connects.
SAP.SystemNumberInteger
Number of the SAP system.
SAP.UserCharacter string
Name of the user who connects.
Example

Connection to a SAP server

SAP.Address = "MINISAP.test.com"
SAP.SystemNumber = "0"
SAP.ClientNumber = "000"
SAP.User = "BCUSER"
SAP.Password = "MINISAP"
SAP.Language = ""
IDSAP is int = SAPConnect()
See also
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment