Skip to Content
avatar image
Former Member

Keeping RFC-Connections open

Hi,

we have a scenario where users need to work with sap data using external software. Since these operations require some time, we need to lock objects in sap using standard sap enqueues (actually, the same function modules that the application uses are called). In order to keep these locks, it is necessary that the rfc-connection stays open as long as the user is working, i.e. some 5 minutes to a couple of hours.

Are there any problems that might arise from keeping rfc connections open? I can see in SM04 that they consume a little memory (no problem), but apart from that? Or any other ideas/comments on how to avoid keeping the connection open?

Cheers, Nils

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 21, 2006 at 07:24 AM

    I think there is no problem. in fact, rfc call will use dia process , so I think if your rfc run need run long time, you may be change the parameters rdisp/max_wprun_time

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your answer. Acually, I the rfc-calls will take very little times (some seconds). The situation is that the connection has to stay open for some hours, just to keep the locks in r/3. Dia-procs will be occupied for some minutes in total during these hours.

      So, no problem here?

  • Oct 12, 2006 at 03:11 AM

    They'll also consume entries in the connection tables; if you have a lot of these active for a long period, you may need to increase the profile parameters:

    rdisp/tm_max_no

    rdisp/wp_ca_blk_no

    rdisp/appc_ca_blk_no

    Rich

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2006 at 07:33 AM

    Hello,

    Increase the value for the parameter rdisp/max_wprun_time.

    Aslo check is there any error listed in SM21 for broken RFC connection in that.based on that also u can identify the cause of the problem.

    If usefull then dont forget to reward the points.

    Add comment
    10|10000 characters needed characters exceeded