SAP Knowledge Base Article - Public

3505214 - Performance Issue When Creating Billing Documents - S/4HANA Cloud

Symptom

Some deliveries have more than 1.000  lines and even 3.000 lines. When creating billing document with reference to the delivery the performance is quite poor and sometimes the timeout error occurs.

Environment

SAP S/4HANA Cloud Public Edition

Cause

The number of items are so large, which will cause the performance issue when creating billing document. As you know for each item quite many logics are triggered such as pricing module.

Number of items.
   The processing of 1000 documents with 10 items is much faster than the processing of 10 documents with 1000 items. 
   In the best case the formula is N*log(N) where N is the number of items. 

Resolution

In future business, try to avoid such large number of items in billing due list items. Please check with the business users why such large number items exist and there must be an alternative way to avoid it.

Keywords

KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , SD-BIL-2CL , Billing (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition 2402