cancel
Showing results for 
Search instead for 
Did you mean: 

How to create application/service for catch the SAP add/update event ?

former_member209771
Active Participant
0 Kudos

Hi expert ,

   I have created a project which can catch the sap event .I used 'EventFilters' for filter and 'SboGuiApi' for the SAP connection. I am able to catch the SAP event when i run the VS project but not able to catch the event when i run the application through task scheduler .I  want to just run that application as a service or run through task scheduler . Please any expert help me , how can i catch the event without any addon instalation ?

Thanks

Surajit

Accepted Solutions (0)

Answers (2)

Answers (2)

pedro_magueija
Active Contributor
0 Kudos

Hi Surajit,

Addons that connect to the UI API must be "launched" from inside B1 (or from VS using the development connection string). This is because to connect to the UI API you must provide the connection string (when the addon is installed this is provided by B1).


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn/body>

former_member209771
Active Participant
0 Kudos

Hi Pedro,


  I have created a windows application which can catch the sap events. I have used 'EventFilters' to filter the form-events and 'SboGuiApi' to set the SAP connection string. I have set the connection string from VS ‘command line arguments’ value(Development Conn string).  I am able to catch the SAP events when I run the VS project of the said application, but not able to catch the SAP events when I run the application exe directly or through  task scheduler. I  have to run that application as a service or through task scheduler and that should catch the SAP events. I don’t want to use any SAP addon installation.  Please let me know why it’s not working? Can you give me any other suggestion on this?



thanks

Surajit

AdKerremans
Active Contributor
0 Kudos

Hi Surajit,

It's not working because catching events can only be done when you run it as an addon. you need a running SBO Client to be able to catch events.

But what is it you want to do?

Regards

Ad

AdKerremans
Active Contributor
0 Kudos

Hi,

You can only catch events when you run your program as an addon.

Regards

Ad