SAP_WAPI_READ_CONTAINER

Quick, Tomas tomas.quick at capgemini.com
Tue Sep 12 05:02:23 EDT 2006


Hello,
 
I am calling function module SAP_WAPI_READ_CONTAINER in a workflow step programming exit, and it returns internal table 'simple_container' (structure SWR_CONT).
I can easily read simple elements (name/value) from this table but how about elements in objects?
 
Alternatively I am trying to read the container the OO way, but since I am new to this, I get stuck a lot.
 

DATA: l_cont TYPE REF TO if_swf_ifs_parameter_container.

l_cont = im_workitem_context->get_wf_container( ).

 

Then I guess it is CALL METHOD GET (element) but I get stuck there for the moment so I am hoping for the oldfashioned function module way.

 

After reading the container I can successfully write back a simple element with SAP_WAPI_READ_CONTAINER, so its the question about getting elements in objects that I wonder about.

 
Best regards,
Tomas Quick
Capgemini Sweden
 

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.





More information about the SAP-WUG mailing list