Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor

Hello All ,

Below information is basic info on how to change the record / how to delete the record via debugging mode .

Example -  Change / delete one record from Info type 0001 (PA0001) Via Debugging mode.

Debugging: SAP provides a very powerful debugger, knowing all its features would make debugging fun and fast. Two ways to do the debugging in SAP .The classic Debugger runs in the same roll area of the same external mode as the application you are analyzing. The new Debugger, on the other hand, requires an additional external mode. The use of a common mode has certain handling advantages as well as advantages with regard to resource consumption.

There are certain interactions between the application and the Debugger that   enable only very limited options for the layout of the user interface in the classic Debugger.

  • Debugger and debuggee run in the same (internal) session
  • The New Debugger is started in a separated session, after prompting “/h”
  • The debuggee is inactive while the debugger is active.

Purpose of debugging: Debugging is the way to find the root cause of SAP transaction behavior (e.g., finding a reason why a certain value in a field was updated or determining why users receive an error, warning, or abnormal termination message during the processing of a transaction).

Use it to check the program logic and to find errors in the source code of an ABAP program

debug a program by entering ' /h ', before executing.

Key functions:

Single step (the F5 key):When you click this icon, the debugger control moves to the next line of code in debugging. If the next line is a call to another program, (e.g., the function module), then the control shifts to that program.

Execute (the F6 key): When you click this icon, the debugger control moves to the next line of code in the same program only, without going inside the code of the function module or program being called in the line of code in which you click this icon.

Return (the F7 key): When you click this icon, the debugger control returns to the calling program. This icon is useful when you are in a loop or inside a function module or program called from the main program and you want to return to the main program.

Run/Continue (the F8 key): When you click this icon, the debugger control moves to the next break point set, if any. Otherwise, the debugging is switched off, and the program is executed completely.

Processing Flow:

Goto transaction code SE16

Enter table name PA0001 and click on table contents (F7)

Enter employee number and click on execute

Select one record and enter “/h” in command bar.

Getting the message on the bottom of the screen.

Than click on"

You see the next screen ‘debugger screen’

Double Click on “SNOW” in left side ,  you can find pencil symbol in right side click on that icon ,Now the table entry is ready to change the data base table record or delete the record by using the functions “ EDIT

Remove value “SHOW” and enter EDIT or DEL and click on F8.

Now all fields are editable , you can change the field values and save it .

Validate the same field value in table PA0001.

If you enter “DEL “ , the table entry should be deleted from the data base table.

Any HR master data inconsistency found in your HR master - Run the reports

RPUFIXDS- Repairing Data Sharing Inconsistencies

RPUSCNTC - Find Inconsistencies in Time Constraints



Labels in this area