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: 

How to avoid "Time_out" by using RECEIVE RESULTS FROM FUNCTION?

Former Member
0 Kudos

Hi guys,

I use CALL FUNCTION xxx STARTING NEW TASK task

DESTINATION 'NONE'

PERFORMING FM ON END OF TASK

to call fm xxx asychrone, and the return value should be delivered by

RECEIVE RESULTS FROM FUNCTION

But since the FM taks so long that short dump "Time_Out" occurs. How can I avoid this error. I know there is " CALL FUNCTION func IN BACKGROUND TASK

", but it is not possible to get any return value, is it?

Thanks for any hint.

Regards

3 REPLIES 3

Former Member
0 Kudos

Hello Liying.

Check the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/22/0425ac488911d189490000e829fbbd/frameset.htm">documentation</a>.

You can then define in your system how long it waits before the "time out".

Regards,

walter

0 Kudos

Hello Walter,

for the system I don't have permission to set the system run time. That's why I have to run my program in backgroud.

Thanks though.

Former Member
0 Kudos

Hello,

By using this kind of call, The main program is in background but functions modules called are in Dialog mode.

BR

seb