Enhance sap class with custom event

Srinivas Reddy ootasrinivasreddy at gmail.com
Tue Feb 25 07:23:26 EST 2014


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/20140225/1fb97de1/attachment.htm


More information about the SAP-WUG mailing list