Hi Wilson,
I think you are trying to access the reference variable. which means a variable points to a remote memory location.
create a field symbol which is type of the deep structure.
then perform your looping operation on the field symbol and do as instructed in above suggestions.
Let me know in case of any issues or difficluties in this case.
Thanks and Regards,
Bhaskar