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

debugging

Hi,

experts please explain how do debug an report and script.

regards,

vijay.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Oct 05, 2005 at 06:47 AM

    Hi,

    For report there are many ways.

    1. Take tcode SE38 and go inside the report. On the application toolbar you can find a button called 'Stop'. Using this you can put a soft break point. Next time when the program runs, it will stop there.

    2. From the selection screen of the report, in the command box type '/h' and then press execute. This will take you to debugging.

    3. Hard coding break point. Insert the command BREAK-POINT or BREAK <username> in your code.

    For debugging SAPScript. Go to SE71 and take the menu Utilities -> Activate Debugger. This will activate script debugging.

    Kindly assign points if this is helpful.

    Cheers

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 06:51 AM

    Hi,

    Can I know report means Script print prog or normal report.

    Script:In SE71 give your form name and in Utilities-->Active debugger.

    Then put a break point in your print prog where ever you want to stop it.

    After that you need to go to your transaction like VF03/../..etc for Invoice you need to execute it by giving Outtype.

    Then your print prog and form will debugg step by step.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 08:08 AM

    simple way is enter /H in comman prompt and enter.

    after that whatever you will do , will be debug mode

    hope this help

    regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      Enter /H in the command prompt.

      Then press F5 for line by line debugging.

      F6 for skiping the function modules.

      F7 for exiting from a function.

      F8 to execute the program inside a debugging mode.

      Regards,

      Baburaj

  • Posted on Oct 05, 2005 at 10:01 AM

    Hi,

    Check this link

    http://www.sapdevelopment.co.uk/tips/debug/debug_popup.htm

    To debug a program in foreground just enter the data in the selction screen and then before pressign F8 enter /H then enter> F8.

    U can also write

    <b>break <userid></b>

    in ur code where u want to break.

    OR u can use <b>

    BREAK-POINT

    </b>. in ur code.

    Or u can go to ur program and u can see a stop button place the cursor in the line where u want to break and press the button.

    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.