cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the Events which are in BOR?

praveen_hannu
Contributor
0 Kudos

HI Experts

In SAP Business Object Repository, under each object, we can see some events. What are these events, can we use them in our programs. For instance the business object type BUS2010-Purchase order; I can see some events for it, If I want to use these events in my custom program, can I use them?

What is the use of it SAP R/3. If you feel my question is baseless also, please provide me the information about this once.

Thanks in advance

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

arunprakash_karuppanan
Active Contributor
0 Kudos

Hi,

The BOR objects are used in workflows. In a workflow, something must be done when an appropriate business object event is triggered. These methods act as handlers.

Regards,

Arun Prakash

Answers (1)

Answers (1)

former_member182670
Contributor
0 Kudos

Hi,

If you want to raise BOR event from your program you can use function module SWE_EVENT_CREATE.

If you want to register for the event and handle it you can go to transaction SWEC and register your function module there.