Hi all:
I need to write java code to call RFC , through Java Proxy mode. the Sap Enterprise Connector help me generate some proxy class.
But this rfc has 3 parameter ( table type ) in change . ( not in import/export parameter ). I find when I call that rfc, without passing the table element to that rfc, it always returns me RFC error.
How should I write java code for this ?
Function func = getDefaultJCoConnection().getJCoFunction(FUNCTION MODULE NAME);
func.getImportParameterList().getField(IMPORTPARAMETER).setValue(VALUE);
Table table = func.getTableParameterList().getTable(TABLENAME);
productTable.appendRow();
productTable.setValue(VALUE,FIELDNAME);
getDefaultJCoConnection().execute(func);
Follow this code and send parameters through table to an RFC
Hi jianhong,
download the jco documentation to find coding examples or the javadocs,
which help you on your expedition...
service.sap.com/connectors --> SAP Java Connector
Regards, Jens
Add a comment