cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with SAPbobsCOM.dll after updating to 9.0

Former Member
0 Kudos

Hello experts,

as the topic says i've some problems after updating to 9.0.

We have an Addon which uses SAPbobsCOM (DIAPI) and SAPbouiCOM (UIAPI).

After replacing the .dll's it seems that i can't access a few Objects of the DIAPI.

For example BoFieldTypes. It says that the BoFieldTypes isn't unique in the SAPbobsCOM namespace.

Same with many other objects like BoFldSubTypes, BoGenderTypes (but only with the Enums started with Bo)

Any idea's what i can do?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jan,

This is an addon developped by you, or provided by somebody else?

If by you, I guess the addon is composed by different modules... Verify all references, one should be with the old proxies.

If by somebody else... It is better to ask the developper to do the migration.

Regards,

Eric

Former Member
0 Kudos

Hello Eric.

Thank you very much. There were some references in the Addon Project which were using the old 8.82 DI API. This was the problem. So Visual Studio couldn't decide which objects it should use.

Thanks to the rest for the helpful answers.

kind regards

Jan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jan,

- Open you project addon (visual studio)

- Klik folder reference

- Remove previous reference SAPBOBCOM & SAPBOBUI

- then add again new reference SAPBOBCOM & SAPBOBUI for version 9

- rebuild the addon

- test again

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jan,

If I am not wrong, it should not behave like this. I have also upgraded my add-ons to version 9.0 and haven't experienced such problem.

Can you check some points:

1. Check whether the namespace SAPbobsCOM is not used twice in your class.

2. When you are using BoFieldTypes use it using SAPbobsCOM.BoFieldTypes  or SAPbobsCOM.BoFldSubTypes etc.

3. Have you properly removed your previously used references and recompiled your project too. ?

Check these points at your end and reply accordingly.

Hope it is helpful.

Thanks & Regards

Ankit Chauhan