Skip to Content
avatar image
Former Member

How to create an Add-on SAP B1 SDK

Hello everyone,

I am new to SDK in SAP B1.

I have developed a VB.net simple form without using screen painter and without DB connectivity for example. Then I create an exe file. Then using AddonReg....exe i create the ARD file. I put the ARD file in SAP B1 through Add-on registration. As soon i say install with the package. The form opens and after closing the form then sap b1 hangs...

I'm not sure with thge procedure.....Can anyone suggest me the procedure, if have vb.net form what should i do then after. do i also need to create a depolyment and setup for vb.net project.

And how can i see the vb.net form in SAP B1 menu.

Any help will be appreciated...

Thanks

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 19, 2007 at 10:35 AM

    Hi

    I'm not sure how you created your vb program.

    But you should do the following.

    1) Connect (can either connect to the database through DI API, connect to SAP Client called UI API, if you want both you can use single sign on method)

    2) Then have System.Windows.Forms.Application.Run(), this is saying let my program run With the client.

    What you must remember is that when you working with the SAP GUI, you need your app to run and then receive "events" from SAP and then perform an action. An event is like when you click on a button and so on.

    So for the program you want to create you should be doing the following.

    -Connect

    -add menu to SAP menu.

    - Have System.Windows.Forms.Application.Run(),

    -Then you should have menu event code to say when menu item clicked on open a form.

    Hope this helps 😊

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 19, 2007 at 11:25 AM

    Use B1DE. This is a collection of wizards that integrates with Visual Studio .NET

    and generates for you addons and setup code. You can get code in VB.NET or

    C#.

    You can download B1DE and other tools under Business One SDK Tools here

    on SDN. It comes with source code and documentation.

    Enjoy.

    Add comment
    10|10000 characters needed characters exceeded