12-29-2014 8:12 AM
Requirement : - I want to debug particular node value how can I set break or stop point so that it directly go on target node . and You can See in following Image there is no program line in window ( Node is Belong to Main Window).
12-29-2014 8:29 AM
Hello Dheeraj,
Go to smartforms and click on execute button then it will take to this screen then click on display button.
Then you will get this following screen and click find button .
Now enter the field name and make sure In Main Program radio button is clicked and press enter.
Now code in which is used is displayed and you can keep the session break point.
12-29-2014 8:20 AM
Hi Dheeraj,
If you want to debug a smartform means , activate the Smartform and then execute it will give the Function module go to that function module in that third include having the smart form data, or please go through the below links.
http://wiki.scn.sap.com/wiki/display/ABAP/Easy+Step+To+Debug+a+Smartform
http://scn.sap.com/thread/130855
Regards,
Krishna
12-29-2014 8:24 AM
If its DEV environment and you can make changes add Static breakpoint before the node by inserting a program line. Else you have to put breakpoint in the function module of SF.
-Satya
12-29-2014 8:25 AM
It seems you are in development system.
You can put a break point. Simply adding a node of code (Flow Logic-> Program lines) above the node ( text editor you have shown). In the code put the code as BREAK <your user name> or BREAK-POINT. When you stop you can the value of the variables or something u want to check in the debug mode). Please remember to remove the break point when you transport to other system.
Also you can check the genearated function module (SE37) of the smart form and check the specific place you where the node is called.
12-29-2014 8:25 AM
Hi Dheeraj,
Go to the main program of the FM generated for the smartform. Innside that go to include F01. Search for term 'PROD_QTY'. you can put breakpoint at below statement that you will find in search.
PERFORM %WRITE_TEXT USING 'PROD_QTY' SPACE SPACE 'P' SPACE %INPUTFIELDS %TEXTAREA.
12-29-2014 8:28 AM
Hi,
As per your screen shot, seems you want to debug a particular text element of a particular window.
Directly you can not put a hard break at this place, as this is a Script editor.
Best way is go to your Smart form FM , search for the respective window or text element, keep a break point over there.
After executing program will stop at particular window/text element, now you can keep debugging by pressing F5 and see the import export values from the text element.
Thanks,
12-29-2014 8:29 AM
Hello Dheeraj,
Go to smartforms and click on execute button then it will take to this screen then click on display button.
Then you will get this following screen and click find button .
Now enter the field name and make sure In Main Program radio button is clicked and press enter.
Now code in which is used is displayed and you can keep the session break point.