Hi all,
I'm having problems on calling a function in a workitem.
The function i'm calling have:
Export:
RETURN_CODE LIKE SY-SUBRC
Tables:
EVENT_CONTAINER LIKE SWCONT
with the column VALUE where is the error description.
so i looked on Universal" target="_blank">https://media.sdn.sap.com/javadocs/NW04s/SPS8/uw/com/sap/netweaver/bc/uwl/config/doc-files/ActionHandlers.html#FunctionModuleActionHandler">Universal Worklist - Action Handlers where they recomend to use UWL_RETURN_TABLE and UWL_RETURN_TABLE_PARAMETER in case of not having a table MESSAGE_LINES.
I did that, but seems that is not working, since i force to get an error and none is showed. If i try for example the SAP_WAPI_CREATE_EVENT it works, and i get the errors.
So what could be wrong on my code?
Here's my code:
[code]
<Action name="Test" groupAction="yes" handler="FunctionModuleActionHandler">
<Properties>
<Property name="FunctionModule" value="ZWKFRH_PRH_CREATE_EVENT"/>
<Property name="WORKITEM" value="${item.externalId}"/>
<Property name="EVENTID" value="07"/>
<!-- special return parameters -->
<Property name="UWL_RETURN_CODE" value="RETURN_CODE"/>
<Property name="UWL_RETURN_TABLE" value="EVENT_CONTAINER"/>
<Property name="UWL_RETURN_TABLE_PARAMETER" value="VALUE"/>
</Properties>
<Descriptions default="Test"/>
</Action>
[/code]
Thanks in advanced for any answer,
Luis Cruz