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

SAP standard transaction debugging

Former Member
0 Likes
1,526

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

1 ACCEPTED SOLUTION
Read only

paul_bakker2
Active Contributor
0 Likes
1,361

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

3 REPLIES 3
Read only

paul_bakker2
Active Contributor
0 Likes
1,362

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

Read only

Former Member
0 Likes
1,361

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

Read only

ashraf_usmani
Participant
0 Likes
1,361

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