Application Development and Automation 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: 
Read only

How to degub the module pool program

Former Member
0 Likes
1,070

Hi friends,

could anyone tell me "How to degub the module pool program"...!!

Thanks in advance..!!

5 REPLIES 5
Read only

Former Member
0 Likes
797

Hi,

just use break-point statement.Module pool debug is same as report.

L.Velu

Read only

Former Member
0 Likes
797

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...

Read only

Former Member
0 Likes
797

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

Read only

Former Member
0 Likes
797

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..............

Read only

Former Member
0 Likes
797

Hi,

When you executing module pool program write '\h'

as Tcode to degub the dialog programing

Reward Points if Usefull

Regards

Fareedas