Hello,
I have a requirement where I need to send create an idoc and send the idoc to external system when WBS is created or changed. Currently, I have the following setup:
- I have created a YBUS2054 as a subtype of BUS2054 using SWO1
- YBUS2054 has been delegated to BUS2054
- created an CHANGED event in the YBUS2054. This event is implemented and then released
- created a type linkage (object type=YBUS2054, event=CHANGED, receiver type null, and receiver function module = zz_create_wbs_idoc) using SWETYPV. This function is supposed to create an idoc when CHANGED event occurs. I just don't know how to trigger the event to occur.
- all the port, define idoc type, logical system, and etc are setup
- when I try to create an entry in "Event for Chagne Document" using SWEC with change doc object=PROJ, business object type = YBUS2054, with on change, I get "Key for change doc object PROJ and business object type YBUS2054 are incompatible".
I tried various configurations, and I was not successfully in creating an event on CHANGED
can you please advise what I am missing in getting the changed event to trigger?
Thank you in advance,
Shawn