‎2006 Jul 10 10:48 AM
‎2006 Jul 10 10:54 AM
hai,
put break-point in initialization after that u can debugg the smartforms..
sn
‎2006 Jul 10 10:55 AM
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
‎2006 Jul 10 10:58 AM
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.
‎2006 Jul 10 11:00 AM
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
‎2006 Jul 10 11:00 AM
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.
‎2006 Jul 10 11:08 AM
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
‎2006 Jul 10 11:21 AM
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
‎2006 Jul 10 12:03 PM
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