on 09-27-2017 3:51 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.