Skip to Content

Is there a Difference between Binding and Mapping

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 27, 2008 at 06:00 AM

    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-9754a865b814

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

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 27, 2008 at 03:36 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded