Skip to Content

How can I add AddonIdentifier in normal SAP B1 connection in SDK?.

Jan 30 at 05:33 PM


avatar image

Hi all,

Actually I can licensing SAP B1 addon if I use the following example C:\Program Files (x86)\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\11.SystemFormManipulation

Now I created addon normally which has one system form and user forms without using above example because the above example does not allow to include system form, I want to license it but I have one problem

Connection and licensing of 11.SystemFormManipulation looks like this

            Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi()
            SboGuiApi.AddonIdentifier = "564552303542415346767668686868686868868......................................"
            sConnectionString = Command()
            SBO_Application = SboGuiApi.GetApplication()

But if you open visual studio for SAP B1 normally connection looks like this

        Private WithEvents SBO_Application As SAPbouiCOM.Application
        Sub New() 

          SBO_Application = Application.SBO_Application
          End Sub

How can I add AddonIdentifier in this above connection?

I tried to use the first above connection codes in my project but in debug mode works fine, If I create an addon it gives error message

An attempt was made to reference a token that does not exist.

Please anyone can help me to solve this issue in order to finish my project

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers