How to add events to Business Objects
We are working with workflows, for one of object Notification, business object BUS2080, we want to trigger an event after change of certain fields.
Since standard BO does not cater for change, we would like to explore other alternatives to solve this.
Appreciate your kind information and co-operation.
Thanks in Advance
Praveer Sen replied
You can delegate the BUS object and create a new Z one.
after that you Have to Create a Event as per your requirement.
1. Go to SWO1 and give Object as BUS2080
2. Select SubType from Tool buttons,
3. And provide Object Type as ZBUS2080 and you can give the same name for Object name,
Name, Description, Program and Application would be '*'-Cross Application.
4.After select you will get a new screen with all information of BUS2080
5. Select 'EVENTS' and click new button from tools and create a new event.
Then the same event you have to Maintained in SWE2 T-code.
Since the event is customized one, so you have to trigger the workflow through the Coding.
for that you have to find a BADI or EXIT and based on your condition you have to call the below FM with workflow related parameters.