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

Break point in SAP Script

Former Member
0 Likes
8,412

Hi Guys,

I just wanted to clarify something.

In report if i do write break point then while running the program the system will halt there allowing me to debug.

Is this functionality possible in SAP script too??

I mean is breakpoint a valid statement in SAP Script?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,494

hi,

1.In layout it is not possible to write brak point like in reports.

2.the break-point is not valid in scripts.

3.utilities --->activate debugger or rstxdebug.

4.Place a break point subroutine pool.

Regards,

SHIVA(reward if helpful).

5 REPLIES 5
Read only

Former Member
0 Likes
3,494

Hi,

1) If you want to debugg the perform then

there are 2 ways to bebug a sap script.

one by using standard program

goto se38 and ececute RSTXBUG and give ur script name debug the perform.

other one is

put a soft breat point in u r perform code(in program)

like

BREAK SAP-USER.

then when u execute u will directly goto debug mode.

2) normally you can debugg the script by

In se71, Chose from menu:

Utilities-> Activate Debugger

.

From the transaction, In the output message screen, you chose chose your output type, Go to Further options, Chose the dispatch option as Send at periodically scheduled jobs . then save the transaction. And run the prigram RSNAST00 It would stop at the debugging.

Regards

Kiran Sure

Read only

Former Member
0 Likes
3,494

Hi jayesh,

Y do u want to insert a breakpoint....U can activate the debugger in the script...

Before executing the transaction...

Go to Se71.... in the MEnu...utilities>>activate debugger

Then Run your transaction...

U can debug in script....

Coding BREAK-POINT in script does not work newyz as it does in your report programs....

Thanx,

Navin.

Read only

Former Member
0 Likes
3,495

hi,

1.In layout it is not possible to write brak point like in reports.

2.the break-point is not valid in scripts.

3.utilities --->activate debugger or rstxdebug.

4.Place a break point subroutine pool.

Regards,

SHIVA(reward if helpful).

Read only

Former Member
0 Likes
3,494

Hi,

In script you can done debug in two ways:

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

The Procedure for debugging SAP script is:

Generally SAP script contains the Layout and corresponding print program.

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

Now go to SE 38 and enter ur Print Program name and execute the program.

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

Regards,

Bhaskar

Read only

Former Member
0 Likes
3,494

Hi Jayesh,

Follow According to thios to Debug a script.

Go to Se71.... in the MEnu...utilities>>activate debugger

Then Run your transaction...

U can debug the script....

Reward if Helpfull,

Naresh.