Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
chengalarayulu
Active Contributor
0 Kudos

This article describes how to call a window/view which 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 page header in the view of ZPP_TEST_COMP_USAGE_N. This will be called by view of ZPP_TEST_COMP_USAGE

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

Regards,

Rayulu.

3 Comments
Labels in this area