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

Sript Debug

Former Member
0 Likes
284

I want to debug the standard script.for that I've copied the script to a my zname .

I've activated the debugger.I want to debug the script by using ME9F transacton.How to do it? How to place the P.O document no into ME9F?

Regards

Srikanth.

1 REPLY 1
Read only

Former Member
0 Likes
252

Hi Srikanth,

They are two ways to debug the <b>SAPScript</b>.

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.

<b>Smartform:</b>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,

Ramesh.