Application Development 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: 

want to set a timeout...

Former Member
0 Kudos
273

Hi,

In my case, I am calling an RFC.I want to set a timeout and if it is reached and still I dont get the control back to my calling program, I want to display an error message. any idea how to do that ?

thks

2 REPLIES 2

Former Member
0 Kudos
97

Hi,

Check the parameters in Report RSPARAM in tcode SA38.

Use search string Rdisp/rfc* and Rfc/*

In order to change the parameters use tcode RZ10.

Rakesh

0 Kudos
97

I am sorry, maybe I must have given a detailed explanation of what I want !

I have a Z program where I use CALL FUNCTION to call an RFC. This RFC has some tables , one as input and 2 as outputs, i.e., the output tables receive data which I use in Z program.

This interfacing is happening through XI.

I cannot wait indefinitely to get the response. If I dont get the data populated in the output tables say in 30 secs, I want to disconnect the RFC call and continue with my program.

Hope I am clear now.

So my pseudocode is as follows:

-


report zxxx.

...

..

CALL function "VVV" Destination "XI"

Tables

inp = xx

out1 = yy

out2 = zz.

if control does not return in 30 secs, continue the program from here..

..

..

-


thks