cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform production issue

Former Member
0 Kudos

Hi,

I have to debug a smartform which is in production system. So, that I con't declare a static break point by 'Break username'.

So,Could anyone explain about the possible ways of debugging of a smartform and various advantages of invidividual ways of debugging.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Sandeep,

If you have an authorization for smartforms in production.

Go inside the smartforms locate the command where you think you should put the break point.

copy the command, execute the smartforms , you get a function module name, go inside the FM,

find the command, put a break point there. Now execute your print program.

Also check the below link -

http://sap-abap-faq.blogspot.com/2008/07/how-to-debug-smartforms.html

Regards,

Pankaj

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

just write break-point in the program line(is the code) it will turn on debugger.

check below link

https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=debug+smartform&adv=false&sortby=cm...

Regards,

Madhu

Edited by: Madhu Babu on May 18, 2009 2:11 PM

Former Member
0 Kudos

Hi,

Smartforms will have a underlying function module. Once we execute the SMART FORM it will generate one funtion module. Go to SMARTFORMS transaction and press F8, this displays the function module.

You can place session breakpoints here in the function module and debug.

Thanks & Regards,

Venu

Former Member
0 Kudos

Hi,

Once when you execute the smartform it will generate the function module.

Dont go into the function module.

Once the function module is generated in the menu options GOTO->MAIN PROGRAM

it will lead to screen where includes are present.

you can double click on include it will lead to the screen where you wrote the coding part.

There you can put a break point at desired location.

I hope this will resolve your problem.

Regards

Raj

Former Member
0 Kudos

Hi,

Execute the smartform..function module will be generated.U can keep session breakpoint for this and can debug with out the need of a static brak point...

Regards.

Former Member
0 Kudos

Hi,

When we execute a smartform a FM is generated. GIve a breakpoint inside that FM. it will work.

Former Member
0 Kudos

Hi

Refer-

Former Member
0 Kudos

Hi,

Smartforms will have a underlying function module. Go to SMARTFORMS transaction and press F8, this displays the function module.

You can place session breakpoints here in the function module and debug.

Regards

Former Member
0 Kudos

Hi,

Keep a soft breakpoint in the FM generated for the smartforms and at the specific node where you want to check.

Regards,

Ram