Hi Jeet
Your macro is correct and it should give you values assuming your version this might be one of the factors but still check below:
- Have you defined it as default macro?
- When you see in planning book, it should be on detailed level i.e. material & location, then only it will show you value. Drill down to lowest level material and location.
Let me know what's the case.
Regards
Rahul