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.
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
- Text
- WebURI
- EmailURI
See Also
You can find the basic data types that can be used for extension in the following link:
And the path is:--
SAP Cloud Application Studio-> Scripting Languages -> Scripting Language for the Studio -> Element.
Keywords
KBA , SRD-CC , Cross Components , How To