cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug scripts for linking to a transaction?

narendar_naidu
Active Participant
0 Kudos

hello experts,

i have a need to find how the tax calculation in a billing doc is done.

now i want to debug the script.so tell me whether i have to debug the script and driver program.actually the script and driver program are linked to a transaction vf02.and wen i try to debug the program its not allowing to debug.do help me in this regard.

thanks ,

Narendar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

enter T-code and it will take to you some screen there put

/h on the t-code box

and do some action what ever you want

and it will take to you to debug mode

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

Ok.. for that first try to find out the driver program for your output type.

Go to V/40.

Select your output type.

Press "Processing Routine"

Get the name of the print program and the subroutine name.

Now, open SE38 and put your print program there. Open it..

Put a breakpoint subroutine name.

Now, go to VF02.. press print preview.

Your control will stop to the break point.

This is allow you to find our what is happening.

Regards,

Naimesh Patel