>Hi,
>
>I would like to create an add-on VFP program for SAP SBO through its SDK, but I can't find the objects of the SDK. Unlike C and VB.net it right away detects the SDK.
>
>I am more comfortable and used in VFP.
>
>Thanks in advance for all the help!
>
>JOs
this assumes you have a config table with the required data.
vCmp = CREATEOBJECT("sapbobscom.company")
vCmp.Server = config.sapServer
vCmp.CompanyDB = config.sapCmpDB
vCmp.UserName = ALLTRIM(config.sapUser)
vCmp.Password = ALLTRIM(config.SapPass)
vCmp.Language = 3
vCmp.DbServerType = 6
vCmp.UseTrusted = .t.
lRetCode = vCmp.Connect