Skip to Content
0
Former Member
Jun 17, 2008 at 10:49 AM

Error in executing Function Module using ConnectorFramework

56 Views

Hi All,

I am trying to call a function module in the SAPR/3 system using the Connector Framework in Portal.

I got the connection by using IGatewayService,

written a statement for accessing the function like this

IFunctionsMetaData fnMetadata = con.getFunctionsMetaData();

IFunction function1 = fnMetadata1.getFunction("ZBAPI_FM3");

By using the above code, I am able to get the description of the Function Module.

using the statement response.write("Success5 "function1.getDescription()"<br>");

But while using the MappedRecord ouput1 = (MappedRecord)ix.execute(ixspec1,input1); to execute the function,

it is raising an exception

com.sap.mw.jco.JCO$Exception: (131) JCO_ERROR_ILLEGAL_ARGUMENT: Function name equals null is not allowed

I have filled the input1 also.

Any one please help me in this regard to solve the issue.

Thanks in advance,

Bhavyasri.M

Edited by: bhavya Sri on Jun 18, 2008 5:16 AM

Edited by: bhavya Sri on Jun 18, 2008 5:40 AM