Creating Customer-specific Characteristics in Margin Analysis

Objective

After completing this lesson, you will be able to understanding the Creation of Customer-specific Characteristics for Margin Analysis

Creating Customer-specific Characteristics in Margin Analysis

Very important for Henry is the set up of customer-specific fields and all related activities so that the field can be used as a dimension in Margin Analysis.

Characteristics are criteria according to which the results are analyzed.

Typical characteristics are:

  • Who? (customer group, sales channel, specific customer)
  • What? (Product, Product Group, Article)
  • Where? (sales region, country).

Characteristics are valid for all clients and are available for all operating concerns.

Characteristics are saved in a field catalog.

If postings exist for characteristics, they cannot be deleted.

In general, there are different ways of creating characteristics for margin analysis, including them in the desired operating concern, and, if necessary, maintaining the characteristic values.

Depending on the procedure you choose, you may have to use the system administrator and an application developer in addition to the business expert or implementation consultant.

One reason for this is that the characteristics created must also be included in the tables ACDOCA and ACDOCP.

A second reason is that the created characteristic is not automatically available in Margin Analysis reporting because it is not automatically included in the CDS views of Margin Analysis when characteristics are created and included in the operating concern.

SAP recommends to use the Custom Fields app to define characteristics for margin analysis if possible.

The procedure described as an example in the next lessons shows the technique recommended by SAP to create a characteristic for margin analysis, to include it in the operating concern, as well as in the tables ACDOCA and ACDOCP, and in the desired reporting CDS views of margin analysis.

Characteristics are added in the Custom Fields app using the Accounting: Market Segment business context and can be assigned to all delivered CDS views that are relevant for profitability analysis. And also to the CDS view for the universal journal.

Accordingly, they can then be used in all UIs and apps for Profitability Analysis.

The figure below shows an overview of the most important reporting apps in Margin Analysis, their app ID, and the CDS view assigned to the app:

The figure above gives an overview of Reporting apps in Margin Analysis

Note the following restrictions when using the Custom Fields app:

  1. Instead of including the example characteristics provided by SAP, the so-called predefined characteristics, into the operating concern using the Customizing of the operating concern, you should create the field manually using the app mentioned above and also to manually maintain the corresponding characteristic values in the app. This is initially more time-consuming, but has the advantage that you can perform the assignment of the field to the universal journal and the reporting CDS views of margin analysis as a business user.
  2. Scenarios such as "The customer characteristic of the sales region is to be logically linked to the characteristic sales employee because each employee is permanently assigned to a specific region" are technically not mapped using the Custom Fields app because the Custom Fields app does not include the functionality of characteristic compounding.

Maintenance of Derivation Rules

Characteristic derivation is the attempt to determine values for all CO-PA characteristics for all business transactions that are relevant to profitability analysis. The values of other, logically dependent characteristics are determined from the automatically transferred characteristic values. The derivation process can use information within and outside the source document.

The profitability segment to which the account assignment is made is created from the set of characteristic values that were created from the characteristic derivation.

Each derivation step describes how a set of target fields can be filled from a set of source fields. One or more values are derived from the combination of values in the source fields and set in the target fields.

Use the following menu path in Customizing to check and create derivation rules:

Controlling → Profitability Analysis → Master Data → Define Characteristic Derivation.

If you select View — Display all Steps, you can see all existing characteristic derivations.

You can use Create Step to define your own characteristic derivations.

The figure below shows the available characteristic derivation types and gives an example for each one.

Characteristic Derivation Type Derivation Rule

A derivation rule is an IF-THEN condition that determines which source characteristic values (or value combinations) result in which target characteristic values.

In the following example, the strategic business unit (ZZ1_STRAT_BUS_UN_MSE) is derived from the material group (MATKL):

  • Material group 100 to 101 → Strategic business unit electronics
  • Product Group 102 to 103 → Strategic Business Unit Multimedia.
The figure above gives an example of a Derivation Rule of type Derivation Rule

The derivation rule is most used in Profitability Analysis because it allows you to derive characteristic values based on different combinations of characteristics.

Derivation Rule Category Table Access

In the following example, the characteristic derivation rule type Table Lookup is used to derive the characteristic "Country" using an automatically generated derivation step (table access in customer master table KNA1) that uses the characteristic "Customer" (KNDNR) as a source field.

The figure above gives an example of a Derivation Rule of type Table Lookup

This means that in table KNA1, field KUNNR is the key field. This field is contained as a fixed field in the operating concern.

If a posting is made to a customer (KUNNR), the system checks table KNA1 for this customer to see which country (country/region key) is assigned to this customer in the customer master record.

