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

Debugger and conditional operations

Former Member
0 Likes
1,053

Hello.

I like the new conditional operations and the other new functions.

I often use the value-operation and got a negativ comment from someone who tried to debug it.

Example:

    try.

        rt_result = value #( for <ls_exprice>  in gst_exprice where ( anlage = iv_anlage                                                                  

                                                                                                       and operand = gst_mapexpr[ preis = iv_preis ]-operand

                                                                                                       and bis >= iv_begabrpe

                                                                                                       and ab <= iv_endabrpe )

                                        ( twaers = iv_twaers

                                          preisbtr  =  <ls_exprice>-betrag

                                          .............

                                          .............     ) ).

      catch cx_sy_itab_line_not_found.

    endtry.

Question: Is there a way to debug it or is there no way like it is with macros?

Regards

Andrea

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,012

Hi Andrea,

You have to use the "Step" debugging option to debug the FOR statement.

BR,

Suhas

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,013

Hi Andrea,

You have to use the "Step" debugging option to debug the FOR statement.

BR,

Suhas

Read only

Former Member
0 Likes
1,012

Hi Suhas,

for the step debugging (F5) is it one comand.

That means you can not go with single steps through the FOR-command.

Regards

Andrea

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,012

Sorry for the confusion, i meant setting the "step size".

I have not found this option still in Eclipse.

Read only

Former Member
0 Likes
1,012

That's it

Thanks.