Skip to Content
0
Former Member
Mar 05, 2009 at 08:00 AM

JCO Input parameters

30 Views

I have a problem in retriving customer details using BAPI_CUSTOMER_GETDETAIL1

function = this.createFunction("BAPI_CUSTOMER_GETDETAIL1");

if (function == null) {

System.out.println("BAPI_CUSTOMER_GETDETAIL1" +

" not found in SAP.");

System.exit(1);

}

// mConnection.execute(function);

JCO.ParameterList input = function.getImportParameterList();

input.setValue("1", "CUSTOMERNO") ;

input.setValue("1000","PI_SALESORG") ;

input.setValue("00", "PI_DISTR_CHAN" );

input.setValue("00","PI_DIVISION" );

mConnection.execute(function);

Values are not passing through above Java coding. Please help.