Managing Fields

Objective

After completing this lesson, you will be able to create your first field in the Universal Model.

Manage Fields

Understanding the types of fields available is crucial for effective environment modeling. Let's break down the key field types:

The image shows a detailed data model or schema diagram for a software application. It includes various entities and their relationships, such as Environment, Folder, Field, Characteristic, Key/Figure, Currency, Unit, In-Data, and Association. The diagram illustrates the structure and connections between these components within the application.

Characteristics

Characteristics are used to define character strings and can include various subtypes:

  • Boolean: Represents true or false values.
  • Date and Time: Captures specific dates, times, or timestamps.
  • Strings: Includes large strings, regular strings, and specific time-related strings.
  • UUID (Universal Unique Identifier): This is essential for creating unique identifiers for records. When creating certain functions, specifying a key is often necessary, and this key is typically generated as a UUID.

Key Figures

Key Figures are typically used for calculations and numeric representations:

  • Decimal and Double: Used for precision-based numeric values.
  • Integer Types: Includes small integers, tiny integers, and standard integers for various numeric storage needs.
  • Amount: Represents monetary values and must be associated with a currency field.
  • Quantity: Used for defining numerical values related to specific units (for example, distance, weight).

Data Comment

Data Comment fields are used to store additional information such as attachments, notes, and comments related to specific data sets.

Association

Association fields are covered in more detail in Unit 6. They play a role in linking related data sets within the environment.

Creating and Managing Fields

Let’s break down the essential functions for creating and managing fields within the application:

  • Create: Allows you to define a new field, such as a characteristic, key figure, or data comment.
  • Edit: Update existing fields to reflect changes in data requirements or business logic.
  • Copy: Duplicate a field’s configuration to reuse it elsewhere, ensuring consistency and saving time.
  • Delete: Remove fields that are no longer necessary, provided they are not in use within the modeling or runtime environment.

Guided Tours via SAP Companion available in the Help Menu on the right side of the screen can assist you in performing these actions step-by-step.