‎2008 Oct 28 8:36 AM
‎2008 Oct 28 8:49 AM
‎2008 Oct 28 8:43 AM
HI manooj,
Before posting any thred please search the thread.
Seach by Debug Smart form u will get so amny threads.
see the following link.
Steps to debug smartfrom
For debugging Smart Forms :
1) Execute ur smartform -->> Gives Function Module
2) Again Execute SmartForm(Function Module Screen).
-
>> next screen shows.
Execute and Debugging.
‎2008 Oct 28 8:49 AM
‎2008 Oct 28 9:20 AM
hi Manooj,
open the smartform, select the environment -
> functionmodule copy that function module and goto se37 paste the function module which u copied and display then set the break point where ever you want.
now u execute the smartform, then debuger will start working
‎2008 Oct 28 9:55 AM
Hi Manooj,
You can keep have the keyword as "Break-point" in the smartform's condition statement.
Then, when you execute it, the FM will leads to your break-point condition.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Gokul.N
Edited by: Alvaro Tejada Galindo on Oct 28, 2008 1:54 PM
‎2008 Oct 28 6:50 PM
Hi,
Using SMARTFORM_TRACE transaction will help you decide at what level do you want your smartform to stop in debugging - error, warning, page, etc....
But the better way would be if you can insert the hard code (BREAK-AKEDIA) where AKEDIA is ur username in the smartform, that way you will stop exactly here you want to, and a piece of advice though not recommended by many, it is very useful to have a user designated break point on the 1st line of your smartform always as this will help you as a developer to debug any smartform developed by you any where, I mean in DEV, QAD or PRD, you need not worry and can easily debug.
Best regards,
Ankit
‎2008 Oct 29 8:19 AM
Hi
i think the best way to debug one smart form is write
"break <user-name>" in each program lines in smart form....then at execution mode very time the debugger will stop to each code.....if there is no program lines in your smart form then explicitly add two program lines....1) at the starting of the smart form
2) the place is your choice....just before the variable for which you want check the value.......
Arunima