on 01-17-2007 1:48 PM
Dear All,
Please tell me how to debug a smartform and how to get the fields value for the
particular window.
Say i wish to see the value and the field name for ADDRESS window for INVOICE
(Output Type: RD00).
Here i am not able to debug the smartform and also to see the values contained in those respective variables !!!
Seeking your help as soon as possible !!!
Regards,
Virendra
Hi,
if you want to check the entries in any particular window, add a code lines node and insert the break-point or break (username) command.
The control will stop there and you can check the values.
Regards
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are Different ways to debug a Smartform
1) When editing the smartform, you can get the function module name (which is generated by the smartform definition) by Environment > Function Module Name from the menu.
In the function module, you can search for the relevant code you are trying to debug. It is helpful to search for names of variables etc.
2) Put a Break-Point <User name> in the Code lines inside the Smartform
BREAK <USERNAME>.
Then at the time of print/ preview the program stops there.
Example : If you set the break point in initializationas
BREAK <USERNAME>.
Program stops at break point. After that use Serach and set more break points.
-
>Search the program logic/Textelement/Address via search and set the break point at that code.
3) -
>Search the program logic/Textelement/Address via search and set the break point at that code.
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
run the smartform with break point in the form program lines.
u can stop it at desired place.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1) DEBUG Smartform:
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.
Set the break point in initialization(Global Definitions--> Initialization) of smartform as :
BREAK <USERNAME>. --Works for particular user.
Please don't use BREAK-POINT this will apply all the users who are testing the smartform.
Program stops at break point. After that use Serach and set more break points.
-
>Search the program logic/Textelement/Address via search and set the break point at that code.
Also check...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.