cancel
Showing results for 
Search instead for 
Did you mean: 

Popup Window data to putback to parent component

Former Member
0 Kudos

Hi Experts,  I'm trying to figure out how when the "select records from popup result list", in the window that has popped up from clicking on a link in the original window, to get it to close the popped up window and send the results of the form submit to the parent assignment block AccountContactsOV.. 

BP_DATA/AccountContactsOV parent window

BP_CONT_SEARCH/SearchHelpResult  (Popup result window. 

How to achive this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anil,

This can be done through component usage.

In BP_CONT_SEARCH

go to runtime repository editor add the window of BP_CONT_SEARCH/SearchHelpResult. Make sure that the context node is added to the Interface controller of the component interface.

In BP_DATA

Runtime repository editor add component usage and add the interface view from the (BP_CONT_SEARCH)

go to the method WD_USAGE_INITIALIZE of component controller and bind the context nodes,

EX:

   CASE <usage_name>.

   CALL METHOD iv_usage->bind_context_node
            EXPORTING
              iv_controller_type  = cl_bsp_wd_controller=>co_type_component
              iv_name             = iv_usage->usage_name
              iv_target_node_name = 'PARTNER'    " Node of the MAIN component
              iv_node_2_bind      = 'PARTNER'.   " Node of the embedded component

Check the values in ON_NEW_FOCUS of the context node.

---

Vijay

Former Member
0 Kudos

Hi Vijay,  I tried to bound  iv_target_node_name = 'CONTACT' of bp_search_cont and BUILCONTACTPERSON of bp_data.  But it did not work. Any advise.