cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a Difference between Binding and Mapping

o_seifer
Explorer
0 Kudos

Hello together,

in SAP NetWeaver Library they speak about Data Binding and Mapping

http://help.sap.com/saphelp_nw70/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm

Is Binding and Mapping the same thing? Or is there any difference?

Am I right in thinking binding works the following way:

There´s Context-Element NAME into the Component-Controller-Context,

a Context-Element NAME into the View-Controller-Context and one UI-Element on my View-Layout.

In the next step, I bind View-Controller-Context-Element NAME against the Element in the Component-Controller-Context, and the UI-Element against the element into the view controller.

While runtime, the Context-Element of the Component-Controller-Context gets created.

Is it right, that because of the binding, all involved Controller-Contexts work on the same reference of the

data-object, which is behind Context-Element NAME?

Thank you very much.

With regards,

Oliver

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Both are different,binding is between view UI element and view context node/attribute.Mapping is between two controlleres like view controller and component controller.The detailed information is given in the below article about context.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60730016-dbba-2a10-8f96-9754a865...

also check this document about different contrlleres in Web Dynpro for ABAP

http://help.sap.com/SAPHELP_NW04S/helpdata/EN/b9/b82c4142aef623e10000000a155106/content.htm

o_seifer
Explorer
0 Kudos

Thank you very much.

I think I got it.

Regards,

Oliver

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Binding and Mapping are two different concepts.

Binding is between a UI Element and the context.

Mapping is always between two controllers.

In your case , when you bind the UI Element with the View Controller ' Context Name that is Binding.

When you bind View controlller Context Element against Element in component controller-Context - Mapping.

I hope it is clear to you.

Thanx.