how long the RFC connection lasts
i am calling an RFC FM in system B from system A in a program. lets say i am doing some database updates in system B using this RFC. if the execution of the FM is going to take more time, will the RFC connection gets closed. I mean is there any limitation on time for which the RFC connection lasts?
we used to have RFC from PI to R3 & those Function modules used to take upto 60 min to execute.
On R3 side we had to increase rdisp/max_wprun_time to 4000 sec.
In our case, calling system was PI so on PI side we changed parameter to increase the time PI keeps the port open ( parameter icm/server_port_0)
in your case calling system is also R3 so I guess you need to increase rdisp/max_wprun_time on both the system.