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: 

Is it possible to use watch point for a Field symbol?

Former Member
0 Kudos
214

Hello,

Is it possible to use watch point for a Field symbol?

Regards,

Umasankar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
74

Hi,

IT is not possible to set watch point.

Try it.

Reward if useful!

5 REPLIES 5

amit_khare
Active Contributor
0 Kudos
74

No it will not work.

Former Member
0 Kudos
74

REPORT ZYH284_TEST2.

field-symbols:

<fs> type i.

DATA:

w_index type i.

do 10 times.

assign sy-index to <fs>.

write / <fs>.

enddo.

i've successfully created a watch-point for <fs>, say for a value 5. Also observed that a watch point can only be created after the <b>ASSIGN</b> statement, which makes sense.

Message was edited by:

Rajesh

Former Member
0 Kudos
75

Hi,

IT is not possible to set watch point.

Try it.

Reward if useful!

0 Kudos
74

Hi,

Its not possible, as you may not know the concrete TYPE of the field symbol if it is declared as TYPE ANY.

So when you create watch point only Data can be checked.

Regards,

Sesh

Former Member
0 Kudos
74

Watch point can be used for field symbols only after Assign statement.

Thanks for your valuable suggestions.

Regards,

Umasankar.