Enhance sap class with custom event

Claus Lücking wug at lucking.dk
Wed Mar 5 03:05:04 EST 2014


Thx – but the standard class was marked as final and was thus not possible
to use as super class.

 

Claus.

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Srinivas Reddy
Sent: 25. februar 2014 13:23
To: SAP Workflow Users' Group
Subject: Re: Enhance sap class with custom event

 

Hi Claus,

 

Why not inheritance?  

Create a Z class and assign the standard class IHC_CL_UTIL_WORKFLOW as super
class to the Z class. Create your event in the Z class. 

Any specific reason you want to do this by enhancing the standard class?

 

On Thu, Feb 20, 2014 at 4:07 PM, Claus Lücking <wug at lucking.dk> wrote:

Hi,

 

I would like to enhance a SAP standard workflow class (IHC_CL_UTIL_WORKFLOW)
with a new custom event. This goes well, but the event does not get status
active and thus when I raise the event an exception occurs ‘Event CREATED
does not exist’.

 

Is’nt it possible to enhance a standard class in this way? – or where do I
set the event as active in the class/enhancement?

 

Thanks,

 

Claus.


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





 

-- 

Thanks and Regards
Srini..
SAP Technical Consultant

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20140305/f681ae99/attachment.htm


More information about the SAP-WUG mailing list