Change / Delete the DDIC record in HR master through debugging mode
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.
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.
Goto transaction code SE16
Enter table name PA0001 and click on table contents (F7)
Enter employee number and click on execute
You see the next screen ‘debugger screen’
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