‎2014 Dec 16 11:54 PM
Hello Experts,
Could you please kindly explain how to go ahead with the following scenario.
I use a standard sap transaction, give the required fields and then execute. Once inside, i make a changes to a few fields and save the transaction. How to find out exactly at which point these changes are saved to the database ( in debugging).
Doing a /h and continuing to debug is something that is not the most efficient way. Are there any methodologies that I can follow.
Thanks in advance.
Regards,
KC
‎2014 Dec 17 12:02 AM
Hi,
It won't always work (eg for V2 updates) but you could try putting a break point on the statement COMMIT WORK. The debugger lets you do that - specify a statement and stop on every occurrence.
cheers
Paul
‎2014 Dec 17 12:02 AM
Hi,
It won't always work (eg for V2 updates) but you could try putting a break point on the statement COMMIT WORK. The debugger lets you do that - specify a statement and stop on every occurrence.
cheers
Paul
‎2014 Dec 17 8:36 AM
You can use script debugging. refer to the below link.
http://scn.sap.com/people/stephen.pfeiffer/blog/2010/12/14/abap-debugger-scripting-basics
1. Open debugger.
2. Select script tab
3. Click on load script
4. Enter RSTPDA_SCRIPT_BP_CHANGE_TAB
5. Click on start script
6. Enter the DB table which you wish to analyse
‎2014 Dec 17 9:34 AM
Hi Keerthi,
As Per My Knowledge You Can debug it by Putting break point PFB:
go to your tcode.
Put in "/h" hit Enter
Then execute code line by line by F7.
when you go commite work put break ponit over there
Hope it will help you.
Regards
Ashraf Usmani