02-19-2019 12:01 PM
Hi experts,
in a huge SAP process I need to know where a field is filled.
SAP uses structures and passes the values from a structure to an other, so I can't set a watchpoint using a variable name.
Can I set a watchpoint to a Z data element (or something similar, to achieve this result)?
Thanks
02-19-2019 6:23 PM
You can set a watchpoint for a field in the structure. The fields inside structures (or internal tables) are referred to in this format: <structure name>-<field name>.
Not sure what you're referring to exactly as "data element".
There is a good blog that highlights some watchpoint/breakpoint features. They're not new anymore but still it's valid information.
Google "watchpoints in debugger site:help.sap.com" to find Help document appropriate for your release.
02-19-2019 6:23 PM
You can set a watchpoint for a field in the structure. The fields inside structures (or internal tables) are referred to in this format: <structure name>-<field name>.
Not sure what you're referring to exactly as "data element".
There is a good blog that highlights some watchpoint/breakpoint features. They're not new anymore but still it's valid information.
Google "watchpoints in debugger site:help.sap.com" to find Help document appropriate for your release.
02-20-2019 2:14 PM
Thank you. The field i'm looking for is moved from a structure to others. So i need to stop when the field of data element "Z." for every structure is changing.
02-20-2019 3:54 PM
gabriele.mazza - there is no magic wand for this. You need to know which structures contain the field of interest and then you can create a watchpoint for each one of those fields.
What you're calling "data element" is more commonly referred to as a variable.