‎2008 Feb 04 6:40 AM
Hi friends,
could anyone tell me "How to degub the module pool program"...!!
Thanks in advance..!!
‎2008 Feb 04 6:49 AM
Hi,
just use break-point statement.Module pool debug is same as report.
L.Velu
‎2008 Feb 04 8:20 AM
Rajesh,
You can do in 2 ways.
1. After exceuting the program put "/h" on command
fields exceute.
2.add in code "break-point" statement from where(which code) you want to debug then execute the program.
Don't forget to reward if useful...
‎2008 Feb 06 4:21 PM
Hi Rajesh,
Debugging module pool porgramming is similar to a report but you can't keep breakpoint in the screen painter(SE51) directly.
Instead you need to keep break point in the modules of either PBO or PAI and the debugging will continue from the point where you kept the breakpoint.
Thanks,
Anil
Please reward if helpful
‎2008 Feb 07 9:38 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.
Rewards if helpful..............
‎2008 May 02 12:05 PM
Hi,
When you executing module pool program write '\h'
as Tcode to degub the dialog programing
Reward Points if Usefull
Regards
Fareedas