SAP Knowledge Base Article - Public

2867965 - Webservice Message Monitoring Error: Specified value 4 not valid for Status

Symptom

You are replicating sales orders to C4C using the web service interface CustomerOrderReplicationIn and receive the error message "Specified value 4 not valid for Status".

Environment

SAP Cloud for Customer

Cause

 The payload of the failed message sends following content that causes the failure:
 
 
<Item>
...
<ItemProcessStatusCode>4</ItemProcessStatusCode>
....
</Item>

Status values are:
1 Open
2 In Process
3 Completed
4 Inactive Version

Code value 4 (Inactive Version) is used only for quote versioning
and requires another quote with same VersionGroupID, which is active and linked by a special BTD-reference.

As versioning is for the whole quote, either the root and all items have status Inactive Version or none has this status.

As versioning is only for quotes, the status Inactive Version is not allowed for orders.

Resolution

This invalid status value is being checked now after a correction.
However an older middleware mapping version sets 4 as default value if the ERP system does not send any value for this status.
After updating your middleware mapping, details see attached screen shot the issue will not occur for new messages.

Mapping_itemProcessStatusCodeExamplewithPI.JPG

Keywords

Error, third, party, ProcessStatusCode, Webdienst-Nachrichten, Überwachung , KBA , LOD-LE-CQP , Customer Quote Processing , Problem

Product

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

Attachments

Mapping_itemProcessStatusCodeExamplewithPI.JPG