cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to locate sap:updatable or sap:creatable tags in metadata for SAP S/4HANA OData V4 APIs

SidhantMahajan
Discoverer
0 Kudos

Hi Team,

For any OData V4 APIs in SAP S/4HANA Cloud or On-premise, when we query for the $metadata for any service, we do not find these tags anymore: sap:creatable, sap:updatable, sap:delectable, etc to know if each entityset or field/property within an entity is supported for these operations or not.

Have we changed the mechanism to check this information on the compatibility? 

Would be really helpful if someone in SAP S/4HANA product team can help us in answering this question since we are unable to know that which all fields supports what all operations within an entity by looking at the metadata which was pretty much clear in OData V2 APIs. @SAPSupport 

Regards,

Sidhant Mahajan

View Entire Topic
madhusudhan0492
Employee
Employee
0 Kudos

Hi Siddanth, 

                      In SAP S/4HANA Cloud or On-premise, the OData V4 specification has introduced changes compared to OData V2, including how metadata and annotations are handled. In OData V4, the annotations such as sap:creatable, sap:updatable, and sap:deletable have been replaced or restructured, and they may not appear in the same way as in OData V2.

Please refer to the following SAP document and follow the section Enhancement of the OData Model.

https://help.sap.com/doc/saphelp_nw75/7.5.5/en-US/34/1823349ed04df1813197f2a0d71db2/content.htm?no_c...

 

Thanks and regards,

Madhu Sangam

SAP Support