cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug smartform in display mode?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

@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..

former_member181995
Active Contributor
0 Kudos

And have you read my response?

Cheers

Former Member
0 Kudos

Hi

please see the link

Thanks

Santhosh

former_member181995
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member194416
Contributor
0 Kudos

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