‎2008 May 20 6:52 PM
‎2008 May 20 6:55 PM
‎2008 May 20 6:55 PM
‎2008 May 20 7:32 PM
my fav way is to obtain the Smartform FM name - go into your Smartform, click on Environment -> Func Module to get the name of the generated FM
NOTE: since the FM is generated by SAP, it will be different in your DEV/QA/PRD servers
when you have the FM, go to SE37 and perform a FIND for whatever code you are looking for - you need to click on "In Main Program" though, to find the code.
‎2008 May 21 6:50 AM
hi,
Activate the Smart Form.
Go to Environment -> Function Module Name and get the automatically generated function module for the Smart Form.
Go to SE37 and display Attributes of the function module. Get the program name under general data tab.
Go to SE38 and display the program. In the last include ( INCLUDE /1BCDWB/LSFxxxxxxxxF01) contains the coding inside the Smart Form.
Set a break point in the program and DEBUG.
pls reward if helpful.
‎2008 May 21 6:56 AM
1) DEBUG Smartform:
1) One way to debug smartform is to debug the Function Module of that smartforms.
If you want to debug particular smartform 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 smartforms, it will stop at this breakpoint and you can debug onwards.
2) SFTRACE can be used for debugging SMARTFORMS.
‎2008 May 21 7:13 AM