Managing Functions

Objective

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

Manage Functions

In this lesson, we explore the Manage Functions application. This application provides access to the comprehensive list of functions defined within your Universal Model. You can create, edit, copy, delete, undelete, run, and adjust the sequence of these functions to suit your preferences and operational needs.

Accessing and Viewing Functions

The Manage Functions application displays all functions created in the Universal Model. You can filter these functions to view the ones specific to your environment or use the semantic link under the Functions section of the General Information in your environment.

Creating and Configuring Functions

Creating a function is straightforward within the Manage Functions application. However, for detailed configuration—such as adding fields, conditions, or formulas—you must access specific applications associated with the function type. They include:

  • Manage Model Entity
  • Manage View
  • Manage Join
  • Manage Model View

Types of Functions in the Universal Model

There are several types of functions available, categorized into processing functions and model functions. Each serves a different purpose and can be used to build sophisticated business logic and calculations.

Process Functions:

  • Join: Combines data from multiple sources into one unified set.
  • View: Creates a specific perspective or subset of your data for targeted analysis.
  • Calculation: Performs arithmetic operations to generate new data insights.
  • Derivation: Establishes derived fields based on existing data.
  • Allocation: Distributes values across various dimensions for financial or resource planning.​

Model Functions:

  • Model Join: Similar to the Join function but specifically used within modeling contexts.
  • Model View: Constructs a model-specific view tailored to your environment's needs.
  • Model Calculation: Performs calculations within the context of the model.
  • Model Derivation: Creates derived fields within the model.
  • Model Allocation: Manages value distributions in modeling scenarios.
  • Model Entity: Defines entities within your model.
  • Model HANA: Integrates with SAP HANA for advanced processing.
  • Model Reference: Links models or functions to reference data or other model components.

Buttons and Features in Manage Functions

The application offers various buttons to manage functions effectively:

  • Create: Allows you to define a new function.
  • Edit: Enables updates to an existing function.
  • Copy: Duplicates an existing function for reuse.
  • Delete: Permanently removes a function that is no longer needed.
  • Undelete: Restores a previously deleted function, if necessary.
  • Run: Executes the function to apply its logic and calculations.
  • Adjust Sequence: Allows you to rearrange the order in which functions are executed, based on priority or logical flow.

Importance of Function Management

Effectively managing and configuring functions is essential for:

  • Accurate Data Processing: Ensures that data is processed correctly to generate meaningful insights.
  • Operational Efficiency: Streamlines workflows by enabling quick adjustments and execution of functions.
  • Flexibility and Adaptability: Provides the ability to dynamically configure and reconfigure functions to meet evolving business requirements.

Entry Points and Environment Assignment

The image shows a user interface for creating a new environment in an application. The main elements include a Create Popup - Environment section where the user can select the environment to be created, and a Documents section displaying various function-related information. The overall interface appears to be part of a larger application or system.

When creating a function, the workflow begins based on where you access the Manage Functions application:

  • Home Screen Access: If you enter from the home screen, you will need to manually assign your environment.
  • General Information Access: If you enter from the general information of your environment, the environment will be pre-assigned.

Selecting Function Types

After accessing the Manage Functions application, you need to choose the type of function you wish to create from the provided list. Available function types include processing functions (e.g., join, view, calculation) and model functions (e.g., model join, model view).

General Information Screen for Functions

Upon selecting the function type and clicking Continue, you are directed to the General Information screen. Key elements on this screen include:

  • Function Name: Specify a clear, descriptive name for your function.
  • Description: Provide a brief description to outline the function's purpose.
  • App State: Typically set to "Active" if the function is to be used in subsequent activities. However, during initial setups or intermediate steps, this can be set to "Inactive."

Utilizing Semantic Links

Semantic links are highlighted in blue and serve as helpful navigational tools, enabling you to quickly access relevant configuration screens:

  • Type Link: Clicking on this link takes you directly to the configuration screen, such as "Model Entity."
  • Environment Link: This link directs you to the general information of your environment.

Configuring Functions

While the Manage Functions application is used for creating functions, the detailed configuration occurs in applications like Manage Model Entities. These configurations are essential for defining the function's logic and operations:

  • Adding Fields: Include relevant fields required for the function.
  • Adding Conditions and Formulas: Define the conditions and formulas that will drive the function's logic.

Importance of Proper Function Management

Efficiently creating and configuring functions ensures that:

  • Streamlined Workflow: Navigating through semantic links and pre-assigned environments reduces the time and effort required in the setup process.
  • Operational Readiness: Setting app states correctly ensures functions are promptly available for use in business processes.
  • Accurate Configuration: Seamless access to configuration screens allows for precise definition of function logic and elements.

In this video you will learn how to create your ever first environment in the Universal Model.