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

Deletion of all records at a time

Hi,

I am doing debugging in my program. In my table i have 6000 records. Is there any process to delete all the records at a time in a debugging mode.

Regards

Srinu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:31 AM

    No, You can not delete more than 1 record while debugging.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:33 AM

    HI

    Thats not possible.

    Why dont you modify ur where condition in Debugging to fetch selected records.

    Hope tht helps.

    Praveen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:34 AM

    hI

    NO IN DEBUGGING MODE YOU DON'T HAVE ANY ACCESS TO DELETE OR ADD RECORDS FROM TABLE ,DEBUGING JUST CHECK THE RESULT OR PROGRAM AT RUNTIME

    WITH DEBUGGING YOU CAN SEE THE STEP BY STEP WHAT AHPPENING AND YOU CAN CHANGE THE VALUES ALOS BUT THAT DON'T REFLECT IN YOUR PROGRAM

    REWARD IF USEFULL

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:37 AM

    Hi Sreenivas,

    If you are using new abap debugger.

    Just double click on the internal table name in debugger.

    And double click on Internal table ICON in <b>tables</b> tabstrip.

    After getting the table quantities visible. Just click on <b>Services of the tool</b> button on right vertical tool set in tabstrip.

    It will open a popup window in that window click on last option that <b>delete entire/part of the table</b> after clicking it will ask you number of rows need to be deleted

    just see the internal table rows based on index displaying in the tabstrip itself and mention the number of rows it will delete all the rows you mentioned....

    Let me know if not reaching you....!

    Ok Have a great day....!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kasturi,

      I am using new abap debugger. After clicking the service of the tool butoon i dint find the option like delete entire/part of the table. I find the option like change the row content only.

      Regards

      Srinu

  • Posted on Dec 03, 2007 at 06:37 AM

    Hi,

    I dont think its possible, u have to delete manually one by one row

    Regards,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:39 AM

    This will delete all the records in your table...

    DELETE FROM <TABLENAME> WHERE 1 = 1.

    If you want to delete all the records in the debugging mode...use"Delete all" option in the menu "table entry"...(incase of missing authorization, skip the authorization check in the debugging)

    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.