our requiremnt is to hide org units that appear in the tree structure on the ECM portal Iviews.
they are hidden if the org units do not have A012 (heads)
we hae tried the badi hrwpc_nav _objects
and custom rule for nav objects..
when tried to remove unwanted org units, the portal throws a dump..
how is this done..any other alternatives..pls suggest?