Currently Being Moderated

How to change/delete records using debug mode

Dear All,

 

Let me remind you how to do some “cleaning” stuff in ABAP tables.

 

Some of you would cry “Mate, it is not recommended by SAP!!! Never do it!!!!”

And I would reply them – “Relax and do not worry. The doctor knows what to cut”))

 

Let’s play in QA system (learn and practice in QA, after that you would use PROD)

 

If you have an authorization for debugging please follow my steps below:

 

I am based on fact that you already know WHICH record to fix.

 

(The table below is taken as example)

 

1.    Run SE11 for your particular table and find out your particular record. I usually use the Table Contents – Display :

1.jpg

 

2.    Type /h  and hit ‘Enter’

2.jpg

1.     3.   Make sure the debugging mode is switched on:

 

  3.jpg

 

4.

4. Hit ‘Enter’ again

 

5. Get the next debug screen.   Double click on word code and get the 'Variables1' tab populated:

 

4.jpg

 

6. Click on Pencil to get the Edit mode:

5.jpg

7. Now type the 'magic word' what you need.

for edition it is EDIT

for deletion it is DELE

(some other parameters also exist)

 

we are currently doing EDIT (and going to change the record):

6.jpg

 

8. Hit Enter and F8 :

7.jpg

 

9. And system will open the record. Fix it and hit Save :

8.jpg

 

10. The record after our edition:

9.jpg

 

11. If you mneed to delete the record please use the code DELE (I have taken another record for that) and hit F8:

10.jpg

 

12. system offers to delete record - confirm it:

11.jpg

and issues the following:

12.jpg

 

Now refresh your table contents and make sure the changes/deletions have been done.

 

 

Nothing special, just some technical tricks. You can talk to abaper to clarify that.

 

Please remember.

 

The debug mode is your own risk. You can damage data or even lost it.

 

 

 

Good luck

 

Regards,

 

 

4.

 

4

Comments

Delete Document

Are you sure you want to delete this document?