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

regarding script debugging

Former Member
0 Likes
791

Hi all,

I am making changes in automatic email acknowledgement for shipping planned dates. by giving output type in vt03 and saving the mail triggers to the sold-to-party.

It is associated with a zform and Zprint program. even I kept static breakpoints in the printprogram and debuggin on the script, the program is not coming in debugging mode.can any body suggest how to debug these kind of programs.

Thanks and Regards

reddy

1 ACCEPTED SOLUTION
Read only

kostas_tsioubris
Contributor
0 Likes
771

Hi,

maybe the print program is called in update task. One workaround if you know the printing program is the following. Go to the printing program and write the following code.

data: l_char.

do.

if not l_char is initial.

exit.

endif.

enddo.

now run vf03 and upon save go to transaction sm50. Find the process and choose Program->Debug.

Kostas

5 REPLIES 5
Read only

amit_khare
Active Contributor
0 Likes
771

from SE71 enter form name

from Menu Utilities->ACTIVATE DEBUGGER

then execute the script from the Application Transaction

it will stop in the script.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
771

Hi,

Check this..

http://www.howforge.com/how-to-debugging-sapscript-form

Reward if it helps..

Regards,

Omkar.

Read only

kostas_tsioubris
Contributor
0 Likes
772

Hi,

maybe the print program is called in update task. One workaround if you know the printing program is the following. Go to the printing program and write the following code.

data: l_char.

do.

if not l_char is initial.

exit.

endif.

enddo.

now run vf03 and upon save go to transaction sm50. Find the process and choose Program->Debug.

Kostas

Read only

Former Member
0 Likes
771

Hi

SCRIPT

from SE71 enter form name

from Menu Utilities->ACTIVATE DEBUGGER

then execute the script from the Application Transaction

it will stop in the script and check for the Values you need

SMARTFORM

Smartforms keep a break point in the Main Program or

IN the PROGRAM LINES of the SMARTFORM

write BREAK-POINT, where ever you need

execute the smartform it will stop there.

Reward points for useful Answers

Regards

Naresh

Read only

Former Member
0 Likes
771

Hi

Regarding : Script Debugging.

1. Go to SE71 t_code pass your script name.

2. Go to UTILITIES menu select activate debugger.

3. Go to the t_code if it is delivery note go to vl02 or if it is invoice go to vf02 and pass the delivery note number or invoice number.

4. Go to delivery menu in that select issue output to screen or printer then select output type click on continue it will go to debug mode automatically.

Reward points!!

Thanks & Regards,

Vasudeva Rao