ABAP OO Super/SubClass Event triggering

Dart, Jocelyn jocelyn.dart at sap.com
Thu Jun 16 05:01:56 EDT 2011


Mark,
Can you send through your code for the FIND_BY_LPOR and LPOR classes please?
They are usually only a few lines long.
Should be easy to spot the problem.
Regards,
Jocelyn

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mark Daley
Sent: Thursday, 16 June 2011 12:44 AM
To: sap-wug at mit.edu
Subject: ABAP OO Super/SubClass Event triggering

Hi all,

I have an abap object class that is workflow enabled ie using IF_WORKFLOW interface.

I want to create several 'flavours' of this class (ZSUB1) using the original abap class (ZSUPER) as the superclass.

My understanding from what I've read in Workflow book and blogs, is that I need to reference the ZSUB1 instance in my workflow and I will have access to methods of the super class.

This all seems fine, but I'm having problems trying to trigger an event of the subclass eg ZSUB.CREATE? Is it possible to do this?

I've tried to debug whats happening using SWUE by puting  a breakpoint in the FIND_BY_LPOR method of ZSUPER but it does not even get executed?

What am I missing?


Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110616/658b9d24/attachment.htm


More information about the SAP-WUG mailing list