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

ABAP

Former Member
0 Likes
617

1.How many Break points possible in the abap program?

2. How can debugg a smartform?

3.In script if we want to wrint in form of 1(2),2(5) and so on.

what is the command to be used.

Thanks

Srikanth B

5 REPLIES 5
Read only

Former Member
0 Likes
598

For debugging -

1. Write BREAK POINT in the code window.

2. Put a break point on the call function in the driver program

3. Put a break point in the generated Function module.

OR

1) DEBUG Smart form:

1) One way to debug smart form is to debug the Function Module of that smart forms.

If you want to debug particular smart form node that the solution would be,

insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

So whenever you call the smart forms, it will stop at this breakpoint and you can debug onwards.

2) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

OR

First go to smart form transaction and then press F8, then the windows change to the function of the smart form, then click in display and then click in find, and choose the control program and find a part of the source code and put a break point.

OR

Four ways you can debugging.....

1. place SFTRACE in place where we enter T_CODE and press ENTER.

after that press F8.

2. /H

3 /SH

4.after generating the function module there is a button DEBUGGING

Reward if useful

Read only

Former Member
0 Likes
598

hI

WE CAN PUT ANY NUMBER OF BREAK POINTS IN THE abap PROGRAM

AND SMARTFORM DEBUGGING

Method 1.

Goto SE37 and give the function module name of a Smartform.

Open the Function Module

Goto  Main Program 

It will display three includes:

First Include will have the Global Data Declaration.

Second Include will have the Form Interface.

Third Include will have the Main Program.

Open the third Include and set the Break-Point wherever necessary

Method2.

In same way we can do it through transaction SE80.

Read only

Former Member
0 Likes
598

ANS 1) MAX NO of breakoints in abap program is 30

ANS 2) In order to debug a smartform

do the following:

1 Note the function module name of the smart form.

2. in se37, suffix l(small L) after the last '/' in the function module name and suffix f01(Fzero1)as last 3 Characters of the function module name.

3. run the function module. all the smartform will be there with the code.

4. put the breakpoint where required in the code.

5. run the smartform using the transaction, it will enter the debuggging mode.

U CAN ALSO FOLLOW THE THREAD

ANS 3) FOLLOW THE LINK

www.sap-img.com/sapscripts/a-sample-sap-scripts- reports.htm

Do reward if useful

Read only

Former Member
0 Likes
598

Hi,

1. Total 30 break points u can place in ur Abap program.

2. Yes , u can debug the smart form.

1. goto --smartforms

2. system- utilities--debug abap.

Regards,

kavitha.

Read only

Former Member
0 Likes
598

How many Break points possible in the abap program?

2. How can debugg a smartform?

3.In script if we want to wrint in form of 1(2),2(5) and so on.

what is the command to be used.

1.maximum no. of breakpoints possible is 30.

2.from the SMARTFORMS,goto SYSTEM>UTILITIES> DEBUG screen/DEBUG system/DEBUG abap.

or you can keep breakpoint for the function module

or from the Function module which is generated after the activation of smartform,

goto SYSTEM>UTILITIES> DEBUG screen/DEBUG system/DEBUG abap.

regards,

vineela