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

Debugging doubt ??

Former Member
0 Likes
580

Hi gurus,

I have copied Program A to Program B.

When i execute a transaction , the program A is called ; by setting break points in this program i am able to debug this program.

Now, I have made some changes in program B and i want to debug this program. I want to debug this program, so i want this program to be executed instead of Program A when i execute the transaction.

And once i am done with debugging stuff, i want the transaction to call the Program A again.

How to achieve this ? and is it possible to do this without affecting the calling of Program A ??

Plz help !!

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
556

Change the program name in the transaction ...

Say ztrans is the transaction code to call Program1 ...

after coping and changing program2 .. change the Transaction code

ztrans ..

goto se93 enter ztrans and change

give program name as program2 in program and save ..

After debugging program2 .. again change the transaction code ..

4 REPLIES 4
Read only

Former Member
0 Likes
557

Change the program name in the transaction ...

Say ztrans is the transaction code to call Program1 ...

after coping and changing program2 .. change the Transaction code

ztrans ..

goto se93 enter ztrans and change

give program name as program2 in program and save ..

After debugging program2 .. again change the transaction code ..

Read only

0 Likes
556

Hi,

Thanks for your reply.

But the transaction which calls my program is a standard transaction and the program which is mentioned in the SE93 for the transaction is a standard program.

How to proceed ?

Regards.

Read only

0 Likes
556

Akash,

If the transaction you are executing is a standard transaction, then you cannot change the program assigned to it. The only way is to create a new z tcode for program B in se93.

Steps:

Copy the std transaction to a z transaction.

Assign program B to that z transaction.

After debug assign program A to that.

Thanks,

Naren

Edited by: Naren Someneni on Feb 22, 2008 7:55 AM

Read only

Former Member
0 Likes
556

Hi Akshay,

To solve your problem follow the below steps.

1. First copy the program in to Z.

2. Create one Z transaction and assign the Zprogram which we have copied newly to the Ztransaction.

3. Now put the debug points and execute the program.

What ever the changes u required do it in Zprogram and do the debugging.comple all your modifications in Zprogram itself, once it is done copy the modifications which ever did in Zprogram in to original program.I think this will resolve your problem.

<REMOVED BY MODERATOR>

Regards,

Koti Reddy Nandaloori

Edited by: Alvaro Tejada Galindo on Feb 22, 2008 9:13 AM