SAP Knowledge Base Article - Public

3034172 - Data Type is not supported error on Activation of Business Objects

Symptom

You are trying to activate your Business Object but are getting below errors pointing to certain extension fields:

"Data type 'XYZ' is not supported. Use values suggested by code completion"

(where XYZ is a standard data type)

Environment

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

Reproducing the Issue

Prerequisites:

  • You have created a Custom Solution.
  • You have created a Business Object.
  • You have created an Inbound Web Service (.webservice) for your Business Object.

To Reproduce:

Activate the Business Object OR Activate All Items OR Split Activate Solution.

Cause

You have added an abbreviation to the Web Service which uses the same name as the existing data type, XYZ. Now there are two data types present in the Solution; one in the partner namespace, and one in the standard namespace.

When the compiler tries to find the appropriate data type, precedence is always given to data types present in the partner namespace. As the data type in the partner namespace is not allowed to be accessed in BODL/ABSL, the error is thrown.

Resolution

Modify the abbreviations in the Web Service to another name (which is not a duplicate of a standard data type).

Keywords

PDI, SDK, webservice, web service, datatype , KBA , AP-RC-BDS-EXT , ByDesign Studio Extensibility , AP-RC-BDS-WS , ByDesign Studio Web Services , 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