SAP Virtual/Onsite Trainings

Document Categories:

What's New?


Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 

Join the Mailing List
Enter name and email address below:
Subscribe  Unsubscribe 

Share Data between 2 Different components in FPM

By Rakesh Dhudipala


Below document explains how to share data in FPM application which is using 2 different WebDynpro components.  


ABAP objects, ABAP WebDynpro  

Step by step Procedure:  

Go to SE80 and create Webdynpro component called ZTEST_SHARE1

Go to Implemented interfaces and re implement IF_FPM_SHARED_DATA interface.

Go to Component controller context and add the Node called CUST as a interface node and also add 2 attributes called KUNNR and land1 like below and activate.

Go to Se80 and Create one more component called ZTEST_SHARE2


Go to used components and make ZTEST_SHARE1 as a used component in ZTEST_SHARE2 component.

Go to implemented interfaces tab and re implement the IF_FPM_UI_BUILDING_BLOCK interface.

Go to Component controller context and add the below context

Define the mapping between Component controller and Interface controller

Go to main view context and drag and drop the Component controller context to  View controller.

Go to layout and design the layout with input elements using the view context and activate the component.  

Go to SE80 and create one more component called ZTEST_SHARE3 same as ZTEST_SHARE2 except view layout.

Go to Main view layout and add the 2 textviews like below  

Now create a WebDynpro application called ZTEST_SHARE_TEST


Right click on WebDynpro application and click on Create/change configuration.

Enter the configuration id

Click on new button  

Click on Assign configuration name and enter the configuration name and save

Go to Guided activity schema and enter the 2 components like below and save  

Test the results  

Click on Next it will display in another WebDynpro component.

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image