cancel
Showing results for 
Search instead for 
Did you mean: 

Binding to Component controller

Former Member
0 Kudos

Hi All,

In view ans the component controller context I have one attribute MATNR.

In view contoller MATNR has the value '000000123'. Now I want to pass this value from view controller MATNR to Component Controller MATNR.

Thanks in advance,

Points Assured.

Accepted Solutions (1)

Accepted Solutions (1)

former_member515618
Active Participant
0 Kudos

Hi Jasmine,

Context binding can happen between nodes only and not attributes in the context.

So create a node with matnr in both at component controller and view level. bind these two context nodes. This ensures automatic data mapping.

Go to view, in the right most pane there is a list of component controller context nodes. Drag and drop context node to that in the view.

Hope this is what you want.

Regards,

Sravan Varagani

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi jasmine,

As Sravan said declare the context node and its attribute in the component controller level and map the same node in the view level.

So the values of the matnr will b retained in the CC level when u r changing the value in the view level.

Regards...

Arun.