on 02-08-2008 4:05 AM
hi gurus how to debug the smartforms
1) You can write the code in smartform in program lines or in subrotines right . there you can hard code break point
break-point. or break username.
2) when you activate form function moldule will be generated right? take that function moldule name and go to SE38
let us say FM is /1BCDWB/SF00000109
then add SAPL after second slash /1BCDWB/SAPLSF00000109 and say display
now you can put soft break points wherever you need.
3) your FM is /1BCDWB/SF00000109 go to se 37 and put break points in the function module.
4) SFTRACE can be used for debugging SMARTFORMS.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
Reward points if useful
Regards,
Nageswar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai vasu,
Put a break point where you want to debug. Press F5 every time to go to next stage.
If your program is transported and if you want to debug your program. Take any one of the function module which you have used in the program. Take that function module and put in the menu Break point at---> function module. now you debug your program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
first execute that smart form
it takes u to the next screen where functional module name is present.
there is button beside execute which can be used for debugging
or go to the function module and create a break point inside the function module and execute it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI GURU
You cannot put a break-points in smartforms like in reports .
in smartforms goto system in menu bar and select utilities in that and then select debug screen option(here u have some options like debug screen, debug abap, debug system).
prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI GURU
You cannot put a break-points in smartforms like in reports .
in smartforms goto system in menu bar and select utilities in that and then select debug screen option(here u have some options like debug screen, debug abap, debug system).
prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
DEBUG Smartform:
1) 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.
2) SFTRACE can be used for debugging SMARTFORMS.
Read More here.
http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
LOGO on Smartform
1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
4) Select any picture and set its Resolution in DPI
5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
6) Set any other parameters if required, save and activate.
7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
😎 Use TCode SE78 to upload new pictures and logos.
look at Thread Dynamic Graph in smartforms
Refer the links also -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vasu,
Go to se37>give the smartform function module name>You can see the code for your smartform here. Copy any line of code or keyword from your smartform and search for it in the function module code-->Then put a breakpoint there and you can then start debugging the way you do .when the flow will come to that breakpoint it will stop.
Hope it helps.
Regds
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can put a break-point like in reports anywhere in the smartform where you have code written.
Thanks.
Dishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
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.