Skip to Content

By default, SAP has 3 level product hierarchy. Sometimes, we need more than 3 levels of hierarchy. So, we must edit the standard hierarchy.

Below are the steps. The names and values may vary accordingly. Here, our business needs 6 level product hierarchy namely 1, 3, 3, 3, 2, 3 characters respectively. Maximum characters you can use is 18. So, at last, You may make necessary changes in the steps I describe according to the custom level you need. Since this is a modification operation, you need access key. Please contact your basis administrator.


The maximum allowed size for product hierarchy level is 18 characters. So, modify the include structure PRODHS so that the custom level must fit into 18 characters. Currently PRODHS contain 3 fields namely PRODH1 (CHAR 5), PRODH2 (CHAR 5) and PRODH3 (CHAR 8). After modification, the components of the PRODHS structure will be PRODH1 (CHAR 1), PRODH2 (CHAR 3), PRODH3 (CHAR 3), ZPRODH4 (CHAR 3), ZPRODH5 (CHAR 2), ZPRODH6 (CHAR 3), ZPRODH7 (CHAR 3).

Steps Involved

  1. Modify the include structure PRODHS.
  2. Edit the size of standard fields in the include structure.
  3. Add custom fields in the include structure.
  4. Save and activate the include structure.

Modify the structure PRODHS

The structure PRODHS include structure is specified in PRODH structure.


The components PRODH1, PRODH2, PRODH3 are of type CHAR and length 5, 5 and 8 respectively. Edit the size of the above fields according to the requirement specified.

Edit the size of standard components

For PRODH1 domain, change the size to 1.


Similarly, change the size of PRODH2 and PRODH3 to size 3 type CHAR.



Create additional elements in the structure PHODHS namely PRODH4, PRODH5, PRODH6, PRODH7 and manage the size accordingly to the requirement.





The structure PRODHS after the modification is


The 7th level here is the remaining 3 characters out of the 18 characters. You can use the group of leave as it is.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply