SAP Knowledge Base Article - Public

3677777 - EDI Integration fails with error "No valid SoldTo party can be determined"

Symptom

Business Partner for the relevant Sold-To party has the correct roles - FLCU01 (Customer) and FLCU00 (FI Customer) and Mapping exists in SSCUI - "Convert External to Internal Partner Numbers(101300)" for the respective Sold-To party and its external ID. however, during inbound EDI sales order processing, the message fails with following error and warning:

  • Warning: Function/Class EDI_SD_ORDR_PROCESSING was not executed successfully
  • Error: No valid SoldTo party can be determined

Environment

SAP S/4HANA Public Cloud Edition

Cause

The issue occurs due to the priority configuration in the formula defined under SSCUI - "Define Formula for Internal Partner Number(104805)", because system always checks the parameters based on the assigned priority. 

If the parameter with the highest priority(e.g. CUSTOMER_ID) is not present in the EDI payload, the system does not continue to look for the next lower-priority parameter(e.g. BUYER_PARTY_ID or PARTNER_FUNCTION) even if it is passed in the EDI payload, leading to failed partner determination.

NOTE: Parameter names such as CUSTOMER_ID, PARTNER_FUNCTION and BUYER_PARTY_ID are commonly used in 2EL document type, but they can vary based on customer-specific configurations.

Resolution

To resolve this issue:

  1. Open the configuration activity "Define Formula for Internal Partner Number (SSCUI ID: 103722)".
  2. Identify the formula used in your EDI partner mapping.
  3. Check the priority assigned to each parameters(e.g. CUSTOMER_ID, PARTNER_FUNCTION_ BUYER_PARTY_ID) under the section "Assign parameter priority".
  4. Ensure that either of the following conditions is met:
    • The EDI payload contains the parameter that has the highest priority(e.g. CUSTOMER_ID), OR
    • If the EDI payload does not include that parameter, reassign the highest priority to the parameter that is being passed(e.g. BUYER_PARTY_ID) in the EDI payload.
  5. save the changes.

See Also

Convert External to Internal Partner Number | SAP Help Portal

Keywords

No valid SoldTo party can be determined, EDI_SD_ORDR_PROCESSING, Function/Class EDI_SD_ORDR_PROCESSING was not executed successfully, Convert External to Internal Partner Numbers, Define Formula for Internal Partner Number, EDI, payload, Assign parameter priority, FLCU01, FLCU00, External ID, BUYER_PARTY_ID, PARTNER_FUNCTION, CUSTOMER_ID , KBA , SD-SLS-SO-2CL , Sales Orders (Public Cloud) , SD-SLS , Sales , Problem

Product

SAP S/4HANA Cloud Public Edition 2508