cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Web Dynpro Abap View Context Binding

Former Member
0 Kudos

Hi,

Iam in the initial stage of learning ABAP web dynpro .Kindly provide the solution for my querries.

1. why do we need to map context of component controller with view context?

2.why do we need to bind the view context with UI element?

3.Diff between view controller and component controller.

Regards,

Aruna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

What is the scope of UCD in SAP? I have seen many SAP applications with bad UIs. Looks like SAP is not at all looking at user experience. What are the actions taken to get rid of this?

Former Member
0 Kudos

hi aruna........

consider you are having 2 views and wish to pass data between these 2.

then you will declare a node and attributes in it in the component controller.

this will access as a global access point.

you have to map this node to both of your views.

so view1 will set a value in this node.

this will be automatically reflected in your component controller.

so when view2 access its node, this will refer to the data in the component

controller. this is the reason for mapping the component controller.

view controller is local to the view.

---regards,

alex b justin

Former Member
0 Kudos

Hi Aruna,

1) Context mapping (between to contexts) is used to share data between two controllers.

2) Data binding (between context and UI elements) is used to display data on and update data from the UI (screen)

3) A view controller is the controller available with the view (local to the view). A component controller is the controller available for the component (global for the same component - can share data through interface controller)

You should take a look at the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm">help</a> that's available online.

Regards,

Neha