Problem: A table of Workflow Objects (ABAP OO) to be passed as parameter (importing / returning)

Mike Pokraka wug at workflowconnections.com
Thu Apr 23 09:29:00 EDT 2015


Hi Florin, 

Why not use a collection object to hold the instances? Standard OO pattern to do that sort of thing...

Regards, 
Mike

On 23 Apr 2015, at 12:52, Florin Wach <florin.wach at systems-integration.net> wrote:

Dear wuggies,



I'm somehwat stuck with a problem that didn't seem to any issue at all:



I've a container elemente based an an ABAP Class, having checked "Multiline" on.

This is working fine, and I'm using this list in the event type coupling and in other steps.



Now, when I'm defining a container operation, where one of the import elements is a table of those class instances, i receive the error "Invalid value for parameter 'xyz' (method ... )".



I doesn't work, when I declare the parameter as a table-type OF class, nor does it work, declaring the type SIBFLPORT (which is the table-type for SIBFLPOR).





I got another method, which is using the Table-Typ of type-ref-to and which is called by a WORKITEM. And that works. There're no error given that the type mismatches or ... 



What's wrong with it?



Florin

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20150423/76c637dd/attachment.htm


More information about the SAP-WUG mailing list