Method parameter issue

Dan Stoicof dan_stoicof at yahoo.com
Thu Jul 9 08:13:34 EDT 2015


Ramki, Thank you for your suggestion.  I have tried to use the table you mentioned below, but I get the message "Data type SIBFLPORBT cannot be used for methods".  I am using the standard BOR approach . . . Regards, Dan
      From: Ramki Maley <rmaley at erpworkflow.com>
 To: SAP Workflow Users' Group <sap-wug at mit.edu> 
 Sent: Wednesday, July 8, 2015 4:15 PM
 Subject: Re: Method parameter issue
   
 Hi Dan,
 
 I have done something similar in OO-ABAP context. I used the table type SIBFLPORBT to hold my BOR object references as an attribute of a custom class. It might work in a BOR context as well.
 
 Cheers,
 Ramki.
  
 
 

On 7/8/15, 1:42 PM, Dan Stoicof wrote:
  
  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  
  
 _______________________________________________
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


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20150709/c6f6bc22/attachment-0001.htm


More information about the SAP-WUG mailing list