Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wait time for RFC response

Former Member
0 Likes
1,753

Hi experts,

I am calling an RFC in a remote SAP R/3 system from another SAP system (say CRM).

Is there a timeout parameter value that can be set to a time limit that a calling system can wait for a response from the RFC call? In other words, how can I set up a time parameter in the ABAP program to wait for the RFC and if can not get a response; continue with a set of code.

Any suggestion greatly appreciated <REMOVED BY MODERATOR>

Abbey Qayum

Edited by: Alvaro Tejada Galindo on Feb 25, 2008 2:58 PM

Hi experts,

I am calling an RFC in a remote SAP R/3 system from another SAP system (say CRM).

Is there a timeout parameter value that can be set to a time limit that a calling system can wait for a response from the RFC call? In other words, how can I set up a time parameter in the ABAP program to wait for the RFC and if can not get a response; continue with a set of code.

Any suggestion greatly appreciated <REMOVED BY MODERATOR>

Abbey Qayum

Edited by: Alvaro Tejada Galindo on Feb 25, 2008 2:58 PM

3 REPLIES 3
Read only

Former Member
0 Likes
1,131

Try

GET RUN TIME FIELD <runtime>.

statement in your ABAP code.

Read only

0 Likes
1,131

Just to calrify my question;

An RFC is being called in R/3.

The calling system is say CRM.

The question is:

1) If the RFC called system (R/3) is down, what would be the expected response from the called system (R/3) to the requesting system (CRM)? i.e what happens when the called system is down/connection breaks down?

When calling the RFC in R/3, I noticed that the call hangs up and the hour glass shows and waits for the RFC reponse for a long time. How can this be prevented? That is, the RFC call should timeout after a certain time if you don't get a response from the called system. How and where this timeout can be set in the ABAP.

Thanks

Read only

0 Likes
1,131

Hi,

Have you checked RFC destination settings in transaction SM59?

Best regards,

Wojciech