Using Advanced Characteristics Maintenance Functions

Objective

After completing this lesson, you will be able to explain advanced functions of characteristics maintenance.

Using advanced Characteristics maintenance functions

Screens for Characteristics Management

When classifying SAP master data, you can either use value tables or link a characteristic to a table field.

Depending on the approach used, the following tab pages may be relevant:Basic Data, Values, Additional Data, and Restrictions.

The following video explains the functions available on each of these screens.

Additional Data Types

You are already familiar with the numeric (NUM) and character (CHAR) formats. The following video introduces three additional formats: date, time, and currency.

Value Assignment

The value assignment attribute controls whether a characteristic can have only one value or multiple values assigned to an object. The image below shows the different options.

The difference between single value and multiple value selection. The single value section shows a color selection with radio buttons, where only one option (Blue) can be selected. The multiple value section shows transport options with checkboxes, where multiple options (Post, Rail, Courier) can be selected simultaneously.

After saving a characteristic, the value assignment cannot be modified and cannot be overridden at class level.

When you initially create a characteristic, you define the allowed characteristic values. Users cannot search for values that have not been permitted. But what if users later request additional values?

This is possible. To add additional values to the standard F4 help of a characteristic, you can use an appropriate report.

The following video explains how additional values are handled.

Value Hierarchies

You can use value hierarchies to structure characteristic values, which makes selecting a value easier for users. The following image shows an example of a value hierarchy.

A hierarchy chart titled Country of Origin categorizes countries by continent: Europe, Africa, Asia, and the Americas. Each continent lists several countries, with placeholders for additional entries.

Some additional considerations for value hierarchies:

  • Value hierarchies can be defined only for characteristics with the CHAR format.
  • You can create any number of hierarchy levels.
  • Value nodes themselves are not characteristic values. For characteristics that allow multiple values, selecting a value node automatically assigns all underlying end nodes as characteristic values.

Using Check Tables to Find Duplicate Values

So far, characteristic values have been entered manually without checking whether the same value already exists in the system.

To avoid duplicating values, you can use SAP fields that are linked to check tables.

The following video explains the use of check tables.

Checking Values with Function Modules

You can also use a function module to perform custom checks on characteristic values. This allows you to implement flexible validation logic, such as:

  • Storing algorithms for validating values in a function module

  • Performing format checks (for example, requiring specific digits at defined positions)

  • Accessing any table in the SAP system

  • Calling APIs (Application Programming Interfaces)

The image below shows an example of value checking using a function module.

Characteristics: How I work with Function Module?

Before you can use a function module, it must first be created in the ABAP Workbench. The program code must follow the predefined interfaces described in the SAP Library.

You can also create an additional function module to display the possible values that are determined by the first function module.

How to Use Advanced Characteristics Maintenance Functions

Introduction

Your initial tests have shown that additional characteristics are required. In this context, you also want to explore further characteristic formats, templates, and additional options available when maintaining characteristics.

Task 1: Create Characteristics for Packaging

The following video demonstrates how to create a characteristic that describes different types of packaging used for screws and bolts in your warehouse.

Task 2: Create Characteristics in Date Format

The following video shows how to create a date-based characteristic that defines the validity period for using a nut, bolt, or screw.

Create Characteristics for an Internal Description using a Template

The following video demonstrates how to create a characteristic that uses a template to enter an internal description for screws.