Selection of nodes to fill field of tree

Thanks for your help.

I was able to implement the solution that you pointed out.

Best regards