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

Mock Data Editor is not opening is SAP BAS

Venkatesh_Machineni
Participant
0 Likes
711

Hello all,
I am trying to open Data Editor in SAP BAS for SAPUI5 freestyle app and we are using OData V2 version CAP service in UI5 app.
I am getting below error while I try to open Data Editor, please suggest.

VenkyM_1-1729610282005.png

 

VenkyM_0-1729610085187.png

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Noel_Hendrikx
Active Contributor

Hi Venky,

Do you have a valid metadata.xml file in your project? Normally it is pointing to your localService folder, but you can change that in the manifest.json file > 

dataSources > name_of_your_service > settings > localUrl

 
"localUri": "localService/metadata.xml"
 
Hope this helps.
Regards,
Noël
Venkatesh_Machineni
Participant
0 Likes

Hi Noel,
Thank you for response.
I have valid metadata file and we are using V2 version of OData.
I tried running my app using command "npm run start-mock" and the app loads with generated data but I am not able to open Data Editor for editing mock data.