SAP Knowledge Base Article - Public

2804044 - Query or read operation in web service not assigned to work center view

Symptom

You observe either the following error messages while activating your custom PDI solution:

  • Query Operation (e.g. QueryByElements) in web service XYZWS not assigned to work center view" (web service XYZWS refers to the web service name)
  • Read Operation (e.g. Read) in web service XYZWS not assigned to work center view" (web service XYZWS refers to the web service name)

Errors.png

The error can happen for other web service operations, like action, create, update, etc.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP Cloud Applications Studio
SAP Cloud for Customer
SAP Business ByDesign

Reproducing the Issue

As prerequisite you have previously:

  1. Created a custom solution.
  2. Created a custom Business Object.
  3. Created a Web Service.
  4. Performed solution activation or solution check which raises the error.
  5. Activating the web service directly does not raise the error.

 

Cause

This will occur when a query or read operation is not assigned to a Work Center View in the related WSAuth file in the solution. Direct activation of the WS will complete without issue. The error will occur on solution activation or when running a check operation on the solution.

Resolution

Open the WSAuth file associated with the web service and ensure that the operation mentioned in the error is checked to be included in the Work Center view.

assign.png

Keywords

Activation, Failing, Query, not, assigned, to, Work, Centre, View, Read, Query, Operation (e.g. QueryByElements), in, web, service, XYZWS, not, assigned, to, work, center, view , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , How To

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions