Hello friends,
I have successfuly connected a Visual Studio project to DI-API in a SAP BO with SQL SERVER database environment. I used the SAPbobsCOM.cll. Now we have HANA and I guess the code to connect to the DI-API are very similar. But I'm getting the error -119 database type not supported.
I'm using SAPBusinessOneSDK.dll (We have SAP 9.2), and this is my code:
DI.Server = "hanab1:30015";
DI.LicenseServer = "hanab1:40000";
DI.CompanyDB = companyDB;
DI.DbServerType = BoDataServerTypes.dst_HANADB;
DI.DbUserName = "SYSTEM";
DI.DbPassword = "********";
DI.UserName = companyUser;
DI.Password = companyPassword;
DI.language = BoSuppLangs.ln_English;
DI.UseTrusted = false;
Any help will be very appreciated.