Skip to Content
author's profile photo
Former Member

debugging

Hi,

experts please explain how do debug an report and script.

regards,

vijay.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    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 comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    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 comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    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 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

  • 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 comment
    10|10000 characters needed characters exceeded