Application Development 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: 

watchpoint for Internal table value

former_member612567
Participant
0 Kudos

Hi  Friends,

how to put a watch point for a Internal table, field value.

Ex : I have a Internal table called "IT1" in this table we have 10 fields &  9000 records.

for 600th record some value "ABCD" is updating in the code ex : IT1[600]-FIELD1 = "ABCD",

but I want to know where this value is updaing.

for this I want to put a watch point.

I have read many forums but doesn't meet the requirement.

Can any one please help me on this.

2 REPLIES 2

former_member219762
Contributor
0 Kudos

Hi,

We can do it with debugger script.Go through my blog for more details http://scn.sap.com/community/abap/blog/2013/10/28/how-to-create-watch-point-for-internal-table-when-...

Regards,

Sreenivas.

balbino_soaresferreirafil
Active Participant
0 Kudos

Hi,

Dou you have a loop command in you code? place the watch point in the work area.

for exemple:

loop it1 into wa1.

....

endloop.

create a watch point with: WA1-field = 'ABCD'.

Regards,