SAP Knowledge Base Article - Public

3546780 - Sales Order or Sales Quote Replication from S/4HANA throws the Error: Enter party ID or party display ID

Symptom

You are trying to replicate SO from S/4 to Service Cloud V2 but you come across the following error message in the inbound payload received from S4H: "Enter party id or party display id"

Environment

  • SAP Sales Cloud Version 2
  • SAP Service Cloud Version 2

Reproducing the Issue

  1. Run the S4H report RCOD_SALES_ORDER_EXTRACT
  2. The incoming payload runs into the following error:


 {
            "code": "400",
            "message": "{\"error\":{\"code\":\"salesOrder.10201\",\"message\":\"Request payload is invalid\",\"details\":[{\"code\":\"salesOrder.11401\",\"message\":\"Enter party id or party display id\"}]}}"
        }

Cause

You have not maintained the Mapping configuration for Partner Number Type.

or

The Business partner has not been replicated from S/4

Resolution

  1. Maintain the Value Mapping for Partner Number Type for the Employee and Customer Number:
    • Go to Settings
    • Go to Value Mapping
    • Select the Mapping Group accordingly and select the Partner Number Type for Value Name
    • Fill out the External Values for Employee and Customer Number (e.g. AG, RE,RG, WE, ZM, VE..).

See Also

Also ensure you have the following external ID mapping setup in place:

  1. External Mapping maintained for the respective Part Number ID in the Account Business Partner schema:
    • Go to Settings
    • Go to External ID Mapping
    • for Mapping of, select: Account > Business Partner ID

(Note: For contacts the account and contact have to be replicated for the correct external ID mapping to be created from backend.
This is not yet available for creation via UI.)

Keywords

Sales order, Enter party id; party display id;salesOrder.10201;partnerDisplayId , KBA , CEC-CRM-INT , Integration for SAP Sales/Service Cloud , Known Error

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0