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

Sorting the Itab in debugger

Former Member
0 Likes
1,578

Dear all.

I have an issue in debugging.

we are using ECC 6.0.

I want to sort the internal table in the debugging.(old or New).

How can I do this.

Thanks in advance,

Regards,

Eswar.M

2 REPLIES 2
Read only

Former Member
0 Likes
837

Hi Venkat,

I dont think this would be feasible in debugger.

Best regards,

Prashant

Read only

Former Member
0 Likes
837

Hi Vekat,

You cannot sort the Internal table during debugging. Its better to just put a condition on the code or set a flag and while debugging you can change the flag value so that it can go inside the flag and execute your sort.

Ex.


IF FLAG = 1.
  SORT ITAB BY MATNR.
ENDIF.

Set the Flag = 0 initaially and while debugging set this value to 1 it will go inside the condition and do the sorting for your requirement.

Thanks,

Chidanand