how can we debugging scripts and smartforms (2024)

<b>1.sap scripts</b>

<b>This can done in two ways:</b>

In the form <b>Utilities->debugger / RSTXDBUG FM for debugging script</b>

The <b>Procedure for debugging SAP script is:</b>

Generally SAP script contains the Layout and corresponding print program.

First go to <b>SE71 and enter ur script name.</b> In the same screen go to Utilities->click on activate debugger option.

Now go to <b>SE 38 and enter ur Print Program name</b> and execute the program.

Now you can debug the script Page wise and window wise.

<b>2. sap smartforms</b>

<b>1</b>.In <b>the Smartform</b>, create a Code Node and within the Code Node you can hardcode a normal abap

Break Point.

<b>2</b>.Smart debugging:--> Execute the smartform.It will open a FM in se37 screen.

--> Press Display.

--> Press find(CTRL+F).

--> Enter command here at which you want to put the break point.

--> Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.

--> Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.

On activating smartform it will generate one function moudle, take that name and go to SE37 , Put your generated FM name and display.. check the code where you want debug.. place the break point there .. come back and then execute your dirver program .. it will stop you at your break point.

<b>3.</b>

1.place SFTRACE inplace where we enter T_CODE and press ENTER.

after that press F8.

2 ./H

3 /SH

4.after generating the function module there is a button DEBUGGING

reward points if it is usefull .....

Girish

how can we debugging scripts and smartforms (2024)
Top Articles
Latest Posts
Article information

Author: Corie Satterfield

Last Updated:

Views: 6142

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.