09-12-2018 10:11 AM - edited 02-04-2024 4:18 AM
In S4Hana Cloud, how the odata service generated?
For example of the scenario "SAP_COM_0106", when I new a communication agreement,
scenario like "SAP_COM_0XXX" can be selected from scenario select dialog, but how these scenario generated? (Except custom scenario).
Are they generated by SAP self?
. The point is:
I want consume an OData service (not customized) in my SapUI5 app, but the odata service's $metadata that returned with all properties of entity's are not filterable.
eg. <Property Name="DeliveryDocument" Type="Edm.String" sap:filterable="false"/>
But I want the "sap:filterable" property "true" or default(null) that show the property on my form for a search condition.
Anyone can help, please?
Hello Wj,
In order to filter the results returned by the OData service, you can use the $filter parameter.
More details on how to do this here.
If you want to select a given entity and not just apply a filter, you can use a call similar to:
/A_OutbDeliveryItem(DeliveryDocument='{DeliveryDocument}',DeliveryDocumentItem='{DeliveryDocumentItem}')
See the details on how to do this kind of calls on the API Hub.There is only a restricted set of changes allowed on the OData services delivered by SAP.
Also, no writing capabilities are allowed via Custom CDS Views as per 1808.
If you need extra details, let me know.
Regards,
Adriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.