Skip to Content
Author's profile photo Frank Ruschewitz

Media Product Master in SAP S/4HANA: Configure Media Product Hierarchy


In SAP ERP the media product hierarchy is shipped as part of the Media business function set (“IS-Media”) and does not provide any flexibility regarding the number of hierarchy levels.

In SAP S/4HANA the media product hierarchy can be configured based on the generic concept for the Classification Based Product Hierarchy. This allows you to define the number of hierarchy levels and in addition provides the possibility to define more than one hierarchy type – if required.

In this concept the hierarchy level is defined by the class assigned to the product master and the product number of the parent product is stored in a characteristic which is assigned to the class. This requires that during the configuration phase you define in an IMG activity the class and characteristic used for each of the hierarchy levels.

In this blog you will see, as an example, how to define a hierarchy type with three levels similar to the media product hierarchy in SAP ERP. In the table below you will see the required classes and characteristics and how they are assigned to the hierarchy levels:

Hierarchy Level Class Characteristic


There are 3 steps involved in the configuration of a hierachy type:

  1. Create Characteristics
    Create characteristics for the product number of the parent product
  2. Create Classes
    Create a class for each hierarchy level and assign the characteristic
  3. Configure Hierarchy Type
    Define the hierachy type and assign the classes and characteristics to the hierarchy levels

Step 1: Create Characteristics

In a first step, you create the required characteristics MEDIAPRODUCTFAMILY and MEDIAPRODUCT.

  1. Call transaction CT04, enter the name of the characteristic (MEDIAPRODUCTFAMILY or MEDIAPRODUCT) and click on Create.
  2. On tab Basic data enter the description for the characteristic, Character Format as Data Type and 40 as Number of chars. Do not select the Case Sensitive flag.
    Hint: If your S/4HANA system is in compatibility mode (see SAP note 2232396), you are not allowed to create characteristics with more than 30 characters. In this case you can use 18 characters, since the material number will be limited to 18 characters.
  3. On tab Values click on Other Value Check, select Function Module and enter Function HPC_CHARACT_CHECK.
  4. Save the characteristic.

Step 2: Create Classes

Next, you need to create three classes, one per hierarchy level.

  1. Call transaction CL02, enter the name of the class (MEDIA_PR_FAMILY, MEDIA_PRODUCT or MEDIA_ISSUE), class type 001 and click on Create.
  2. On tab Basic data enter the description for the class.
  3. On tab Char. enter the characteristic MEDIAPRODUCTFAMILY for class MEDIA_PRODUCT and the characteristic MEDIAPRODUCT for class MEDIA_ISSUE. For class MEDIA_PR_FAMILY you do not enter any characteristic.
  4. Save the class.

Step 3: Configure Hierarchy Type

You will now use these classes and characteristics to define the hierarchy type for the media product hierarchy.

  1. Go to IMG activity Define Product Master Hierarchy Type (Logistics – General → Material Master → Product Master Hierarchy → Define Product Master Hierarchy Type)
  2. Click on New Entries. Enter a key for the Hierarchy Type, for example  ZMPM, enter Media Product Hierarchy as the description in the second column, select Classification as the Technology and enter 194 as the BO Type.
  3. Click on New Entries.
  4. Enter for each hierarchy level the level, class and characteristic (see table above). Enter class type 001 for all entries.
  5. Save your settings.


After you have finalized these configuration steps you can create a media product hierarchy using the Product Master app.

To create the root node of a hierarchy (media product family) you have to assign the class manually or use a specific product type as explained in Create Product Types for each Hierarchy Level.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Kumar Shanmugam
      Kumar Shanmugam

      We are working on S4 HANA 1909 FPS02 Version. We would like to create product master and map created product masters in hierarchy in the system.. To fulfil the requirements, we have activated Fiori App(F1602) : Manage Product Master successfully where we have created required product but when we tried to activate Classification Based Product Hierarchy(F2351) in order to maintain product master hierarchy, we are not able to load the metadata as it is giving error in /IWFND/MAINT_SERVICE as "Exception Raised". Classification Based Product Hierarchy F2351 is available up to 1909 FPS01 as mentioned on Fiori Apps Library. Please let us know if any alternative application is available for the same as we need to activate it.

      Author's profile photo Christiane Erzgraeber
      Christiane Erzgraeber

      This is not intended. Availability for the missing releases / FPS' should be repaired after the next cycle compiling.

      Author's profile photo Iwan Santoso
      Iwan Santoso

      Thank you Frank for the detailed information. Once the hierarchy is set, how do we utilize the hierarchy in standard FI Fiori apps, for example, Profit Centers - Actuals. I was expecting this prod. hierarchy will work like profit center hierarchy, but product/material field is not set up for hierarchy.


      Do you have any information how to make this hierarchy works with standard reporting/app?