Hi Ram,
If you want to use BADI then don't switch on ENABLE_HANA_MDX
It is just a different engine to calculate MDX.
Using ABAP to calculate MDX won't have a huge performace issue.
that setting is there for those who doesn't use BADI and want to take the full benefit of HANA.
Andy