on 05-04-2009 9:42 AM
Hi,
How can i debug the smartforms in runtime. Can i debug at end user level? If possible how?
Thanks & Regards,
Abhijit
Write explicitly 'BREAK-POINT' from where u want to debug in the form....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can i debug the smartforms in runtime
Hi,
What i have understood from ur query is u dont want to put 'Breakpoint' statement in smartform but want to check it at runtime .
Yes it can be done.
Steps to debug a particular node:
1. Execute the required smartform and take the function module name from there,do not enter into that function module.
2. in SE38 search for programs by the function module name,
for eg., if the func module name is /BCDWB/SF00000024 then search parameter for f4 would be
/BCDWB/SF00000024, this would give u 4 to 5 prgs in the search list,
these are the include files which it create for the same smartform .
out of this open the prg with the name /BCDWB/LSF00000024F01 in SE38.
3./BCDWB/LSF00000024F01 - this include file actualy containes the code that we type inside smartforms.
every node or the windows that is added to the smartform is coded in FORM...ENDFORM ,
inside this include file.
4. FORM look like this .
FORM %C01.
NODE CODE5 - this is the name of the node in smartform
for the prg line node 'code5',name of the node, coding is inside this form.
so u can easily put a break point here at this point .
ENDFORM.
like this for every node the FORM is created , u can search for required node and but a break point.
I hope this will solve ur problem.
Regards,
Edited by: Vishal Chavan on May 4, 2009 11:41 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto tcode smartforms enter the form name and press the F8 then you will get one Functiona module like /1BCDWB/SF0000038 , and goto SE37 dispaly FM anf put break point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
yes , you can debug at end user level. As in your previous post you mention that you know how to put a break-point in smartforms. When you put that you can check the step-wise process at runtime.
Inspite of that i again write here the process for putting break-point.
Via Flow-logic- Program lines - Pass i/p parameter - write 'Break-point' .
Activate it and than run transaction.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
write '/h' in command field at the leftmost corner of the sap screen.
It will switch on debugging mode..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Three ways of debugging the smartfrom..
1. Hardcode the BREAK-POINT:
2. Breakpoint using BREAK user-name:
3. Breakpoint on the fly:
Refer to this link..[Debugging Smartfrom|http://help-abap.blogspot.com/2008/10/smartforms-breakpoints.html]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
debug the Function Module of that smartform.
(OR)
write a ABAP line and breakpoint above where you want to debug ,then with that breakpoint it starts debugging.
Regards,
jaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to active debugger. Menu bar ->utilities.
Or
put add this statement at the beginning of initialization "BREAK POINT."
or BREAK <your id> .
and after completing the above things run your tcode .
Hope this will solve your problem.
Cheers,
Suvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.