SAP Knowledge Base Article - Public

2544918 - Error Message "BO Action or Query is Invalid or Missing"

Symptom

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

  1. Go to Application and User Management work center
  2. Select Odata Services view
  3. Show -> Custom Odata Services
  4. Edit the Service (any of the available service)
  5. Go to Function Imports
  6. Fill the required details and select the value selection for BO Action/Query

No records.

Select Save, system throws above error message

Cause

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.

Resolution

The system is working as expected.

Keywords

KBA , custom odata , bo action or query is invalid or missing , AP-RC-ODF-BYD , OData Framework and Console (ByD) , How To

Product

SAP Business ByDesign all versions