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

How to Debug Script Driver Program

Former Member
0 Likes
1,193

Hi

How do I debug a script driver program when I am creating an output directlt from a transaction.

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
721

First run the Program RSTXDBUG , this will activate SAP script Debugger

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
722

First run the Program RSTXDBUG , this will activate SAP script Debugger

Read only

0 Likes
721

I am not asking the method of debugging the sap script but I want to Debug the driver program which is assigned in NACE.

Read only

0 Likes
721

You have to put a break point or user break point, which make the flow to stop at it... when u hit from Tr.

Read only

0 Likes
721

If you know the driver program is runs in the foreground (ie transaction not submitting the driver ) then ordinary break-point will stop. other if its runs using submit then

1. copy the standard driver program into custom one and put a


data : x type c.
do.
  if x = 'Y'.
    exit.
 endif.
enddo.

Then apply this program in NACE and run your transaction. Then go to SM50 and select your dialog process and from the top menu choose-->program/session > program> debugging

then change the value of x to Y