This information derived from the table is transferred in the form of a mapping to field LAND1, which is also contained as a fixed field in the operating concern.

As a result, the field LAND1 will be posted to in the posting document of CO-PA.

Derivation Rule Category Assignment

You can use the characteristic derivation rule type Assignment to assign a constant value to a characteristic or copy the content of a source field to a target field.

For example, you can copy the value of a characteristic to another field if certain conditions are met.

The following figure shows an example of the logic that the system uses to copy the value of the Customer field to the value of the Ship-to Party field.

The figure above gives an example of a Derivation Rule of type Move

Derivation Rule Type Clear

The characteristic derivation of type Delete cleans up data by removing specific characteristics or values in certain product constellations. This is particularly useful to automatically prevent inconsistencies (for example, conflicting material specifications).

The figure below shows an example of characteristic derivation of type Clear.

The figure above gives an example for a Derivation Rule type Clear

Since spare parts (division 10 — Spare Parts) — for example, for the bicycle trailer — are only sold online, that is, without a representative, the characteristic Representative (VRTNR) is not relevant for the analysis of this division. Therefore, the Substitute field should not be filled according to the derivation rule for the specified condition.

Derivation Rule Category Enhancements

If the standard derivation types do not meet the requirements, complex characteristic derivations can be created using enhancements.

For characteristic derivations, you can use the customer enhancement COPA0001, component 003.

Use the following menu path in customizing to define a customer enhancement:

Controlling → Profitability Analysis → Tools → SAP Enhancements.

Sequence of Characteristic Derivations

There is no restriction in the system as to how many characteristic derivation rules can be created. Some characteristic derivation rules are delivered by SAP.

The figure below shows a series of standard derivations.

The figure above gives an overview of the Standard Derivations

The number of characteristic derivations created by default can change based on the characteristics assigned to the operating concern and the business functions that are activated or configured.

Note

It is recommended not to change any of the standard characteristic derivations.

The sequence of characteristic derivations plays a very important role. The system derives the characteristics from top to bottom. It must therefore be ensured that the characteristic derivations are arranged in the correct sequence.

Use the following menu path in customizing to check and if necessary, arrange the derivation rules in a different order:

Controlling → Profitability Analysis → Master Data → Define Characteristic Derivation.

When you open the transaction, choose View → Display All Steps to show all derivation rules.

If you need to change the order of the derivation rules, first highlight the derivation rule you want to move.

Then, click with your cursor into the Step Number field after which you want to position your derivation rule.

Then click the Move button shown in the above figure. As a consequence, the position of your derivation rule has changed.

For a bicycle trailer (material F2-00) in the SAP Margin Analysis environment, a derivation strategy is created step by step in the following lessons to be able to analyze the contribution margins in a more differentiated way by product characteristics.

This derivation strategy comprises 3 derivation rules, which are shown in the following figure:

The figure above gives an example for a Derivation Strategy with 3 rules

For each of the three derivation rules, the steps shown in the following slide are to be carried out in order to be able to use a new characteristic created, in Margin Analysis:

The figure above explains how to be able to use a Field in Margin Analysis - Necessary Steps to be Executed

Summary

  • Characteristics are criteria for analyzing results, such as customer group, product, or sales region, and are valid for all clients and operating concerns.
  • Characteristics are stored in a field catalog and cannot be deleted if postings exist for them.
  • Creating characteristics for margin analysis requires including them in the operating concern and tables ACDOCA and ACDOCP, and may involve system administrators and application developers.
  • SAP recommends using the Custom Fields app with the Accounting: Market Segment business context to define characteristics, enabling assignment to CDS views for profitability analysis and the universal journal.
  • The Custom Fields app has restrictions: predefined characteristics must be created manually, and it does not support characteristic compounding for logical linking of characteristics.
  • Characteristic derivation determines values for CO-PA characteristics from business transactions, using information within and outside source documents to create profitability segments.
  • Derivation rules are IF-THEN conditions that determine target characteristic values from source characteristic values or combinations.
  • Table Lookup derivation type accesses master data tables to derive characteristics, such as deriving country from customer master table KNA1.
  • Assignment derivation type assigns constant values to characteristics or copies source field content to target fields under specific conditions.
  • Clear derivation type removes specific characteristics or values in certain product constellations to prevent inconsistencies.
  • Complex characteristic derivations can be created using customer enhancement COPA0001, component 003, when standard derivation types are insufficient.
  • The sequence of characteristic derivations is critical as the system derives characteristics from top to bottom; SAP recommends not changing standard characteristic derivations.
  • Derivation rule order can be modified in Customizing by highlighting a rule, clicking into the Step Number field, and using the Move button to reposition it.