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

module pool

Former Member
0 Likes
1,047

Hi,

how to debug a module pool program?

10 REPLIES 10
Read only

former_member404244
Active Contributor
0 Likes
1,002

Hi,

goto flow logic of the screen and put break point.now run the tcode it will stop at ur breakpoint.

Regards,

Nagaraj

Read only

varma_narayana
Active Contributor
0 Likes
1,002

Hi ...

You can Debug module pool program in 2 ways.

1. Create the Break-points in the module pool

2. Whenever u execute the Tcode You can Enter /H in command field and press ENTER. It will turn the debugger on.

This helps you to debug particular screens .

<b>Reward if it helps.</b>

Read only

gopi_narendra
Active Contributor
0 Likes
1,002

Just the same way as you debug a report programs.

Before executing the transaction put /H

or put a break-point in the program code wehre ever you want

or put a session break point in the program

or put a break <sy-uname> in the program

Regards

Gopi

Read only

Former Member
0 Likes
1,002

Hi

Debugging Module pool program using ABAP objects is same as debugging any other report/module pool program.

Click on the Create shortcut icon on the toolbar.

In the popup window choose "System command" and in the command enter "/h"

A shortcut on the desktop would be created

Drag and drop the shortcut to the modal window to set debugging on.

Approach 2:

Create a txt file on the desktop with the following lines:

[FUNCTION]

Command=/H

Title=Debugger

Type=SystemCommandDrag and drop this file to the modal window to set debugging on.

How do I switch between the Classic and New Debugger

From within the ABAP workbench, select the Utilities->Settings Menu

Select the ABAP Editor Tab

Select the Debugging tab within the ABAP Editor Tab

Select the Classic Debugger or New Debugger radio button

Refer to this thread

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

Check these documents.

http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc

http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm

http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm

http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34

Look at the SAP help link below

http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

Reward points if useful

Regards

Swati

Read only

Former Member
0 Likes
1,002

Hi

Keep a break-point in the code(soft or Hard) in SE38 program and do the debugging. similar to the report.

When you execute the Transaction with tcode the cursor stops at the break point.

then you check the code..

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

former_member196280
Active Contributor
0 Likes
1,002

Set break point or before you execute module pool program type /h in command window and press enter it will automatically activate debugger.

Reward points.

Regards,

SaiRam

Read only

Former Member
0 Likes
1,002

Hi,

1. Either you can goto the module pool program

and open the code,

and put a break-point (by clicking RED BUTTON on toolbar)

2. Or u can run the transaction,

and enter /H

on the top left command.

regards,

Swati

Read only

Former Member
0 Likes
1,002

HI,

Write the "Break" statement for your log in ID in the PAI or PBO u want to check.

Then execute the transaction to which the screen attached.

so that u can debugg your program.

Thanks,

Nanda

Read only

Former Member
0 Likes
1,002

Hi,

After activating program enter /h in command field to activate debugging mode and performe F8 and stepwise execution of program.

Alternatively insert breakpoints in program.

Pls reward points.

Regards,

Ameet