cancel
Showing results for 
Search instead for 
Did you mean: 

hi gurus how to debug the smartforms

Former Member
0 Kudos

hi gurus how to debug the smartforms

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (7)

Answers (7)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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 -

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

You can put a break-point like in reports anywhere in the smartform where you have code written.

Thanks.

Dishant