SAP Knowledge Base Article - Public

2593219 - Error 'Value is longer than the maximum permitted length X: ABC' In Web Service Message Monitoring

Symptom

You replicate data from an external system (e.g. ERP, CRM etc.) and when the message arrives in Cloud for Customer (C4C), you notice that it fails with the following error message:

'Value is no longer than the maximum permitted length X: ABC' (X represents the length of the value and ABC represents the sent value)

Environment

SAP Hybris Cloud for Customer

Reproducing the Issue

Pre-requisites: you have a working communication scenario between C4C and an external system.

  1. You send e.g. Business Partners from your external system to C4C.
  2. Go to the Administrator work center.
  3. Open Web Service Message Monitoring in the General Settings view.
  4. Observe the failed message.

Cause

There are fields in C4C which have a maximum length of characters. Therefore, the value which exceeds this length is not processed by the system, so the message fails.

Resolution

This is expected system behaviour.

Please, check the problematic value in the payload and make the necessary changes, so the value is accepted in C4C.

Alternatively, you can create an extension scenario - where you use an extension field and map the IDOC element to it as well in the middleware.

In case you wish us to change this behaviour, you can also post your requirement in the SAP Cloud for Customer Ideas Forum.

Keywords

maximum permitted length, value longer, web service message monitoring error , KBA , LOD-CRM-INT-CRM , Integration of C4C with CRM , LOD-CRM-INT-ERP , Integration of C4C with ERP , How To

Product

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