Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

What is association and navigation from ABAP perspective

Hi all,

I have learining Netweaver gateway but I am facing some doubts in understandin some concepts.

Could somebody please explain what is association and navigation between entitites, from an ABAP perspective.

Being an abap developer I am trying relate to an abap point of view,but I am unable to understand this one .

Any guidance would be very much appreciated.





I think it is better not to compare DB Tables and OData model. Similarities are only upto an extent.

Few pointers

- Associations say that two entities are related. Example: Employee and Company. Associations do not have any direction. Navigation refers to an Association and says if you can navigate from Employee to Company or/and Company to Employee. A navigation from Employee to Company cannot be used other way.

- If there is a navigation defined from Employee to Company, when you fetch Employee entity, there will be a URI to navigate from Employee to Company. So Navigations actually represent navigations your UI might have.

- Navigations are used in URLs. But Associations are not.



2 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question