SAP Knowledge Base Article - Public

2171665 - Error : Data type 'ABC' is not supported. Use values suggested by code completion

Symptom

You will receive the error Data type 'ABC' is not supported. Use values suggested by code completion, where ABC is a complex data type.

Reproducing the Issue

You are using a data type for example GLOBAL_DateTime in extending a standard business object using SDK. But you will receive the error while checking, Data type 'GLOBAL_DateTime' is not supported. Use values suggested by code completion, even though you will get these data types in the list of data types  that can be used.

DateType.png

 

 

 

Cause

Complex Data Types are not supported in the Extension Framework hence in this case the data type GLOBAL_DateTime cannot be used in XBO definition.

Resolution

You should use the basic data types if you are using Extension of standard BO. Below are the examples of basic data types that will be supported in Extension Framework.

  • Amount
  • Date
  • DecimalValue
  • CodeList – SAP code lists
  • ID
  • Identifier – SAP identifiers
  • Indicator
  • Quantity
  • Time
  • LANGUAGEINDEPENDENT_EXTENDED_Text
  • WebURI
  • EmailURI

 

See Also

You can find the basic data types that can be used for extension in the following link:

http://help.sap.com/saphelpiis_studio_1502/KTP/Products/bf889ebdf45d4dd19d4a0e0bd39a07fb/LibraryStructure/SAP_BBD_Studio.html

And the path is:--

SAP Cloud Application Studio-> Scripting Languages -> Scripting Language for the Studio -> Element.

 

Keywords

KBA , SRD-CC , Cross Components , How To

Product

SAP BUSINESS BYDESIGN 1611 ; SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP Business ByDesign 1502 ; SAP Business ByDesign 1505 ; SAP Business ByDesign 1508 ; SAP Business ByDesign 1511 ; SAP Business ByDesign 1602 ; SAP Business ByDesign 1605 ; SAP Business ByDesign 1608 ; SAP Business ByDesign 1702 ; SAP Business ByDesign 1711 ; SAP Cloud for Customer 1502 ; SAP Cloud for Customer 1505 ; SAP Cloud for Customer 1508 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP HYBRIS C4C ADDINS 1705 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711 ; SAP LE APPL. PLATFORM 1602 ; SAP Sales OnDemand 4.0