‎2008 Feb 19 9:48 AM
hi all,
thanks for co-operation,
how to use debug facility in module pool programs pls tel me
‎2008 Feb 19 10:42 AM
hi.
First assign one transaction code for running your Module pool program using OBJECT NAVIGATOR...
then there are two ways to do debugging
1.Like reports put a break-point where u want the program should stop and u want to debug..when executing cursor will stop at that point and u press F5 for line-by-line execution.
2.execute the program type /h in command bar and start executing further by pressing F8.. program is debugged from first..
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 6:21 PM
‎2008 Feb 19 9:51 AM
‎2008 Feb 19 9:54 AM
Hi
Debugging of module pool is same as reports, use /h or put breakpoint
but u shud know what u want to check
there are generally two event used in module pool
PBO
This event is used before displaying the screen,It is used to clear fields table, show table control, tabstrip and most important conditionally modify the scrren .
PAI
is used to validate the fields which are entered on the screen with database values and then fetch records from table.
i mean all values to make available in internal table
now u would be sure which part u want to debug.
<REMOVED BY MODERATOR>
Regards,
Chandru
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 6:19 PM
‎2008 Feb 19 9:56 AM
Hi,
Attach the program to t-code and then when ever neccessary keep '/h' in the command line by that the debugging will be switched on and thn u can debug ur code.
Regards
Manjari
‎2008 Feb 19 10:16 AM
‎2008 Feb 19 10:26 AM
Hi,
click on t-code that u have created for that program ,and in the command prompt where u will type t-codes type /h
and execute the program.it will debug the program from starting .
note:program should be activated before all this.
(OR)
put a break point where it is going error and execute the program
Regards,
Satish
‎2008 Feb 19 10:42 AM
hi.
First assign one transaction code for running your Module pool program using OBJECT NAVIGATOR...
then there are two ways to do debugging
1.Like reports put a break-point where u want the program should stop and u want to debug..when executing cursor will stop at that point and u press F5 for line-by-line execution.
2.execute the program type /h in command bar and start executing further by pressing F8.. program is debugged from first..
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 6:21 PM