‎2008 Feb 22 1:34 PM
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.
‎2008 Feb 22 1:43 PM
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 ..
‎2008 Feb 22 1:43 PM
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 ..
‎2008 Feb 22 1:50 PM
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.
‎2008 Feb 22 1:53 PM
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
‎2008 Feb 22 2:02 PM
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