Hi,
I have the following context hierarchy (in ABAP WD):
-Context
---Child_Node_A
-
Sub_Child_NodeB
-
AttributeE_of_Sub_Child_NodeB
-
AttributeF_of_Sub_Child_NodeB
-
AttributeG_of_Sub_Child_NodeB
-
Sub_Child_NodeC
-
AttributeH_of_Sub_Child_NodeC
-
AttributeI_of_Sub_Child_NodeC
-
AttributeJ_of_Sub_Child_NodeC
-
AttributeA_of_Child_Node_A
-
AttributeB_of_Child_Node_A
-
AttributeC_of_Child_Node_A
The attributes A, B, C of Child_Node_A are displayed in an ALV grid and the idea is that when the user selects a row in the ALV grid and clicks on a button, a popup is to be shown with additional details of the selected row in the ALV. In this popup, I have some fields which are mapped to the attributes E, F, G of Sub_Child_NodeB and attributes H, I, J of Sub_Child_NodeC. But when I show the popup the fields are empty.
I use a supply function in the Component Controller to fill Child_Node_A and its children, so typically when the popup appears I should see the attributes of the Sub_Child_Node B and C which are linked to the lead selection of the ALV grid (i.e.: Child_Node_A), right?
By the way, I have linked Child_Node_A from the Component Controller Context to the Context of my Main View and Popup View. Also, I checked in the INIT method of my Main view to see if after the supply function has been called the Sub_Child_Nodes attributes were still there for a given lead selection in the ALV grid and they were. But in my action handler to show the popup window from my Main view, I checked again to see if the Sub_Child_Nodes attributes were still there and they were not.
I hope I was clear enough in my explanation.
Thanks in advance for your help,
Christian