Skip to Content
author's profile photo Former Member
Former Member

Sorting the Itab in debugger

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 29, 2008 at 11:55 AM

    Hi Venkat,

    I dont think this would be feasible in debugger.

    Best regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2008 at 12:00 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.