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

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 1211 ; SAP Cloud for Customer 1302 ; SAP Cloud for Customer 1305 ; SAP Cloud for Customer 1308 ; SAP Cloud for Customer 1311 ; SAP Cloud for Customer 1402 ; SAP Cloud for Customer 1405 ; SAP Cloud for Customer 1408 ; SAP Cloud for Customer 1411 ; SAP Cloud for Customer 1502 ; SAP Cloud for Customer 1505 ; SAP Cloud for Customer 1508 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP Cloud for Sales 3.0 ; SAP HYBRIS C4C 1705 ; SAP HYBRIS C4C 1802 ; SAP HYBRIS C4C 1805 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711 ; SAP Sales OnDemand 1.0 ; SAP Sales OnDemand 2.0 ; SAP Sales OnDemand 4.0