Method parameter issue

Dan Stoicof dan_stoicof at yahoo.com
Wed Jul 8 13:42:10 EDT 2015


Hello, I have an issue getting parameter data into and out of a method. I have a workflow container defined as type object (BUS2009) - multiline.  It contains a list of Purchase Requisition objects.
I wrote a method that takes this container "in" for processing.  The parameter definition for this container is "Import/Multiline and of reference type "Object Type" (BUS2009). In the method, the data definition for the container is of type swc_object. Here is the issue I'm facing:  when I test run the method, when the parameter comes up (supposedly for data entry) it is not modifiable.  It actually has a value of zero, as if it is the result of an output parameter.  More, this parameter does not looks as if it's defined as multiline (with the "multiline icon"). On the same line, I have defined an output parameter using the exact same criteria.  I populate this parameter in the method.  Upon testing, this parameter displays the multiline icon, but it's always empty, even though I populate it with data using the SWC_SET_TABLE CONTAINER macro. So, it seems I cannot input a table of objects and I cannot output a table of objects. Any suggestions on what I'm doing wrong? Thanks and Best Regards, Dan Stoicof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20150708/71b900ff/attachment.htm


More information about the SAP-WUG mailing list