cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass a value from one component to other component

Former Member
0 Kudos

Hi All,

I have an issue like i have to some value from one component to another component. For example In the default view of comA i take an input field what ever the value given in that inputfield shuold be displayed in the default view of the component B. if anybody have idea on that can please tell me the procedure

Regards

Ravi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ravi

You have two components CompA,CompB

1) Create "Used Webdynpro Component" in CompA

1.a) Add "Used Component"

1.b)Specify name

1.c)Browse the Used Web Dynpro Component..SELECT CompB from the list

-


2) Now "Open Navigation Modeler" of CompA's Window

2.a) Use "Embed Interface View of component instance"

2.b) Select CompBInterfaceview .. FINISH

-


3) Now you can link bothe the CompA and CompB views using Inbound and OutBound Plugs

3.a)OnClick action of CompA's default view button "wdThis.wdFirePlug<>;"

-


4)Pass the value of the input field's value as the parameter to the CompB's view

-


now you will be to access the CompB's elements in CompA ,vice versa

Thanks and Regards

Chaitanya.A

former_member186016
Active Contributor
0 Kudos

See my reply in this thread:

The only difference from other post is that there components were in different dc's but in your case it may be in same dc.

Best Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hi,

Do Binding between two controllers it is possible through...............

Goto any controller>Properties>add required controller..

as long as they do have binding between each controller..they can share the data.

Regards

Ravi

Former Member
0 Kudos

Hi Ravi

/thread/7452 [original link is broken]

/people/jochen.guertler/blog/2004/11/23/web-dynpro-best-practices-how-to-navigate-between-different-web-dynpro-applications

Regards

Pratyush