Entering content frameProcedure documentation Editing Inheritance Templates Locate the document in its SAP Library structure

Use

This procedure describes how you create and change an inheritance template.

Prerequisites

Procedure

  1. In the Structure link Product Safety menu, choose Specifications ® Edit specifications.
  2. The Edit Specification: Initial Screen appears.

  3. Choose Specification ® Inheritance ® Edit templates.

The Edit Inheritance Templates dialog box appears. The group overview of the inheritance templates is displayed.

Note

You can also call the group overview of the inheritance templates in the same way from the Edit Specification: Hit List, Edit Specification: Header, or Edit Specification: Property Tree screen.

Creating Inheritance Templates

  1. Position the cursor on the group in which you want to create an inheritance template and choose This graphic is explained in the accompanying text.
  2. The Create Inheritance Templates dialog box appears.

  3. On the Hdr and Desc. tab pages, enter data as required, choose This graphic is explained in the accompanying text, and confirm the confirmation prompt by choosing Yes.

The inheritance template is added to the group as a group entry.

  1. Choose the inheritance template by double-clicking the group entry.
  2. If required, specify usages, identifiers, and value assignment types whose data, with the aid of the inheritance template, is to be used for inheritance. Note the following:

Note

In general, only active identifiers and value assignments are passed on, in other words only the identifiers for which the Active indicator is set. If you set the All usages indicator in the inheritance template, inactive identifiers and value assignments as well as identifiers and value assignments without a usage are passed on too.

      1. Choose This graphic is explained in the accompanying text.
      2. In the property tree, use the This graphic is explained in the accompanying text function to select the required value assignment types and confirm the selection.

If you do not specify any value assignment types and do not set the All value assignment types indicator, no value assignments are passed on.

Example

Usages

Rating

Validity Area Category

Validity Area

Inheritance

PUBLIC

<empty>

<empty>

All data rated as PUBLIC, regardless of the validity period

<empty>

REGION

REG_EU

All data that applies to REG_EU, regardless of the rating

Identifiers

Language

Identification Category

Identification Type

Inheritance

<empty>

NUM

<empty>

All numbers

<empty>

NAM

PROD

Product names in all languages

Example

The validity areas are broken down according to countries and regions by the SAP System. The following entries are therefore not permitted:

Ratings only overlap if you combine a certain rating with the entry <empty> (All ratings). PUBLIC/DE and <empty>/DE, for example, is therefore not permitted.

Since the system checks whether the usages linked by OR and not by AND overlap when you enter<empty> (All ratings), you can, however, enter PUBLIC/DE and <empty>/REG_WORLD, for example.

Identification types only overlap if you combine a certain identification type with the entry <empty> (All identification types). NUM/CAS and NUM/<empty>, for example, is therefore not permitted.

  1. If required, set one or more indicators under Permitted change options. You use these indicators to specify whether the value assignments passed on using the inheritance template can be changed temporarily or permanently and whether the inheritance relationship can be deactivated:

If value assignments that you have overwritten in the target specification are then changed in the source specification, the corresponding value assignments in the target specification are also replaced again by the value assignments in the source specification.

As soon as the value assignments that have been passed on have been overwritten once, changes made to the corresponding value assignments in the source specification are no longer passed on to the target specification. The value assignments overwritten in the target specification can be passed on again.

  1. Choose This graphic is explained in the accompanying text and then This graphic is explained in the accompanying text.

Changing Inheritance Templates

  1. Double-click the inheritance template that you want to change.
  2. Change usages, identifiers, and value assignment types as required whose data, with the aid of the inheritance template, is to be used for inheritance. Note that when you edit an inheritance template that has already been used in an inheritance relationship, you can only change it if data that has been passed on is not deleted. A corresponding warning is displayed if an inheritance template that you want to change is already being used. When you change an inheritance template, the system automatically prevents you from making changes to the inheritance template that are not permitted. In detail, this means that:

For example, instead of the validity area DE you can define all validity areas or a region of DE, such as DE_BW, since all data records that are valid for DE_BW are always valid for DE too because DE_BW is contained in DE.

For example, you can delete the usage INTERNAL/US from the usages PUBLIC/DE and INTERNAL/US.

When you enter data, also note the information given in the Creating Inheritance Templates section.

Caution

You can no longer undo changes that you make to an inheritance template already being used in an inheritance relationship after you have saved the data, since the background job may pass on the corresponding data immediately.

  1. Choose This graphic is explained in the accompanying text and then This graphic is explained in the accompanying text.

Result

You can use the inheritance template in inheritance in order to create inheritance relationships between specifications.

If you have changed an inheritance template that is used in an active and consistent inheritance relationship, this inheritance relationship is assigned the status Ready to inherit. The system then starts the background job for the inheritance. This background job updates the data in the target specification in accordance with the changed inheritance template.

Leaving content frame