SAP Knowledge Base Article - Public

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

Symptom

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

"Query Operation (eg. QueryByElements) in web service XYZWS not assigned to work center view"

(web service XYZWS refers to the custom name of the web service)

Errors.png

Environment

SAP Cloud Application Studio

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 operation is not assigned to a Work Centre 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

Check the WSAuth file associated with the Web service and ensure the operation mentioned in the error is checked to be included in the Work Centre view

assign.png

Keywords

Activation Failing, Query not assigned to Work Centre View, Query Operation (eg. QueryByElements) in web service XYZWS not assigned to work center view , KBA , AP-RC-UIF-ACC , UI Runtime Accessibility Issues , Problem

Product

SAP Business ByDesign 1905 ; SAP Cloud Applications Studio all versions