How to Debug a SAP Smartform?

To debug a smartform in quality or testing system, go to tcode SMARTFORMS. Enter the name of the smartform if you know or find the name of the smartform name from NACE and display the smartform.debug-smartforms-1

Find the statement in the smartform where you want to place the break-point.debug-smartforms-2

Go to menu Environment –> Function Module Name to get the name of the function module for the Smartform.debug-smartforms-3

Copy the function module name in the popup. debug-smartforms-4

Go to tcode SE37 (Function Builder).

debug-smartforms-5

Enter the name of the function module and go to Menu Goto –> Main Program.debug-smartforms-6

In the Main Program click on FIND to search the statement where you want to place the break-point.debug-smartforms-7

Enter the text of the line where you want to place the break-point in the FIND popup.debug-smartforms-8

Place the break-point on the desired line.debug-smartforms-9

Now run the driver program, the control stops at the break-point and you can analyze the smartform.debug-smartforms-10


1 Comment

Comments are closed.