Designing a Data Type 
To access the Enterprise Services Repository, use transaction code SXMB_IFR.
Choose Enterprise Services Builder and log on if you are prompted.
The Enterprise Services Builder is used to access the objects in the Enterprise Services Repository.
In the Design Objects tab, select a software component and version.
Objects are organized by software component versions and namespaces. The dependencies defined for software components allow objects to be reused to build different enterprise services.
Within a software component, select and expand a namespace.
Now you can design a data type, a message type, and a service interface.
Open the context menu, then choose New.
Open the Interface Objects section and select Data Type.
Specify a name, a namespace, and a software component version for the data type.
Select one of the following classifications for the data type:
Free-Style Data Type |
You can define elementary or complex data types based on the data types defined by XML Schema. For example, “date” (xsd:date), “string” (xsd:string) or “integer” (xsd:integer). You can define attributes for the data types, such as occurrence, a value range, optional or mandatory. |
Core Data Type |
A core data type consists of a content component and one or more optional components. For example, for an amount of a particular currency, the amount would be the content component, and the currency unit would be the optional component. Select a representation type. The representation type determines which optional components are available for the data type. |
Aggregated Data Type |
An Aggregated data type allows you to combine core data types to form complex data types. When you design an aggregated data type, you can only create elements that reference core data types or other aggregated data types. |
Create.
Activate.
Once they are saved in the Enterprise Services Repository, the data types need to be activated so that they can be used for proxy generation.