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

debugging in smartform

Former Member
0 Likes
968

HOW TO DEBUG THE SMARTFORM

8 REPLIES 8
Read only

Former Member
0 Likes
870

hai,

put break-point in initialization after that u can debugg the smartforms..

sn

Read only

Former Member
0 Likes
870

Where you can write code in the smart form, you can put in a BREAK-POINT and the smart for will stop there while executing.

Regards,

Ravi

Note : Please mark all the helpful answers

Read only

Former Member
0 Likes
870

Either write break-point in the program or

Execute the smartform you will go to the screen of SE37.

Display.Your FM generated from smartform will be here.Just search at which place you want to put the break point.Execute the smartform.

Read only

Former Member
0 Likes
870

Hi,

in smart form you can Write the Code using Program Lines. in that you can place the Break point using <b>BREAK-POINT</b> .in the Program flow it will stop exactly at that point. and don't forget to remove the hardcoded Break Point.

Regards

vijay

Read only

Former Member
0 Likes
870

Hi,

These are the two ways to Debug Smartforms

1.Put a program line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

2.You can debug the function module which generates the smartform.

Read only

Former Member
0 Likes
870

Hi,

Debugging SF:

1) Write "BREAK-POINT" in the INITILIZATION or FORM ROUTINES tabs and also in any PROGRAM LINES node.

2) Open the required form -> press TEST button in the application tool bar -> it will take u to the generated FUNCTION MODULE -> from the menu bar choose GO TO -> MAIN PROGRAM -> double click the last INCLUDE program and FIND the required line on which you want to keep the break point and place the soft break point.

Thnks and Regards,

Bharat Kumar Reddy.V

Read only

Former Member
0 Likes
870

Hai Srinivasa

SAP Script:

YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.

1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

2.You can debug the function module which generates the smartform.

Thanks & regards

Sreenivasulu P

Read only

Former Member
0 Likes
870

hi,

there is unique way of debugging a smartform

just press F5 at the call function( the function which actually calls the function module generated) in the print program. after u have done this go to breakpoints-breakpoints at-subroutine in the menu bar of the debugging screen. Now put %co1 in the subroutine selection popup. on pressing F8 will take u to the first executabl;e code in ur smartform. remember teh system gives the name to ur codes in smartforms as %co1, 2, 3... sequentially and irrespective of what names u have given. So we alwasy make it a point to specify the code names in the smartform same as the system