Skip to Content
0

Can we create .ard file out Interop.SAPbouiCOM.dll

Jul 14, 2017 at 09:59 AM

139

avatar image

Hi,

In my visual studio c# application, i have SAP Business one SDK dll , I'm not using SAPbobsCOM and SAPbouiCOM dll's, with out using this two dll's project running successfully and lightweight add-on also working fine.

Q.1) Now my question is, with out "Interop.SAPbouiCOM.dll" , may i able to create .ard file, and standard add-on will work same as Lightweight add-on? i have watched a video, for create .ard file Video

In this video, he his mention copy "Interop.SAPbouiCOM.dll" and exe file.

Q.2) SAP B1 AddonInstaller .Net Wizard , will run only, on Visual Basic or it will run on Visual C# ? Because in my VS15 version, SAP B1 AddonInstaller .Net Wizard Template shows only Visual Basic.

Thanks.

10 |10000 characters needed characters left characters exceeded

Hi,

Can you please some one suggest me.

Thanks.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Jul 17, 2017 at 09:36 AM
1

Hi Chenna,

1) Yes, you can create an ARD without the old SAPbobsCOM.dll, and use the new SAPBusinessOneSDK.dll instead. Bear in mind that those Wizards are from a time before the new DLL and you may have to manually include the DLL.

2) I believe both Wizards are VB only. But that's ok because you don't have to change any code in the wizards. It's mostly just following instruction on the screen. The wizard will do the rest.

Pedro Magueija

LinkedIn | Twitter | Blog

Show 6 Share
10 |10000 characters needed characters left characters exceeded

Hello Pedro Magueija,

Thank you for your prompt replay and brief explanation.

Thanks,

0

Hi Pedro Magueija,

Greetings of the day...!,

In my solution, I'm working with UI, DI API's and 3rd party WCF services also, now my question are

Q.1) In Creating and Registering SAP Add-on video, in duration at 1:09, need UI API and Need DI API, which exe file need to select.

Q.2) Which file need to select for 3rd party Services also working purpose(in my application app.config file, i have created services references), for lightweight add-on purpose, i have selected (MyDemoApplication.exe.config) file, with this file services are working fine.

In standard add-on case, which file need to choice for working WCF services.

Thanks,

Chenna.

0
Former Member

Hi Cheena,

Regarding your first question, you'll have to select the SAPbobsCOM.dll and SAPbouiCOM.dll if you are using them. They should be located in your projects bin directory. If you are not using them un-mark the check box.

Regarding your second question, you should deploy all DLL's and config files necessary for your 3rd-party services to work. In the wizard, there is a specific section to select other files. You should select all that apply.

Pedro Magueija

LinkedIn | Twitter | Blog

needed-files.png (14.5 kB)
1

Hello Pedro Magueija,

Thank you for your prompt replay,

In my application, I'm having a latest dll file "SAPBusinessOneSDK.dll" only, i don't have "SAPbobsCOM.dll and SAPbouiCOM.dll", then now, in both choice UI and DI API's options, I need to select one "SAPBusinessOneSDK.dll" file only, or else i need to choice any other file?

If I'm uncheck, UI API and DI API options, into my application what will happen (In my application i'm using both UI and DI services).

Please suggest me.

Thanks,

Chenna.

0
Former Member

Hi Cheena,

You should uncheck all check boxes in the screenshot above (you are not using any of those DLL's), then you should press Add files and include your SAPBusinessOneSDK.dll in the selection list.

Don't worry about unchecking the boxes, this won't really affect your add-on.

Pedro Magueija

LinkedIn | Twitter | Blog

1

Hello Pedro,

Greetings of the day..!, Thank you for your prompt replay.

You answer very helpful to me.

Thanks,

Chenna

0