SAP Knowledge Base Article - Public

2533968 - How To Query Text Fields In A Webservice


You are trying to query your webservice for a custom text field but it will not accept the parameter.

Reproducing the Issue

Prerequisite: You created a webservice for any BO and are trying to query a custom (KUT) field XXX created for that BO.

  1. You execute the query entering the value of field XXX.
  2. The query returns the wrong results.


You only added part of the field value. For example, your text field has the value 000000000000000000000000000997766 and you were searching for 997766.


If you want to do a query based on a text field, this means the value you use has to be the actual correct text from the UI.


KBA , SRD-CC , Cross Components , How To


SAP Cloud for Customer core applications all versions ; SAP Hybris Cloud for Customer 1708