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

Problem with a break-point.

Former Member
0 Likes
636

Hi people!

I have this weird problem. If I put a break-point in the code the program print in the output the value that I want but if I don't put the break-point the program don't show me in the output the value that I want.

I don't know what is.

This is the part of my code when I insert the value into a internal table.


  LOOP AT t_solos INTO wa_solos.
    IF  psummary = 'X'.
      IF s_kunnr-low IS INITIAL OR s_kunnr-high IS NOT INITIAL.
        wa_solos-sin_arrears = ''.
      ENDIF.
    ENDIF.

    IF  psummary = 'X' AND s_kunnr-low IS NOT INITIAL AND s_kunnr-high IS INITIAL.
      wa_solos-finaldz = 'F'.
    ENDIF.

    MOVE-CORRESPONDING wa_solos TO t_bsid.
    APPEND t_bsid.


  ENDLOOP.

Thanks for the help!!

6 REPLIES 6
Read only

Former Member
0 Likes
605

Can you please explain it in more detail? You have program that you execute. When you execute it without a breakpoint, it does not output a certain value, but if you put a breakpoint, stop at the breakpoint and then continue, you see this value printed in the output?

I am slightly confused. Can you please take us step-by-step as to what you are doing?

Read only

Former Member
0 Likes
605

Srinivas Adavi,

Yes, is the same thing that you write. The value that I want is in the internal table t_solos that I put then in t_bsid with the append.

Thanks!

Read only

0 Likes
605

I'd really like to see this? Anyway we can see the complete code?

Regards

Rich Heilman

Read only

Former Member
0 Likes
605

Hi Carlos,

Addition of Break-point would only stop the execution of your program till the place where you have placed it.

Addition of break-point does not play any role with the change in output..

Where exactly are placing the break-point???

Regards,

Tanveer.

<b>Please mark helpful answers</b>

Read only

0 Likes
605

As Tenveer mentioned, unless you are manipulating the values in debugging(provided you have authority to change values in debugging), your break-point should not have any impact on what you see in the output. Please let us know, what is happening to the output if you put the break-point and what happens if you don't put the break point, with an example if possible.

Srinivas

Read only

Former Member
0 Likes
605

Also, can you try putting a <b>'CLEAR t_bsid'</b> after your <b>'APPEND t_bsid'</b> statement in the loop please?