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 debug the PAI module without having the inputs?

Former Member
0 Likes
1,519

Hi,

Iam working on one enhancement project. I don't have the test data.. I written the code as per TS and I want to test the functionality. I have written my code in PAI module and want to debug it. Is it possible to debug the data in PAI module without entering the inputs...

1 ACCEPTED SOLUTION
Read only

rajkumarnarasimman
Active Contributor
0 Likes
974

Hi geetha,

PAI module will execute even without input. Give /h command and press enter, then debug screen will appear in PAI Module then debug the same. Make sure that there is no mandatory field in the screen. If mandatory field is available, i think, it will not allow to enter into debug mode without filling the data. Correct me if I am wrong.

Regards

Rajkumar Narasimman

Hi,

Iam working on one enhancement project. I don't have the test data.. I written the code as per TS and I want to test the functionality. I have written my code in PAI module and want to debug it. Is it possible to debug the data in PAI module without entering the inputs...

3 REPLIES 3
Read only

rajkumarnarasimman
Active Contributor
0 Likes
975

Hi geetha,

PAI module will execute even without input. Give /h command and press enter, then debug screen will appear in PAI Module then debug the same. Make sure that there is no mandatory field in the screen. If mandatory field is available, i think, it will not allow to enter into debug mode without filling the data. Correct me if I am wrong.

Regards

Rajkumar Narasimman

Read only

0 Likes
974

Hi raj,

Thanq for your reply.. /h is working but it is not stopping at my perform...its stopping somewhere else...I think the screen have some mandatory fields....It is executing somewhere and it is giving the output please enter project definition value....

Read only

0 Likes
974

Hi Geetha,

  • If you have the message number, In debug mode, press F9, then it will show breakpoint dialog box. Using that we can give the dynamic breakpoints. Please give the message number under message tab and we can find the place at where error is coming.
  • If you don't have the message number, In F9 dialog box. Under ABAP Commands tab enter 'MESSAGE' and then click ok.. Press F8.

Regards

Rajkumar Narasimman