cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi there,

Have you also checked the help documentation?

http://help.sap.com/saphelp_nw70/helpdata/en/d6/7bd981916f4c4aabd5231723efa8e8/content.htm

Have a look here to ensure everything is defined correctly.

Beth Maben

EP - Senior Support Consultant II

AGS Primary Support

Global Support Centre Ireland

      • Please see the UWL Wiki @

https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq ***

Former Member
0 Kudos

Thanks All,

We found the issue and resolved the same.

1) The FM which we were calling was not remote enabled hence the issue.

2) The parameters to be passed were not having the same variable name in the FM.

We cleared them both and it started working as smooth as desired!!

BR,

Uday

Answers (1)

Answers (1)

former_member201257
Active Contributor
0 Kudos

Do you see any dumps in the backend (from transaction ST22) ?