12-18-2008 9:51 AM
hi,
i generally face difficulties while debugging standard tcodes, what method to be followed while debugging standard tcodes like "BP" , "VA02" , "FBL5N" etc...
Regards,
12-18-2008 9: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.
12-18-2008 9: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.
12-18-2008 10:05 AM
thank u ..
regarding sub-routines uses, shoud i go to se80 first,and put the breakpoints ???
12-18-2008 9: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.
12-18-2008 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.
12-18-2008 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
12-18-2008 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
02-28-2023 4:08 AM