Hi Pranjal,
I don't think it is possible get operation wise planned cost. Above logic works for actual cost because we are referring to FI & CO document postings based on MSEG & AFRU.
For Planned cost at operation level, I think you need to go with business function LOG_EAM_OLC.
Thanks & Regards,
Amol