16. How to modify SAP ABAP OData model to support $expand operation

Application scenarios of $expand operation in OData service

The OData model creation we have completed so far in this step has only one node, Book. In the actual project, the OData model is much more complicated than the model designed for teaching purposes in our tutorial.

For example, the following figure is the OData model of the SAP CRM My Opportunities Fiori application. You can see that the model root node Opportunity can navigate to other child nodes. For example, as we will learn in this step Navigation Properties(导航属性), starting from the root node Opportunity, you can navigate to other child nodes. node. For example, the yellow Products in the figure below is one of the navigation properties. Through this field, you can navigate to all the Products data contained in the Opportunity.

Guess you like

Origin blog.csdn.net/i042416/article/details/126402523