Hi
Why would you want to do something like that? If you assign main category to material, that's fine -> No subcategory maintained. If you assign main category to material, System already knows its main category, so that's fine as well. What's missing?