cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms on testing server.

Former Member
0 Kudos

Dear Experts.

How to debug smartforms on testing server?

thanks

Avadhs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi..

Find here the simplest way.

Execute the smartform and copy the FM Name. Say /1BCDWB/SF12345678. With this FM Name, look for an include in SE38.

Now in SE38, add 'L' before S and add 'F01' in the end, like /1BCDWB/LSF12345678F01. This include contains the smartform's generated code. Here you can search for the particular node you want to debug and put a break point from the tool bar.

Regards,

Karthik

Edited by: Karthik S on Aug 17, 2010 12:35 AM

Former Member
0 Kudos

Dear kartik did't got ur answer plz explaine this in more detail.

Former Member
0 Kudos

Hi,

Open your smartform. In Menu bar, go to 'Environment' -> Function module name. It will give you FM name.

Copy this FM name. And go to se37. In menu bar, go to 'Go to' -> Main program.

It will take you to smartform coding.

You can put your breakpoint in this. And debug the smartform.

Thanks,

Archana

Former Member
0 Kudos

Hi..

You just need to follow these steps.

1. Execute the smartform in the SMARTFORMS transaction. You get a Function Module Name.

2. Now copy this Fuction Module Name which could be somewhat like /1BCDWB/SF00000014.

3. Now in SE38, just paste this Function Module name against the Program Name. You just need to add L before SF and F01 in the end. Just add the alphabets as it is shown below.

Function Module Name. : /1BCDWB/SF00000014

Include Name : /1BCDWB/LSF00000014F01

This particular include will contain the code for whatever we are performing in the Smartforms Nodes. So you can search for the node or for any variable you wanty to debug and put up a break point.

Hope it explains.

Regards,

Karthik

Former Member
0 Kudos

thanks karthik problem solved

Answers (3)

Answers (3)

former_member156446
Active Contributor
0 Kudos

which out any code change... you can [try this way|http://help-abap.blogspot.com/2008/10/smartforms-breakpoints.html]

Former Member
0 Kudos

hi

check function module name (menu: environment) and try to put breakpoint in se37 at this function

regards,darek

Former Member
0 Kudos

Hello

if you have code in your smartform,you can just write "break-point" in your code and the debugger will stop there.Otherwise create a code item(or whatever it's name is) and then just write that break-point inside.