on 01-12-2010 10:59 AM
Hi,
How to debug smartforms program lines in display mode? Need help on this issue?
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jan 12, 2010 11:32 AM
Moderator message - Cross post locked
Edited by: Rob Burbank on Jan 12, 2010 11:57 AM
@kumar and nikhil,
have you even read the question?
1. he is asking about smartforms not scripts.
2. he said its in display mode not in change mode.. so you cannot use BREAK-POINT.
any ways,
just copy the code element name in the smartform, now in the SF Environment->function module name.
copy this FM name .. open in SE37.. now click search the code element name , select the main program radio button... when you get the node 'code element' then put a break point inside that..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copy the FM which smartform has generated. With this FM go to SE37 and search the text for your command line, just keep the break-point over there and start debug while executing the smartform or Transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Write 'BREAK-POINT' in smartform under Code section.
Once you execute the smartform, program will be stopped there. Then from there you can debug.
Hope this helps you.
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please search before posting
<< Cut and paste without attribution from http://it.toolbox.com/wiki/index.php/SAP_Smart_Forms removed >>
<< Please don't ask other to follow the forum rules and violate them yourself! >>
*In simple way---follow these steps:-
If you are in a non-modifiable client:
Display your SmartForm.
Go to Environment and copy the function module name.
Go to SE37 and display the function.
Go to Smartforms and copy the node name where you want to debugg.
Go to the function and search for the name in main program. Put a soft break point.*
Manas M
Edited by: Kumar Manas Mishra on Jan 12, 2010 12:05 PM
Edited by: Kumar Manas Mishra on Jan 12, 2010 12:06 PM
Edited by: Rob Burbank on Jan 12, 2010 11:52 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Smartform generates a Function Module, get name of this FM and search code lines (I suggest you copy some lines from smartform screen and search using standard function). When you find it you can put breakpointin display mode like you do for any FM.
Regards,
Edited by: Gungor Ozcelebi on Jan 12, 2010 12:05 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.