Symptom
You are wondering what the zero prefix of product hierarchy nodes means in analytical apps such as "Sales Volume – Flexible Analysis". Such zeros also persist when exporting the data to Excel.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Define a product hierarchy node in the configuration activity "Configure Nodes for Product Hierarchies (ID: 103298)".
- Enter this node into the Product Hierarchy.
- Create a sales order with this Product Hierarchy and complete billing.
- Open the "Sales Volume – Flexible Analysis" app and observe that the node is displayed with a zero prefix. Such zeros also persist when exporting the data to Excel.
Resolution
The "Sales Volume – Flexible Analysis" app is built on the Web Dynpro framework, and this behavior is specific to how Web Dynpro handles Product Hierarchy data.
The zero displayed at the beginning of the entry in the app is not a leading zero. Instead, it represents a product hierarchy node attribute:
- 0 indicates a Node;
- 1 indicates a Leaf.
Since Web Dynpro only counts nodes (not leaves) in this context, this 0 prefix is displayed as part of the node identifier. This is the expected, standard behavior.
Please be noticed that, "Sales Volume – Flexible Analysis" app is only one of the apps that consumes this framework design. Product Hierarchy is displayed in this way in all apps that are built based on the Web Dynpro framework.
Keywords
product hierarchy, zero, node prefix, leaf indicator, WebDynpro, Sales Volume – Flexible Analysis, I_ProdUnivHierarchyNodeBasic, CDS view, analytics report, hierarchy display, excel export, reporting display, S/4HANA Cloud, Analytics , KBA , LO-MD-MM-2CL , Product Master for Public Cloud , SD-ANA-2CL , Analytics (Public Cloud) , BW-RUI-FPM , FPM Analytical GUIBB , Problem
SAP Knowledge Base Article - Public