Skip to Content
0
Former Member
Sep 23, 2011 at 11:56 AM

FM call on a Action: com.sap.mw.jco.JCO$AbapException:NOT_FOUND

22 Views

Hi Experts,

I have a UWL config file, where on click of a action button, a custom Function Module from the backend has to run.

For that, we have used, the code as below:

But while clicking the button on the runtime, we get the below exception.

Exception type:com.sap.netweaver.bc.uwl.connect.ConnectorException Message:Fri Sep 23 14:42:14 EEST 2011 (Connector) :com.sap.mw.jco.JCO$AbapException:NOT_FOUND

The Function Module is present in the Backend, but, still the exception occurs.

The Function Module accepts this Workitem ID and the string 'APPROVE' as input parameter and no output parameter.

<Action name="Leave_approve" groupAction="yes" handler="FunctionModuleActionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no">
<Properties>
<Property name="FunctionModule" value="Z_LEAVE_APPROVE"/>
<Property name="OBJECT_KEY" value="${item.externalId}"/>
<Property name="OPERATION" value="APPROVE"/>
<Property name="UWL_RETURN_CODE" value="RET_MESS"/>
</Properties>
<Descriptions default="Approve"/>
</Action>

Any hint , why this is happening? Anybody came across similar issue?

Advance Thanks,

BR,

Uday