SAP Knowledge Base Article - Public

2936323 - Error in OData Editor by an PDI Extension Field

Symptom

You are getting an error while saving Custom ODATA.

 "XYZOData.xodata :element "PDI Type_SDK" is removed or re-named or data-type changed in BO extension. Adjust OData service extension" 

Where XYZ is the extension name.

Environment

  • SAP Cloud Application Studio
  • Cloud for Customer
  • Business ByDesign

Reproducing the Issue

  1. Go to Cloud Application Studio
  2. Open Solution - YABC1234 ( YABC1234 stands of Y namespace for solution)
  3. Open the associated xodata, here lets take an example of XYZ - /YYABC1234 /Y_MAIN/SRC/XYZOData.xodata
  4. Login with developer user in UI.
  5. Check in ODATA editor, the field "PDI Type_SDK" is not there, here ("PDI Type_SDK" is an extension PDI field)
  6. Try to save error appears.                                                                                                                   

Cause

If any PDI property is added to OData extension and if removed from XBO needs to be adjusted in OData extension (.xodata) as well. This is to maintain the consistencies of the OData and associated service.

Resolution

  1. Go to Administrator work center
  2. Go to OData Service view
  3. Show Custom OData Services
  4. Open your PDI created OData service
  5. Ensure that the extended fields do exists in Extension BO and OData services 
  6. If in case, its removed from BODL then please remove the field from the XOData service as well. 

Note: This is valid also for renaming or change of Data -type of extension field from Cloud Application Studio.

In the event the field is not present in the UI or if the custom OData or extended SAP OData service then please raise a case in component AP-RC-ODF and request further assistance. 

Keywords

Odata; Adjust OData service;Removed,Renamed,Change of Datatype , KBA , xodata , AP-RC-ODF , OData framework (C4C Only) , How To

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions