SAP Knowledge Base Article - Public

3048941 - [Activate] An Exception With the Type /EXT/CX_HANA_GENERATION Occurred, but was Neither Handled Locally, nor Declared in a RAISING Clause

Symptom

Error when activating an XBO in the Cloud Applications Studio.

Environment

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

Reproducing the Issue

Activate the XBO with customers permission and observe the error: [Activate] An Exception With the Type /EXT/CX_HANA_GENERATION Occurred, but was Neither Handled Locally, nor Declared in a RAISING Clause in the studio error list.

Cause

Too many extension fields on XBO or size of memory used by extension fields on the XBO exceeds the max allowed.

There is a specific limit on the quantity of extension fields and the size per Business Object. The quantity limit of fields is 744 and the aggregate length is 15000.

Resolution

There is no way to change this to a higher value. The suggestion is to analyze the scenario and remove the unused and not necessary fields.

You can have an overview of the fields under Administration work center:

  1. Go to Administrator work center.
  2. Open General Settings.
  3. Go to Adaptation Changes.
  4. Open Extension Field Usage.
  5. There you will see the following information: Business object, number of fields created, allowed number of fields (remaining fields to create), aggregate length and aggregate length allowed (remaining size).

See Also

See the documentation available in the Help Portal for more information: Exceeding Extension Field Limit

Keywords

PDI, Cloud Studio, Activation, Error, CX_HANA_GENERATION, RAISING Clause, Custom, XBO, Extension Business Object, Extension Field, SDK , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , AP-RC-BDS-1O , ByDesign Studio OneOffs , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , AP-RC-BDS-EXT , ByDesign Studio Extensibility , Problem

Product

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