Hi gurus,
can any body guide me how to debug a program.i had gone through many documents n even sap help.but i am unable to find the logic.so please send me a doc or guide me how to debug debugging so that a lay man can undersatnd it.
hi sree
enter in transaction field "/H" and the debugging mode will start. Other way is to analyse the ABAP programm in advance and place a break-point at the place you are interested in. Now you can go step by step through the ABAP-Code
By doubleclicking on a field you can see the content in one of the 4 fields at the bottom of the screen. you can also display the content of the tables.
Of course it is helpfull when you can read (=understand) ABAP-Coding. By doubleclicking on a command you can place a temporary break point.
If you have good authorisation, you can even change the content of a field. (You should never do this in a productive system!) This is very helpful to test the reaction on certain values.
If you are a ABAP-Beginner, debugging can be very hard to learn because it is easy to get confused by the deep structure of typical SAP-ABAP-Code. In this situation it helps me to open in an other window the same programm in SE38. Here you can navigate much easier through the code and can also access the F1-Help for commands and syntax.
Hope this helps
Regards
Rauno
Hi Sree Krishna,
Let me start from scratch, Behind every tcode there is a program running, which contains all the screen design, program logics and so on, if you want to see the step by step execution of the program, u need to use this tool called debugging, so you can actually see the flow of program, how the variables are filled, how the fields are modified and how they are updated in the database, u need to be a technical consultant(ABAP) to understand the process clearly because the source code will generally be in ABAP.
Regards:-
Santosh.D
Add a comment