SAP Knowledge Base Article - Public

2533968 - How To Query Text Fields In A Webservice

Symptom

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.

Cause

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

Resolution

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.

Keywords

KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

SAP Cloud for Customer core applications all versions ; SAP Hybris Cloud for Customer add-ins 1708