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: 

performance issue

Former Member
0 Kudos

Hi,

When I checked in ST22 I found that the below statement is causing TIME_OUT error.

LOOP AT t_data_ship.

CLEAR w_index.

w_index = sy-tabix.

CLEAR s_data_ship3.

s_data_ship3 = t_data_ship.

CLEAR w_wtyp.

w_wtyp = s_data_ship3-wtyp.

In the above statement time_out error is occuring at line CLEAR w_index.

w_index is declared like sy-tabix.

Is there any issue in clearing a variable inside the loop?

Please give me your suggestions

2 REPLIES 2

Former Member
0 Kudos

Hi,

How many number of records are there in internal table "t_data_ship" if there is huge number of records then this issue will come. In order to avoid this dump, ur BASIS team has to set some parameter, to increase the time out time.

Thanks & Regards,

Navneeth K.

Former Member
0 Kudos

Hi,

This time out dump is not coming for single command. report full process is time out.so check prg hole process.

next point is you can store values to variable without clear command.

you used

CLEAR w_index.

w_index = sy-tabix.

you can use this .

w_index = sy-tabix.

it is enough