Hi All,
I have a issue in custom Table view.
I created a custome Table View in BP_HIER component refering View BP_HIER/EOVPBPAssignmentV which will display assigned Contact person to BP.
Now the issue is when I select a Hierarchy ID and try to get the reference of selected Hierarchy in to my custom view, I am not able to get that reference into Context Node and the context node in my custom view is also not initializing.
I debug the complete component and the process to pass reference of selected Hierarchy Line from BP_HIER/EOVPHierarchyTreeV to BP_HIER/EOVPBPAssignmentV is through ON_NEW_FOCUS method of of BP_HIER/EOVPBPAssignmentV view BPAssigned context node.The steps are -
1. EH_ONSELECT method call in view BP_HIER/EOVPBPAssignmentV at each line selection from Hierarchy Tree View.
2. From EH_ONSELECT, after PUBLISH_CURREN method,
ON_NEW_FOCUS of BP_HIER/EOVPBPAssignmentV view always call. In this method system is reading required related entity and populate the view through collection wrapper.
I did same thing for my custom view i.e. create ON_NEW_FOCUS method in context node, bind with Custom Controller. But context node is not initializing and ON_NEW_FOCUS method of my custom view is never getting call as system is calling of BP_HIER/EOVPHierarchyTreeV view. But I am getting the selected hierarchy node reference into DO_CONFIG_DETERMINATION through collection wrapper.
Any suggestion will be very helpful.
Thanks in advance.
Gaurav.