I analysed the issue deeper now. The context element is still initial when the on_enter action method is called.
As I already said, I added the input fields dynamically at runtime. I tried to add this input fields to a static defined context with cardinality 0:1.
At runtime there are three instances of the context node. How do I have to reference the <fieldA> of third instance of my context node?
lo_input = cl_wd_input_field=>new_input_field( | |
id = 'Inputfield1' | |
read_only = abap_true | |
bind_value = NODE3.ATTRIBUTE1 | |
length = 10 | |
). |
This seems to be wrong. Do you have any idea what? Is the "3" after "NODE" wrong?