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

Debugging with /h - how it works

Hi All,

When i type /h followed by the trasaction code, i get a message saying debugging is switched on. I would like to know how it works. In SE38, i am able to execute a query with debugging & put watcpoints & observe how the program functions, how can i achieve the same using /h

Hope my question is clear, await inputs.

Vivek

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 04:53 AM

    Hi

    <b>Running a Program in Debugging Mode</b>

    You can start the Debugger without previously having set breakpoints. This is the best procedure to use when you want to test a program right from the beginning. It is also useful if you do not know the program very well and therefore are not sure where best to set breakpoints. You can start the Debugger as follows:

    From the Object Navigator Select a report or transaction and program and choose Program ->&#61472;Test &#61614;&#61472;Debugging.

    From the ABAP Editor Choose Program -> Execute -> Debugging (or the Debugging pushbutton).

    From any screen Choose System -> Utilities -> Debug ABAP.

    <b>From any screen Enter " /h " in the command field.</b>

    for every report program normally we will creat a T-code by useing that T-code you can call the selection screen and there put /H and carry on

    <b>Reward if usefull</b>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Naresh & Naimesh,

      Thank you both for that. I now have the trace output & i do see EKET table featuring in it. In Object Name i see ATP_EKET & Op. it has three options i.e. PREPARE, OPEN & FETCH. I am not able to figure out where it is actually writing into this table. The program is SAPLATP2. Can you please check & let me know where it is actually splitting the received quantity & writing into the respective delivery schedule line.

      Await inputs.

      Vivek

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 04:36 AM

    write /h on where u specify tcode and press F8.debugger 'll switch on.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 04:37 AM

    Hi,

    Your question is somewhat not clear.

    It is meant for starting the debugging a program at a specific stage.

    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.