SAP Function WRF_MATGRP_HIERID_READ3 - Reads the Application-Relevant Hierarchy

Parameter Reference Type Length Text
PE_HIERID WRF_HIER_VK_STY u 8 Hierarchy - Distribution Chain Structure

Parameter Reference Type Length Default Optional Text
XS_MATGRP_HIER WRF_HIER_STY u 64 X Hierarchy Structure

Exception Text
NO_DATABASE_ENTRIES No Database Entries Found
NO_DISTRIBUTION_SELECTED No Distribution Chain Entered
NO_HIERARCHY_FOUND No Hierarchy Found

Functionality
This function module returns the hierarchy ID that is maintained for aspecific distribution chain.
If a distribution chain is specified, the function module looks in theWRF_MATGRP_HIER for a hierarchy ID flagged as application-relevant forthis distribution chain. If no entry is found, a search is made in theWRF_MATGRP_HIER for a cross-client-valid hierarchy ID flagged asapplication-relevant. If no distribution chain is specified, thefunction module looks directly in the WRF_MATGRP_HIER for across-client-valid hierarchy ID flagged as application-relevant.