Skip to Content
author's profile photo Former Member
Former Member

JCO without setting timeout parameter


We met a question that Peripheral Systems access SAP application server through RFC calls and JCO controls the timeout threshold by parameters jco.session_timeout and jco.session_timeout.check_interval. If the call exceeds the timeout threshold and is monitored by JCO, the JCO.execute

will end the function module and the transaction will rollback. Now we want Peripheral Systems to control the timeout issue itself. It means that the function modules called by RFC client will be ended by Peripheral Systems, not JCO. How can we implement this? Thank you for your answers.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 08:11 AM

    Hi,

    jco.session_timeout and jco.session_timeout.check_interval are properties of JCO class and JCO class has static method
    "setProperty".

    https://help.hana.ondemand.com/javadoc/index.html?com/sap/conn/jco/JCo.html

    So you can implement something like below

    JCO.setProperty("session_timeout", 100);

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.