cancel
Showing results for 
Search instead for 
Did you mean: 

Huge overhead cost with JCo

Former Member
0 Kudos

I'm using SAPJCo for access to SAP from a web app and after monitoring connections and transactions, we see that when a BAPI takes a time T to execute on the SAP System, the method JCO.Client.execute(JCO.Function) which executes the BAPI through SAPJCo library takes approx 2*T to execute.

I haven't yet managed to disable RFC tracing and I'm guessing it's responsible for a slight share of the overhead time cost, but I can't understand why this execute() call is so slow.

Anyone have an idea why and how to speed things up ?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hello Romain,

when you switch on Debugging with jcoclient.setAbapDebug(true); you will see that the Function Module rfc_get_function_interface is called before the BAPI. Perhaps this causes the overhead.

Regards

Gregor