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

BDC Time Out Error

Former Member
0 Likes
1,261

Hi All,

Please tell me what to do when we get timeout error while running BDC.

Thanks & Regards,

Kesav

7 REPLIES 7
Read only

Former Member
0 Likes
1,041

Hey,

You will get the time out error only if you are running your program in the foreground and the runtime exceeds the maximum allowed runtime for an application in foreground.

Analyze the short dump, The dump will have the name of the parameter which needs to be configured for maximum runtime.

Check the value of this parameter with your basis guy.

If the value cannot be changed then you need to schedule your program in the background.

-Kiran

Please mark useful answers

Read only

Former Member
0 Likes
1,041

Hi KP,

You get the timeout error when runtime exceeds the maximum allowed runtime for an application.

Check the error log file (SM35).

Regards

Inder

Read only

0 Likes
1,041

hi,

time out error can come bcos of big files.

try to split the file in 2 or 3 parts then upload it.

hope it works..

regards

cnu

Read only

abdul_hakim
Active Contributor
0 Likes
1,041

Hi

Run your program in background rather than in the foreground where you will get timeout error..

Cheers,

Abdul Hakim

Read only

Former Member
0 Likes
1,041

Hi !

Try processing the Batch-Imput "in Background" not in Digalog-Mode.

Regards

Rainer

Some points would be fine if that helped a bit...

Read only

Former Member
0 Likes
1,041

Hi,

The maximum time for execution of any program in foreground is set to usually 5min. This can be changed by the BASIS person. If the Execution time of a report program exceeds this set time limit, then it gives an error of time out.

In your case, what you can do is create two programs. The Selection screen would be in ZPROG1. In ZPROG1 use JOB_OPEN, JOB_SUBMIT, JOB_CLOSE and in JOB_SUBMIT pass the Report name as ZPROG2. Here ZPROG2 is the Report program which would be executed in background. Cut paste the BDC logic from existing program into ZPROG2.

So ZPROG1 would be executed in foreground and will call ZPROG2 in background. This would solve the problem of time out.

Best regards,

Prashant

Read only

Former Member
0 Likes
1,041

Hi KP,

If you want your BDC to run in foreground and you should not get Time Out Error, then send a request to your Basis Administrator to increase the Time stamp(or Program Runtime time stamp). The reason for the above is the administrator would have fixed a timestamp after which you will get a dump error(or Runtime error) even though you dont have any problem, so you need to tell the administrator to increase that time.

or.,

The better/optimized way is to run your BDC in Background.

Regards:-

Santosh.D