Polymorphic classes in workflow?

Mike Pokraka asap at workflowconnections.com
Wed Jun 27 04:58:20 EDT 2007


...doubly frustrating because all the underlying technology allows it.
BTW, if you are going to try using NN on a system >620, could you let us
know if it works? It doesn't on 620 unless I do programmed bindings which
kinda defeats the point of simplification.

Although... I think it may be possible to develop some kind of generic
programmed binding to do the job across various object types. But right
now time is not a close enough friend to embark on such projects.

Cheers,
Mike

On Tue, June 26, 2007 7:04 pm, Alon Raskin wrote:
> 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
>
>
> _______________________________________________
> 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




More information about the SAP-WUG mailing list