You observe the following error message 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)
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
The error can happen for other web service operations, like action, create, update, etc.
SAP Cloud Applications Studio
Reproducing the Issue
As prerequisite you have previously:
- Created a custom solution.
- Created a custom Business Object.
- Created a Web Service.
- Performed solution activation or solution check which raises the error.
- Activating the web service directly does not raise the error.
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.
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.
Activation, Failing, Query, not, assigned, to, Work, Centre, View, 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