cancel
Showing results for 
Search instead for 
Did you mean: 

Event Type Linkages for BO IMAGE or BUS2010?

Former Member
0 Kudos

Hello,
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
Event ASSIGNED

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.

Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.