SAP Knowledge Base Article - Public

2774011 - Error While Creating Business Partner: "Number Range Depleted"


You are trying to create a new business partner (for example, a service agent), but the creation fails with error message "Number range depleted".


  • SAP Cloud for Customers
  • SAP Business ByDesign

Reproducing the Issue

  1. Go to Business Partner work center
  2. Access the Service Agent work center view.
  3. Click the New button, then select Service Agent.
  4. Maintain all mandatory fields.
  5. Click Save or Save and Close.
  6. Error message "Number range depleted" is raised.


The error is raised when you try to exceed the limit of the number range maintained for Business partners. Most business partners (like accounts, contacts, etc.) share the same number range and the error can be raised while creating any of them.


Please extend the number ranges for business partners by following the steps below.

  1. Go to Business Configuration work center.
  2. Access the Overview work center view.
  3. Search and open the activity General Business Partners.
  4. Select Define Number Ranges for Business Partners.
  5. Maintain the number ranges as required.


  • It is not possible to create different number range specific for accounts, contacts, business partners.
  • When you create a business partner, you may use internal number ranges if you want the system to automatically assign a number.
  • When you create a business partner, you may use external number ranges if you want to enter the number manually.
  • Create number ranges with sufficient intervals to avoid future complications.
  • Ensure that the intervals of internal and external number ranges do not overlap.
  • Ensure that the ID length specified is not shorter than the length of any IDs that are currently in use in the system.
  • Changing previously assigned number ranges can lead to problems in the system.
  • If a business partner is already available in the system, you would not be able to change the beginning number of the number range interval, as there is a veto check in the backend that blocks the change if the ID of an existing business partner would be left outside the new number range. As such, the goal is always to change the end number of the interval to allow for new values (always observing that existing number ranges do not overlap).
  • It is not possible to delete the master data (accounts, contacts, business partners etc.) once it is created in the system.
  • The internal number ranges are used automatically by the solution during productive use, for example, if you create the data directly in the work centers' UI.
  • We recommend that you use the predefined number ranges.
  • Change the predefined number ranges only if necessary and mind the consequences.
  • When you create business partners using the web services, where you manually specify the IDs in the request payload, the numbers will be taken from the external number range. When you create them using web services, where you do not specify the IDs in the request payload, the numbers will be automatically taken from the internal number range. The same applies for Data Workbench/OData as well.
  • The external number range from "A" to "ZZZZZZZZZZ" is not open for editing and cannot be changed. The allowed characters are: "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-/:\." 
    This interval allows to maintain alphanumerical IDs for business partners, but IDs must always start with a letter. So, for example ".A123" is not allowed but "A.123" is allowed.

See Also

Determine your Strategy for Number Range Assignment

Account ID range in C4C


Business Partners, business partner number range assignment, individual customers, accounts, account, contacts, contact, supplier , KBA , LOD-LE-BP-BP , Business Partner , How To


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