SAP Knowledge Base Article - Public

3149615 - Maximum length reached for BO (Custom BO)

Symptom

While activating your custom solution in SAP Cloud Applications Studio, one of the following error messages can be seen:

  • Maximum length reached for BO 'ABC' node 'DEF'. (where 'ABC' refers to a custom BO, and 'DEF' refers to the custom BO node)
  • Number of elements in the 'DEF' node has reached the maximum limit.  (where 'DEF' refers to the custom BO node)

Environment

  • SAP Cloud Applications Studio
  • SAP Cloud for Customer 
  • SAP Business ByDesign

Reproducing the Issue

As a prerequisite you have previously:

  1. Created a custom add-on in SAP Cloud Applications Studio.
  2. Created a custom Business Object (.bo).
  3. Added fields to the BO.
  4. Attempted to activate your solution.

Cause

If you create fields in a custom node (either in a business object or in an extension business object) using the Studio, and the total size of the fields is greater than 15,800 bytes, the system displays an error message.

For example, in client ABC, in the ROOT node of a custom business object, the total size of the fields is 15,700 bytes. In the same BO node, if you add one more field that uses a data type of more than 100 bytes, the system displays an error message.

An error also occurs if you create more than 742 fields in a custom node (either in a business object or in an extension business object) using the Studio.

For example, in client ABC, in the ROOT node of a custom business object, 742 fields are already created. In the same BO node, if you add one more field, the system displays an error message.

In solutions that don’t yet have a patch, this works differently from the extension field limit, as there’s no requirement for a buffer. This is because, when a patch solution is created, the namespace of the solution changes, resulting in a completely new table for the BO-NODE combination in the patch namespace.

Resolution

Delete the new fields for the same BO-NODE combination in the current version of the solution.

See Also

Keywords

PDI, SDK, .bo, maximum, length, reached, for, BO, number, of, elements, node , KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , How To

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions