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

Deleting the entire internal table contents at one go in debug mode

Hi All,

Is there a way to delete the entire internal table contents at one go in debug mode?

I know line by line we can do that.

At the same time I can't code the same in program(it is not required).

Please let me know ASAP, if solution exists.

Thanks in advance!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 06:13 AM

    Hi,

    In ABAP New debugger you can delete the table records at a time, by selecting all the records, let me know, do u require the answer more elaborately...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      In debugging mode select the menu option as below so that you can switch the classical debugger to New abap debugger.

      Debugging (menu option ALT+D) --> Switch to New ABAP Debugger (W).

      Now New ABAP Debugger will be switched.

      1) Now double click on the internal table that u want to delete the records.

      2) Then records of internal table will be showed on the new debugger in a table control.

      3) Now select the all the records that u want to delete at a time.

      4) Now click on the 'Services of the Tool' icon (which is placed at right corner of the debugging screen).

      5) Now a dialog box will be displayed, in that there will be an ICON named DELETE ROWS, click on that, it will ask for confimation, then click on YES.

      6) Then all the records that u selected will be deleted at a time.

      Reward points if it is helpful.

  • Posted on Jun 18, 2008 at 06:19 AM

    go to structure editter,

    there u can delete all the records...

    in the debugging mode...

    go to->Display Data Object-> Structure Editter

    Reward if the ans is helpful...

    Edited by: Rudra Prasanna Mohapatra on Jun 18, 2008 8:19 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 06:23 AM

    CRM,

    There is no way to delete at one go.

    but only thing is that you have to select all line at one than only you can delete itab at one.

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 06:23 AM

    Hi,

    may be it is not possible. So you have to change code.

    But you can do it safe:

    DATA:

    itab_del.

    • set break point here and change itab_del for delete

    IF NOT itab_del IS INITIAL.

    DELETE itab.

    CLEAR itab_del.

    ENDIF.

    regards

    Walter Habich

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 06:37 AM

    In the debug mode (new debugger) double click on the int table which u want to delete. In the right hand side u willl see one buttion SERVICES OF THE TOOL.

    click on that , there u see delete table(free table).

    At one shot u can delete the int table

    with regards

    anand

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 06:46 AM

    hi,

    I suppose this option is only available with the new debugger (ERP 5.0 / 6.0).

    I have heard you can switch between old and new debugger in settings.

    Regards

    Walter Habich

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2008 at 06:48 AM

    Hi,

    u can delete the itab entries at one go itself while debugging.

    select one entry from the itab right clcik and do delete table(free).

    This clears the itab.

        • reward if useful

        Regards,

        Ruby.

        Add a comment
        10|10000 characters needed characters exceeded

      • author's profile photo Former Member
        Former Member
        Posted on Jun 18, 2008 at 07:07 AM

        Hi,

        The steps are:

        1)In the new debugger go to the tables tab and give the internal table name.

        2) right click on any one row .

        3) you'll get option delete table (free table),.

        4) click on it and say yes wen a pop up window appears it'll delete all the records of ur internal table in one go.

        Regards,

        Richs

        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.