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

hai to all,

i need the debugging information.. for the function modules for how to do the debugging..

please iam not able to get the debugging..

how to find out where the exact error is coming.

iam working on interfaces for the bdc throug function modules ..

can anybody help for this

11 REPLIES 11

Former Member

Former Member
0 Kudos

Hi

if you want the debugging then enter <b>/h</b> in the command bar, then it starts the debugging from the fisrst statment onwords

if you know the place where you need to see then put the break point and and execute, then process will stop at that place and you can see .....

you can even use BREAK_POINT key word to put the break point in a perticular place where you want to debug

Thansk

Sudheer

0 Kudos

how can we see where the process is stoped,

is there any simble like that

please clarify it

0 Kudos

No u have to manually bebug and check .......there are various tech to debug if u want i can send u the doc

0 Kudos

u have to debug and see where the process stopped. otherwise put a breakpoint before the process where u feel error may come and debug frm that point only.

Former Member
0 Kudos

hi,

give email address i will give u advance debugging tech doc

0 Kudos

pavansap@hotmail.com

sagapavan@rediffmail.com

Former Member
0 Kudos

Hai Franklin

Breakpoints can be of different types.

Hard Break-Points : written in the code like

'Break-point 'Login- User Name''.

2)Soft Breakpoints

This is placed by placing the cursor at the line required by u and click the 'STOP' button or CntlShiftF12 in the std. menu

while executing your report the execution will stop at your break-point and will execute statements one by one

by using F5,F6,F7 & F8 function keys

3) By giving the command '/h' in the command box the debugging mode is opened from the starting of the program.

Thanks & Regards

Sreenivasulu P

Former Member
0 Kudos

hi,

type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute.

Third option in certain cases is to check for sy-subrc <> 0 and proceed from there by making it 0 by updating the sy-subrc in the debug editor and see how the program behaves if the value is what you enterd in the debug screen.

Former Member
0 Kudos

Former Member
0 Kudos

Hi,

if you are in the debug mode.. one arrow mark (->) will come.. it is nothing but you are there in that step or line ... by seeing that arrow mark you will know where you are ....

1) press F5 for line by line execution

2) press F6 if you do not want to go inside of a Function module or a sub routinline

3) press F7 if you want to comeout from of a FM or a subroutine

4) if you want to execute the program directly press F8

Thanks

Sudheer