Skip to Content

Event Type Linkages for BO IMAGE or BUS2010?

Sep 27, 2017 at 02:51 PM


avatar image

the following task: When attaching a document with the GOS to a "Request For Quotation" (ME42) a Function module has to be started via "Event Type Linkages" (SWETYPV).
The business object IMAGE for the GOS documents has the Event ASSIGNED. If such an action is carried out e.g. with the transaction ME42, then you see in the Event trace an event with the following data:

Object type BUS2010
Object key xxxxxxxxxx

This is surprising. The actual BO for the event is IMAGE. If you try to create such a type linkage (SWETYPV) this ends with the message:

Event 'ASSIGNED' is not defined for object type 'BUS2010'

Message no. OL835

Is this a bug or an feature?

Thank you in advance.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Team SD-MM Ablöseprojekt Mar 08 at 10:12 AM

The SAP has not given an answer to my incident in this regard. That's why I made an implicit enhancement in the method CREATE_ASSIGN_EVENT of the class CL_ALINK_CONNECTION in the end. In this enhancement I check whether there is a BO Z&&This_type with an event ASSIGNED ('This_type' is the original object type, e.g. BUS2010). If the response is positive, the event is triggered.
Then we only need to create a subtype from the original BO and create the event ASSIGNED there. This is the basis for the event type linkage.

10 |10000 characters needed characters left characters exceeded