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

how to debug standard tcodes

hi,

i generally face difficulties while debugging standard tcodes, what method to be followed while debugging standard tcodes like "BP" , "VA02" , "FBL5N" etc...

Regards,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 09:55 AM

    Hi Santosh,

    It mainly depends on the requirement for which you debug the standard t-codes.

    1) If you go to the object list, you would find all the sub-routines used in the program for that standard t-code. You could select the proper sub-routine and put a break-point in that sub-routine, if you are able to track it.

    2) If you are not sure, then you can directly run the t-code and then put '/H'. Switch the debugger mode on. Then while debugging, you can put Watch Points at appopriate places. For. E.G. if you are looking for any errors, you can create a watch point for SY-SUBRC NE 0.

    So, its finally your patience that pays off, as it is a very tedious task to debug standard programs.

    Best Regards,

    Ram.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 09:57 AM

    There cannot be a particular method to be followed.

    It becomes lot easy if you know what you are tracking. say a particular variable some value.

    Use break points at FMs. you can also make use of tracking sy-subrc value ...

    Use Watch points. These tols make it possible to avoid going thru unnecessary code lines.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:00 AM

    Hi Santosh,

    directly run the tcode using "/H", then you can able to debug the particular standard tcodes by putting the watch points where ever u want.

    Regards,

    Sudhir K.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:09 AM

    Hi,

    Nothing special in that.

    Goto that TCode after that GIVE in commnad line as /H

    IT will goto debugging.

    Then rest of the things are same.

    Hope u understand.

    Regards,

    Flavya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 10:22 AM

    HI santosh,

    to debug the standard programs put /h in the standarad program.

    then u will go to debugger screen.

    Then from menu bar.

    Gto-->Breakpoint at statement --->perform then all will subroutines will be triggered in the standarda progra.

    Thanks

    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.