Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug in module pool programs

Former Member
0 Kudos

hi all,

thanks for co-operation,

how to use debug facility in module pool programs pls tel me

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

6 REPLIES 6

matt
Active Contributor
0 Kudos

Set debug point in the program, run the transaction.

matt

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

hi,

refer this link

Former Member
0 Kudos

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

Former Member
0 Kudos

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