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

Reg Debugging

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 24, 2006 at 07:11 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 24, 2006 at 08:01 AM

    sir,

    again iam missing the logic.please tell what is debugging and its purpose and let me knoe the step by step processfor debugging.

    regards

    kris

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kris,

      -'Debugging' is an advanced toolset to help you find problems in your programs

      ( so the context is that there is something going wrong in your program and you want to find out what )

      -By debugging your program you can execute your program 1 instruction at the time and monitor the results of that step. Normally in this way, you can find the exact error cause and correct it.

      -So debugging is typically used by developers . Are you a developer ?

      -In SAP, you can debug all ABAP programs ( also SAP standard programs ) from the ABAP integrated development environment. You can debug JAVA programs IF you have the source code ( e.g. your own program )

      So is this the debugging framework clear now ?

      Dirk

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 04:21 AM

    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
    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.