Skip to Content
0
Former Member
Jul 18, 2008 at 07:17 AM

how to add my exe file to sap b1 2005

39 Views

Private Sub SetApplication()

'*******************************************************************

'// Use an SboGuiApi object to establish connection with the

'// application and return an initialized application object

'*******************************************************************

Dim SboGuiApi As SAPbouiCOM.SboGuiApi

Dim sConnectionString As String

Set SboGuiApi = New SAPbouiCOM.SboGuiApi

sConnectionString = Command

'// set the Addon identifier

'// this identifier is of development type

SboGuiApi.AddonIdentifier = "4CC5B8A4E0213A68489E38CB4052855EE8678CD237F64D1C11C22707A54DBD2D5D5F6E4050A09B9F9FB80FAC44F6"

'// connect to a running SBO Application

SboGuiApi.Connect sConnectionString

'// get an initialized application object

Set SBO_Application = SboGuiApi.GetApplication()

End Sub

Where i have to use these function? how to interact my exe file with ui api? how i get connection string and .AddonIdentifier ?

pls explain me.... Urgent.