Polymorphic classes in workflow?

Alon Raskin araskin at 3i-consulting.com
Tue Jun 26 14:04:48 EDT 2007


Seems like an unnecessary work around (but I will take it). If only SAP allowed proper polymorphic behaviour....

________________________________

From: sap-wug-bounces at mit.edu on behalf of Mike Pokraka
Sent: Tue 6/26/2007 13:35
To: SAP Workflow Users' Group
Subject: RE: Polymorphic classes in workflow?



There there, actually an answer to your problem may be at hand - you can
enable a type NN (Not Defined) as a container element type as of some
service pack.
This is supposed to work, though I still get no end of binding-related
errors. In my case I'm trying to restrict things further than IF_WORKFLOW,
e.g. IF_WF_INVOICE with a number of associated classes for different
purposes.


On Tue, June 26, 2007 5:38 pm, Alon Raskin wrote:
> here here.
>
> ________________________________
>
> From: sap-wug-bounces at mit.edu on behalf of Mike Pokraka
> Sent: Tue 6/26/2007 11:21
> To: sap-wug at mit.edu
> Subject: Polymorphic classes in workflow?
>
>
>
> Hi Workflowers,
>
> A very technical question: Has anyone tried to use some sort of
> polymorphism with ABAP classes in workflow?
>
> I am working on 620 at the moment and the trouble is that the WF builder
> doesn't let you specify an interface as a class container element type. I
> have even tried to get it to work via inheritance (i.e. binding a subtype
> to it's supertype and vice versa) and having spent most of a day on it
> have had no success whatsoever. It seems that the class you define is the
> class you're stuck with thoughout the WF.
>
> This is rather annoying and negates one of the more useful benefits of
> using classes. Even though I am sitting on a 620 system, I would also be
> interested in any experience on NW04/s because it would be handy to know
> how things work and which direction things will go as we also have upgrade
> plans around the corner.
>
> Any input appreciated.
> Cheers,
> Mike
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>


--
Mike Pokraka
Senior Consultant
Workflow Connections
Mobile: +44(0)7786 910855

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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5321 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20070626/309bc5cf/attachment.bin


More information about the SAP-WUG mailing list