2013 Feb 14 10:21 AM
Dear ABAPers,
When debugging, we can create watchpoint to determine when that parameter has been changed value. I'd like to know whether is there a way to know when one parameter are read.
For example, to know where vbak-vbeln is read, can the debugger break at the statement like:
xvbeln = vbak-vbeln.
Best Regards,
Dear ABAPers,
When debugging, we can create watchpoint to determine when that parameter has been changed value. I'd like to know whether is there a way to know when one parameter are read.
For example, to know where vbak-vbeln is read, can the debugger break at the statement like:
xvbeln = vbak-vbeln.
Best Regards,
2013 Feb 14 10:35 AM
Hi Nattapong,
In the example you gave, vbak-vbeln is not being read but used to assign a value to xbeln. So, if you want to know where vbak-vbeln is being read (in other words, where it is being assigned a value for the first time), you simply need to create a watchpoint on vbak-vbeln.
2013 Feb 14 10:47 AM
Thanks for your reply, but it's not my requirement. I know that using watchpoint would detect when the variable is assigned. My requrement is that when is it refrered or used.
To more clarification, my requirement, I want to ensure that if I change the SO value at the user-exit; I must not effect the standard codes.
<User-exit> => MY IMPLEMENTATION HERE!!!
......
<Standard code>
.......
IF vbak-vbeln is initial.
.....
[I want to skip the statements of getting standard SO number]
......
ENDIF.
2013 Feb 14 11:01 AM
Hi,
For this you have to do a global find of the vairable.
Regards,
Kartik
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |