cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Input parameters

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

ravindra_bollapalli2
Active Contributor
0 Kudos

hi

what is the error message u r getting

before that are u able to

do u have connected to sap r3?

are u able to ping the r3?

let me know

bvr

Former Member
0 Kudos

error is as follows

Internal error: Customer does not exist in master record

ravindra_bollapalli2
Active Contributor
0 Kudos

hope this will give some idea

http://www.sapfans.com/sapfans/forum/intface/messages/4262.html

let me know

bvr

Former Member
0 Kudos

Thanks for Helping. I thing You have solve my problem.