I am getting below exception while executing the JCoFunction
.
JCoFunction functionBOMCreation = destination.getRepository().getFunction("CSAP_MAT_BOM_CREATE"); functionBOMCreation.execute(destination);
Getting this exception
com.sap.conn.jco.AbapException: (126) ERROR: ERROR Message 172 of class 29 type E
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1824)
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120)
at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953)
at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1317)
at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1288)
at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:302)**