cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Business One 10 DI API compatibility

paolo_fornari3
Participant
0 Kudos

Hi,
we have developed an extension that is working fine with B1 9.2 and 9.3.

We are testing it on B1 10, and it's not working.
I would try to understand the compatibility, do I need to reference DI v.10 and recompile ?
Once done, will it work backward on B1 9.x ?

Any help reference about it ?

From SDK Help Center:
An application initially developed with SDK release X will also run with the interfaces and components of SDK release X+1 without any changes.

Thank you
Paolo

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi paolo.fornari3,

You didn't mention the error message or the issue which you are having on SAP Business One Version 10.0.

Please share a screenshot for the same.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

paolo_fornari3
Participant
0 Kudos

Hi Ankit,
you mean that it should work ? Please tell me something about official guidelines for supporting B1 10 and backward/forward compatibility.

I had many errors..

1. "C:\Program Files\SAP\SAP Business One DI API\DI API 90\SAPbobsCOM90.dll" was not registered. I did it manually with regsvr32.

2. Then... could not access SBO-Common DB. I found this error in B1 log:
DBMCconnBase::ConnectEntry: Error when connect to database, sqlState: 28000, nativeErr: 18456, errText: [Microsoft][ODBC Driver 13 for SQL Server][SQL Server]L'acccesso non è riuscito per l'utente 'SAPB1_DB_USER_TESTSAP10'.
So I manually added in SSMS security access for SAPB1_DB_USER_TESTSAP10 user to SBO-Common.
..was this really necessary ?

3. Now I have these 2 errors

Thank you

Paolo

paolo_fornari3
Participant
0 Kudos

Hi ankit.chauhan1,
Do you have any update to my question ?

Thanks
Paolo

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi paolo.fornari3,

Please mention which reference are you using to make the DI API company connection ? Is it SAPBusinessOneSDK.dll or SAPbobsCOM.dll?

If it is SAPBusinessOneSDK.dll, can you try to test the issue using SAPbobsCOM.dll and share the results?

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

paolo_fornari3
Participant
0 Kudos

Hi ankit.chauhan1,

I'm already using SAPbobsCOM.dll, version 9.0.

In the meantime, I've tried to reference version 10.0 of SAPbobsCOM.dll and on B1 10.0 it works.
But the new built package it is not working backward on B1 9.X.

So I see no forward and no bakward compatibility.

I'm still looking for some official SAP help document about Business One 10 DI compatibility/support.

I look forward to your kind reply.

Thank you

Paolo

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi paolo.fornari3,

SAPbobsCOM.dll version 9.0, is expected to work on SAP Business One Version 10.0. If it is not working, you can raise an incident for SAP Support to get it investigated.

SAPbobsCOM.dll version 10.0, is not supposed to work on SAP Business One Version 9.3.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi paolo.fornari3,

Regarding your other question, below is the documented solution which mentions about SBO-COMMON access in DI API in SAP Business One Version 10.0 :

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

paolo_fornari3
Participant
0 Kudos

Hi ankit.chauhan1 ,
thank you.

Does the compatibility you specify for SAPbobsCOM.dll also apply for SAPboui.dll ?

I would like to point out that I get the SAPbobs.Company instance via single sign-on. Like this:

Company = New SAPbobsCOM.Company
Dim conStr = sboApp.Company.GetConnectionContxt(Company.GetContextCookie) 'sboApp = SAPbouiCOM.Application object
Dim Ret = Company.SetSboLoginContext(conStr)
If Ret <> 0 Then
	Throw New ApplicationException("Error in 'SetSboLoginContext': " & Company.GetLastErrorDescription & "(" & Company.GetLastErrorCode & ")")
End If


Ret = Company.Connect()<br>

Can this be an issue for making 9.0 components work with SAP B1 10.0 ?

Paolo

Accepted Solutions (0)

Answers (1)

Answers (1)

hendraprakasa
Participant
0 Kudos

Hi,

How's the B1 Studio compatibility with VS2017 ? I've install SBO10, VS2017, but cant find b1studio

How to connect UI API with SBO 10? is it still the same ? can use SAPB1SDK.dll without conn string.?

I try SBO10 VS2017, connect using SAPb1SDK, it got error.

Please someone enlighten me, how to connect ?

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Just an update as I came across this issue:

SAP Business One Version 10.0 is supported with Microsoft Visual Studio 2019 development for SDK. SAP Note 844036 mentions this.

However, if you are using SAP Business One Studio in your development, then support is up to Microsoft Visual Studio 2015. Please refer to SAP Note 2108204 for the same.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support