Skip to Content
1
Jul 17, 2007 at 09:11 AM

Interface upgrading from SBO 2004A & inserting add-on identifier string

25 Views

Dear Experts/Gurus,

I am confusing to determine whether the interface needed to be upgraded if the SBO 2004A SP 00 PL 41 version currently using is upgraded and it needs to insert add-on identifier string or not. The interface is a means to import data from another application. I could not see the connection method but I suspect this source code part :

Public Function SetConnectionContext() As Long

Set oCompany = New SAPbobsCOM.Company

sCookie = oCompany.GetContextCookie

sConnectionContext = SBOApplication.Company.GetConnectionContext(sCookie)

SetConnectionContext = oCompany.SetSboLoginContext(sConnectionContext)

End Function

or this one :

Public Sub SetApplication()

Set oSboGuiApi = New SAPbouiCOM.SboGuiApi

sConnectionString = Command

oSboGuiApi.Connect sConnectionString

Set SBOApplication = oSboGuiApi.GetApplication()

Set oApplication = oSboGuiApi.GetApplication()

End Sub

Which one of the source code to be put the string and what is needed prior to upgrade. I appreciate your answer. TIA

Rgds,