2013 Dec 18 3:09 PM
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.
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.
2013 Dec 18 3:19 PM
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.
2013 Dec 18 3:48 PM
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,
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |