on 09-27-2006 12:44 PM
Hi,
when I call bapi_document_checkoutview2 it is extremely slow. It needs >= 60s for a 32KB File.
My Code extract is:
function = this.createFunction("BAPI_DOCUMENT_CHECKOUTVIEW2");
function.getImportParameterList().
setValue("DSORG12345", "DOCUMENTNUMBER");
function.getImportParameterList().
setValue("001", "DOCUMENTPART");
function.getImportParameterList().
setValue("DRW", "DOCUMENTTYPE");
function.getImportParameterList().setValue("00", "DOCUMENTVERSION");
function.getImportParameterList().setValue("C:
TEMP
", "ORIGINALPATH");
JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs","sapftp");
System.out.println(new Date());
mConnection.execute(function);
System.out.println(new Date());
Can anyone help me to increase the performance?
Regards,
Michael
Have you tried using the Throughput functionality in JCo? That shows you exactly how much time your side (the JCo application) took to manage the data and when you substract that time from the total time, you get the time which the SAP System took to process the request.
If the SAP System takes up most of the time to process the request, your program is in the clear
T00th
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we are experiencing similar performance issues doing basically just this, does anyone have any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.