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: 

Debugging

Former Member
0 Kudos

without debugging key how can i debug function module?

Can anybody please share this information?

10 REPLIES 10

Former Member
0 Kudos

Hi,

You can debug by T code /h

and then execute fn module.

Former Member
0 Kudos

hi rajesh,

Using debugging key makes the processing slow.So in abap that concept is rarely used.Instead use any of the following

1.Use /h in command field before taking any action in the program

2.By setting up a breakpoint and executing the program

3.From the ABAP editor initial screen by pressing the debug button

4.From the Object Navigator (SE80) Select a program and 5.choose Test/Execute from the Development Object menu. The Choose Execution Type dialog box appears. Choose Debugging.

Note:-

A maximum of 30 breakpoints can be set in the ABAP debugger

bpawanchand
Active Contributor
0 Kudos

Hi

YOU can use a BREAK-POINT ICON(STOP)

Can you be more clear with the question

Regards

Pavan

Former Member
0 Kudos

HI,

Also, you can write statement in function module:

break-point.

before the code you want to debug.

Former Member
0 Kudos

hi,

go to sourcecode of function module and put

Break <Usrname/id>

Rgds.,

subash

Former Member
0 Kudos

hi,

use braek point.

or

use T code /h

Former Member
0 Kudos

as told by others also you can put a hard coded break point in your FM with the Key word:

BREAK-POINT.

refer to the link for more details on break point:

http://help.sap.com/saphelp_nw70/helpdata/en/c6/617ccde68c11d2b2ab080009b43351/content.htm

http://help.sap.com/saphelp_nw70/helpdata/en/c6/617cbee68c11d2b2ab080009b43351/content.htm

With luck,

Pritam.

former_member787646
Contributor
0 Kudos

Hi

Go to TCode: SE37 and enter the function module name and type "\H" in the command field on the top.

It will activate Debugging mode for that function module.

Hope this would help you.

Murthy

Former Member
0 Kudos

Hi

yes we can debug a function module, either in function module place a breakpoint where u think there is problem or use Tcode /h .

hope this helps you.

thanks,

dhanashri

Former Member
0 Kudos

Hi,

In SE37 open the FM in display mode, use break point button to mark a break point wherever u want to start the debugging and excute directly using F8 or execute the program in which the FM is called.

Alternatively u can use /h + enter before executing the FM.

Hope this solves it.

Thanks,

Hitesh