Skip to Content
0
Former Member
Sep 27, 2006 at 11:44 AM

bapi_document_checkoutview2 extremely slow

21 Views

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