AS ABAP Release 757, ©Copyright 2023 SAP SE. All rights reserved.
ABAP - Keyword Documentation →
ABAP - Rules for Strict ABAP →
Contract Rules for Released APIs →
C1 Contract Rules →
C1 Contract Rules for API Providers →
C1 Contract Rules for Providing Elementary Data Types
Elementary data types can be released as follows:
- In ABAP Dictionary and ABAP CDS based on DDIC built-in data types
- Standalone as DDIC domains or data elements
- Component types of DDIC structures or database tables
- Element types of CDS entities
- In ABAP language based on built-in ABAP types
- Public types of global classes or interfaces
- Types of interface parameters of methods, events and function modules
A provider of an elementary type must obey the following rules:
- The built-in data type must not be changed with the following exceptions:
Those may be replaced by an integer type with a larger value range.
- The length must not be changed with the following exceptions:
- DDIC built-in data types CHAR, SSTRING,
DEC, CURR, QUAN, DF16_DEC and DF34_DEC
- Built-in ABAP types c and p
The length must not be decreased.
- The number of decimal places must not be changed with the following exceptions:
- DDIC built-in data types DEC, CURR, QUAN, DF16_DEC and DF34_DEC
- Built-in ABAP type p
The number of decimal places must not be decreased.