cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I update an OData-Service (/IWFND/MAINT_SERVICE) after changes made to my custom CDS view?

Hinzundkunz
Explorer
0 Kudos
831

 

Subject: How to Reflect CDS View Changes in an OData Service

Dear Community,

I am currently exploring the integration of a CDS view with an OData service and a UI5 web application.

Current Setup:

  • I created a CDS view based on the SAP table SFLIGHT.
  • I registered the corresponding OData service using transaction /IWFND/MAINT_SERVICE.
  • Using SAP Business Application Studio, I generated a basic UI5 List Report Page application.

Question:

In the /IWFND/MAINT_SERVICE transaction, I see two options:

  1. Add Service
  2. Delete Service

However, I do not see an option to update or refresh the service after making changes to the CDS view.

How can I ensure that modifications to the CDS view are reflected in the OData service?
Is there a specific step required to regenerate or reactivate the service?

Thank you in advance for your support.

Best regards,
UI5 Beginner

View Entire Topic
cyril_sayeh
Explorer
0 Kudos

Hi,

Try loading the metadata from /N/IWFND/MAINT_SERVICE by selecting the service and click the Load Metadata button. Clear your browser cache and check the $metadata URL. http://<Your_odata_service>/$metadata.

 

cyril_sayeh_1-1751335063033.png

 

Hinzundkunz
Explorer
0 Kudos
Thank you for the hint