cancel
Showing results for 
Search instead for 
Did you mean: 

IS there a B1DE for SAP 9.0

costas_ioannou2
Active Participant
0 Kudos

Hi we are planning on upgrading to SAP Business One 9.0. Is there a B1DE version for this? If not when will it be available?

Thanks,

Costas

Accepted Solutions (1)

Accepted Solutions (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Costas,

Not at the time, but the source code is available so if you really need it just download the source, change the references to SAPbouiCOM and SAPbobsCOM and recompile.

This will give you a "version" of B1DE for SAP 9.0.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

costas_ioannou2
Active Participant
0 Kudos

Thanks for the reply, I've been trying to download version 2.2, but it doesn't seem to work. There seems to be a lot of threads on the forum stating the same thing. Is there a way I can download it?

pedro_magueija
Active Contributor
0 Kudos

Hi Costas,

I've just downloaded it, and it worked fine.

Direct link [requires credentials]

Good luck.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

costas_ioannou2
Active Participant
0 Kudos

That's strange. I just clicked on your link, but I get this error:

Unfortunately we have trouble completing your download request. Please contact sdn@sap.com for further support.

I have tried with Chrome and Internet Explorer.

pedro_magueija
Active Contributor
0 Kudos

Hi Costas,

If you have an email address, I can send it to you there via yousendit.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

costas_ioannou2
Active Participant
0 Kudos

Hi,

my email is costas@centrix.com.cy

Thanks,

Costas

pedro_magueija
Active Contributor
0 Kudos

Hi Costas,

Sent you the file. Just let me know if it arrived.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

costas_ioannou2
Active Participant
0 Kudos

Got it

thanks

Former Member
0 Kudos

I've been trying to implement Your solution for quite a while now. Could You be so kind as to tell me exactly what to do...?

I've changed the references to APIs, built the solution for AddOnCodeGeneratorWizard and copied the files to B1DE Tools folder. Now whenever I try to start a new project VS2010 screams "

---------------------------

Initialization problem

---------------------------

ERROR: Object reference not set to an instance of an object.

---------------------------

OK  

---------------------------

"

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

Usually I re-compile the whole thing and uninstall the previous B1DE and install the new afterwards.

Never tried just copying the recompiled files into the already installed B1DE. I'm assuming the issue is coming from there.

If don't want to have to recompile everything I have a fully functional B1DE install package I can send you (need an email though).

I'm thinking of uploading the code and the compiled packages into sourceforge.net, this way everyone has access to a more recent build. I'll let you know when I do.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

This would save sooo much time for me. The email is bartosz.janik@7milowy.pl

You can't imagine how helpfull You're being here

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

Just sent it via yousendit. Let me know if you got it.

Cheers.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Yes - it's here. I am getting the same message as with my copied version - Object reference not set to an instance of an object.

Could this be caused by a 64bit SBO client?

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

Could it be related to this problem here: https://scn.sap.com/thread/1946263?


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Checked the folders - everything seems fine. Also installed 32bit version and reinstalled the B1DE with new path (to 32 instead of a 64bit installation). Both solutions failed. Search in progress.

Former Member
0 Kudos

There is one more thing I've noticed though.. in windows registry under B1DE keys there is a "B1Version" key which (as of now) indicates "2007"

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

I have the same value on the registry key, so it shouldn't be the cause.

In which step does the error occur? Is it right when you select the type of project?


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

After I click OK in "New Project" window. The selected project is "C# B1 AddOn Wizard". Strange thing is - VS creates the folder for the new project, displays that rotten message and says (in status bar) "project creation successful".

What I am left with from then on is and empty project folder.

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

B1DE tries to access the registry to initialize some paths. Are you running VS as an administrator?


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Yes I am.

Tried to VS with logging but no info about erroneous project creation is logged.

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

As a last suggestion (and you probably won't like it) I'd say, remove B1 client and DI API (both architectures). Go to the SAP directories (again both arch) and delete any remaining folders of DI API and B1 Client. Also remove B1 DE and delete it's folder.

After that restart (important) and reinstall from scratch. Please note that I don't know if this will fix your problem.

Do you have another machine with B1DE installed? Does it work there? I find this weird mostly because it works well on my environment.

Let me know how it goes.

Good luck.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

I will try this. Thank You for all Your time and effort. If I succeed I'll post about it here.

Former Member
0 Kudos

After installing SAP fresh from scratch (only the 32bit version) the only thing that is better than before is: the two VB projects concerning setup/installation of add-ons are working.

The two (VB/C#) projects for add-on code generation still refuse to cooperate.

pedro_magueija
Active Contributor
0 Kudos

Hi Bartosz,

Still failing with same error?


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Sad but true.

pedro_magueija
Active Contributor
0 Kudos

Hi Bartoz,

I can't really offer any more informed advice since I ran all out of ideas.

Just double check the directories during installation, in the Vs Version you should have input VS2010, and the path to the Vs studio should be something like "C:\Program Files (x86)\Microsoft Visual Studio 10.0".

Shame I couldn't be more helpful. If you do fix it, please let us know what was the issue.

Cheers.


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn

Former Member
0 Kudos

Well... I did some searching and the thing is definitely connected with registry. At some point the B1Wizard.dll reads from HKLM (looking for SAP folder) and that's where it crashes for me. What I did was something really nasty - I hard-coded SAP path into that DLL bit of code (Globals.Init() to be exact). Now it SEEMS it's going to work - at least a wizard appears when I run "New project".

Answers (3)

Answers (3)

0 Kudos

Hi to all,

I was also in the struggle with this painful error.

I can confirm Bartosz solution by downloading the latest B1DE Source code, and by manually assigning the value of the B1Dir variable as shown in the picture.

Yes, this is hardcoding the path but the main idea is to fix the code that doesn't work in this section.

This code is now working with SAP 9.1.

I hope this helps,

Regards,

    Estuardo Boesche

former_member591057
Participant
0 Kudos

Hi Pedro,

Thanks for sending the file.If you dont mind I am facing a problem while running the addon on SAP9.0 which I have posted in the below link

http://scn.sap.com/thread/3364631

Please suggest some thing if you don't mind.

Thanks and Regards

Utpal Maity

former_member591057
Participant
0 Kudos

Hi ,

May any one send me the downloaded code . Please

My email id utpal.m@insync.co.in

Thanks and Regards

Utpal Maity