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

understanding Dump

former_member810309
Participant
0 Likes
2,973

Hi everyone ! hope you're fine this morning 🙂

I had this dump, can someone explain to me why this happened plz ? and wich object is concerned by the dump.

Thnx

12 REPLIES 12
Read only

2,838

This is timeout error which occurs once the set limit of program execution is exceeded. Connect with BASIS Team for the same.

Read only

venkateswaran_k
Active Contributor
2,838

Hi

Check your program. It is going into Endless loop Do - Enddo.

The Exit condition may not occur at your scenario.

Please review your EXIT statement to occur.

Read only

0 Likes
2,838

thank you, but what is the object is concerned by the dump ?

Read only

2,838
chkoupi

Look carefully at the top: ZCL_IM...

Read only

2,838

The object is your Zprogram - that gone into the loop and did not come out

that causes the timeout error.

There is a Do - Enddo loop.

Inside that your are looking for IF subrc = 0

If that is ne 0, - then there is no option to come out

Insted of do-enddo

you may have to re-arrange this loop statement

Read only

0 Likes
2,838

what about the ELSE in ligne 136 ?

Read only

0 Likes
2,838
chkoupi

137

First, what do YOU think about the ELSE?

Read only

0 Likes
2,838
venkateswaran.k

i have to add a stop condition ? wich one plz ?

Read only

0 Likes
2,838

sandra.rossi ELSE ?
do i just need to uncomment the last ' if ' condition ?
thnaks

Read only

Former Member
2,838

I see one logical flaw (there maybe more): if table lt_persw is initial (sy-subrc = 4) the code goes to an infinite loop, as it reaches no 'EXIT' statement within the 'DO'-'ENDDO' iteration.

Read only

RaymondGiuseppi
Active Contributor
2,838

For performance don't use a SELECT SINGLE for every date before the event, use a simple select such as

  SELECT * FROM pa2001 
    WHERE pernr = ls_new_p2001-pernr
      AND subty = 'CE'
      AND begda LE l_date
    ORDER BY begda DESCENDING.
    EXIT.
  ENDSELECT.
Read only

0 Likes
2,838

in my code, how i can stop the DO iteration please and infinite loop?