Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

debug script

Former Member
0 Likes
612

how to debug scripts.

4 REPLIES 4
Read only

Former Member
0 Likes
588

Hi,

GO to SE71.

In the menu..ULITITIES -> ACTIVATE DEBUGGER.

Now execute the transaction that prints..

The debugging mode will be enabled..

Thanks,

Naren

Read only

Former Member
0 Likes
588

Hi

Run trx SE71: Utilities->Activate debugger

After activing debugger run your print.

Max

Read only

Former Member
0 Likes
588

Hi Rakesh

For Debugging SAP Scripts & Smartforms as follows

SAP Script:

YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.

1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

2.You can debug the function module which generates the smartform.

Regards

Naresh

Read only

ferry_lianto
Active Contributor
0 Likes
588

Hi,

They are two ways to debug the SAPScript.

1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.

It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.

2). Another way to set the SAPScript debugger is to run program RSTXDBUG.

When you debug Print program it is same as you debug any other ABAP program.

While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.

Regards,

Ferry Lianto