Skip to content

Latest commit

 

History

History
42 lines (18 loc) · 1.15 KB

adding-odata-service-and-new-sapui5-model-71eaa3f.md

File metadata and controls

42 lines (18 loc) · 1.15 KB

Adding OData Service and New SAPUI5 Model

Learn how to add a new OData service and SAPUI5 model.

Context

To add an OData V2 service using annotations, the new annotation data source has must be added.

Procedure

  1. Right-click on the project main folder, the webapp folder, or the manifest.appdescr_variant file and click Add OData Service > Model.

  2. After the wizard appears, enter the OData Service name for the service you want to add.

  3. Enter the OData Service URI.

  4. Choose the OData version of the service you are adding.

  5. Enter the OData Service SAPUI5 Model name of the model you want to add.

  6. (Optional) Enter settings for the OData Service SAPUI5 Model in the format: "key1":"value1","key2":"value2",.

  7. (Optional) Choose whether to add an annotation.

    If you choose yes, provide the following information:

    1. Enter the OData Annotation Data Source name.

    2. Enter the OData Annotation Data Source URI.

    3. (Optional) Enter settings for the annotation in the format: "key1":"value1","key2":"value2",.

  8. Click Finish to save your changes.