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

Reg:debugging script

mallikarjun_vaja
Participant
0 Likes
881

hi,

I have added the code for Email functionality to script.

now I want to debug script.

In se71...I have activated debugger.

I have put a break point in the print program also.

iam using VF02 Tcode and giving billing document number.

can u plz tell what I should do after entering billing document number.

If I use Issue output to printer and seleect output type iam able to debug bcoz iam giving printer output type(ZD04 is for printer).

but my question is i want to debug for email functionality...the output type is ZD13 for email

plz help me to debug so that i want to know what is happening im my code

regards

vaja

6 REPLIES 6
Read only

Former Member
0 Likes
846

keep the break point at email code and use vf02 transaction and enter output type here ,so debugger will come automatically...

use proper output type where ever you use program

Read only

0 Likes
846

hi seshu,

i have kept the break point at email code and used vf02 transaction and entered output type ......but my question is : should i enetr email output type ZD13..if i give this it says output could not be issued

regrds

vaja

Read only

Former Member
0 Likes
846

Hey try this... after entering billing doc.. enter into debug mode (/h) and there select UPDATE DEBUGGING in SETTINGS... and come out.

Now select your output type ZD13 and proceed as usual... the debugging screen will come.....

Once you are done.. do the same and stop UPDATE DEBUGGING...

Read only

0 Likes
846

hi ram,

as per ur siggestion : "after entering billing doc.. enter into debug mode (/h) and there select UPDATE DEBUGGING in SETTINGS... and come out."

come out means should i exit...there is no other option to come out..

regards

vaja

Read only

alex_m
Active Contributor
0 Likes
846

Where u written the email funtionality, if its vf04 transaction, put a break point in VF04 email functionality and see the process.

Read only

Former Member
0 Likes
846

hi,

We can debugg the script form by using <b>RSTXDBUG</b> executable program . we can execute this program to activating the script debugger.

or.

<b>se71-->select utilities->select debugger to start debugging</b>

in debugging we use <b>f5-----> for debugging field by field

f6and f7-----> for debugging line by line

f8----> for debugging include programs</b>.

we can debugginh print program normally by using abap debugger , /h tr code

regards,

AshokReddy.