Calling window/view of one component in another component
Create a component “ZPP_TEST_COMP_USAGE”
Create a component “ZPP_TEST_COMP_USAGE_N”
In ZPP_TEST_COMP_USAGE use the ZPP_TEST_COMP_USAGE_N in the component used Components
Create a button in the ZPP_TEST_COMP_USAGE : To call the view/window of another component
Create an outbound plug in the ZPP_TEST_COMP_USAGE view outbound plug tab to create navigation between current view and ZPP_TEST_COMP_USAGE_N’s window.
Create an action for the created button using the created outbound plug for navigation as below
In ZPP_TEST_COMP_USAGE windows, right click on window name and select embed view
Select the view to be embedded as shown below(in popup)
Required Window(created in ZPP_TEST_COMP_USAGE_N) name will be populated. And whatever the views embed onto that window will be auto populated in component ZPP_TEST_COMP_USAGE.
Select CALL_VIEW_N (outbound plug of ZPP_TEST_COMP_USAGE ) right click and Create navigation link as shown below
Select the destination view as ZPP_TEST_COMP_USAGE_N’s window. Shown below
Navigation link was created.
SAVE and Activate the Component ZPP_TEST_COMP_USAGE
Creeate application for the component ZPP_TEST_COMP_USAGE
Test the Application.
This is the View of Component ZPP_TEST_COMP_USAGE
Click the button to navigate to the view of component ZPP_TEST_COMP_USAGE_N