SAP Knowledge Base Article - Public

3836291 - Error "The system cannot process more than one condition type in one session" occurs in the API_PRELIMINARYBILLINGDOCUMENT – SAP S/4HANA Cloud Public Edition

Symptom

When using the API_PRELIMINARYBILLINGDOCUMENT and attempting to PATCH multiple PricingDocumentItemElement records within a single $batch request, the system returns the following error message: "The system cannot process more than one condition type in one session".

Environment

SAP S/4HANA Cloud Public Edition

Cause

This is the system behavior of the API_PRELIMINARYBILLINGDOCUMENT service regarding pricing condition updates. The changing pricing elements in the first batch may impact subsequent conditions.

Resolution

Split each PATCH into a separate session.

See Also

Keywords

API_PRELIMINARYBILLINGDOCUMENT, preliminary billing document, pricing condition, PATCH, condition type, pricing recalculation, PricingDocumentItemElement, multiple conditions, session , KBA , SD-BIL-PBD-2CL , Preliminary Billing Documents (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions