Data types are the basic components of interfaces and define simple or complex XML data structures that you create or import in a data type editor.
With SAP Process Integration (PI), you determine the structure of data types based on their classification.
The various data types are as follows:
Freely modeled data types.
Core Data Types (CDTs).
Aggregated data types.
SAP uses CDTs and aggregated data types to create the signature of enterprise services.
The modeling of CDTs and aggregated data types is based on the United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT) Core Component Technical Specification (CCTS) (see also ISO 15000-5). The methodology formulated by the UN/CEFACT committee defines semantic modules (core component types) independently of syntax, which take account of the current requirements for the generic description of business data. The implementation of this methodology facilitates the realization of cross-company processes. In SAP, a CDT defines a primary component (also referred to as a content component) and one or more optional supplementary components.
The character of a CDT is defined using a representation term (for example, Amount). Unlike freely modeled data types, CDTs also contain additional information about the semantics of data types. SAP currently identifies 25 representation terms for CDT (for example, Amount, Text, Identifier, Date, Time, Name, and Description).
Caution
The representation term of a CDT defines semantics for a more accurate characterization of the data type, but does not yet define business-relevant semantics with a specific reference to business processes. For example, the characterization of a data type with the Amount representation term indicates that the value of this type must also be specified more precisely with a currency. This type of mandatory characterization does not apply to free modeling of this category of data type as an XML Schema Definition (XSD) type (for example, xsd:decimal).Global Data Type (GDT)
The business semantics are contained in the SAP GDT. GDTs are based on CDTs, and are used across SAP as a basis for application-specific data types. However, in contrast to the former categories of data type, GDTs are not intended for a specific usage. A GDT is designed to be reused later in many different application scenarios. GDTs are therefore rather broad and need to be refined when they are used in a specific application. CDTs are not application-specific and are therefore also described as context-free.
SAP creates a GDT as a CDT or aggregated data type in the Enterprise Services Repository (ESR). This creation depends on whether the GDT merely enhances a CDT with business semantics or whether CDTs (and any aggregated data types that may already exist) are used in a new, aggregated data type.