ABAP-OO .Created-Event as terminating event

Mike Pokraka wug at workflowconnections.com
Thu Jan 7 04:45:59 EST 2010


Hi Florin, 

Not sure if you're still struggling with this one, but try populating a
container element "_REQUESTER" with the calling work item ID. This is what
standard BOR items do even though the element is not defined as an event
parameter. 

Cheers, 
Mike


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Florin Wach
Sent: 16 December 2009 09:13
To: sap-wug at mit.edu
Subject: ABAP-OO .Created-Event as terminating event

Hi there,

in the old ways, you could use the static CREATE method of a business object
to be terminated by the instance event .Created of the business object,
transferring this into the _WI_OBJECT_ID of the work item.
This worked through the internal QUERY_REQUESTER-Option.

With ABAP-OO, I have created a new class method CREATE, an instance event
.CREATED and called within the create method the transaction (in this
example: MIRO)

There's a general event linkage established, that raises the .CREATED event
of the ABAP-OO-Object, once the BUS-event was created. At this point, the
connection between the work item and the .Creeated event seems to be lost.

Question:

1. Did anyone used the CREATE method analog to the Business Object within
the context of ABAP OO ... SUCCESFULLY

2. And if yes, HOW ?

Meanwhile I'll work on a workaround using a BADI to terminate the work item
directly, but that's not the solution that should be there at the end.



Best wishes,
Florin
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
 

__________ Information from ESET Smart Security, version of virus signature
database 4749 (20100106) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 




More information about the SAP-WUG mailing list