You are in the process of creating a Custom Odata Service and while adding Function Imports, system throws below error message:
"BO Action or Query is Invalid or Missing"
Reproducing the Issue
- Go to Application and User Management work center
- Select Odata Services view
- Show -> Custom Odata Services
- Edit the Service (any of the available service)
- Go to Function Imports
- Fill the required details and select the value selection for BO Action/Query
Select Save, system throws above error message
A function imports adds an alias to the OData service with which the user access released business object queries and released business objects action.
Queries can be used multiple times, each with a potentially different set of parameters. hence, if there is some query by elements queries on that business object, one could add it as function import byid and bydate with and id and date query parameter respectively. Using these would end in the query by elements Business Object query with the modeled parameters passed.
But it is the Business Object node, that provides the queries and actions. if there is none, there is none.
The address information has no queries.
The system is working as expected.
KBA , SRD-CC , Cross Components , How To