Hi Madhu,
I think you have tried creating the badi implementation directly from se18 screen as shown below,
Instead of this, try opening the enhancement spot and create custom implementation for the enhancement as shown in below screen capture.
You can refer below URL as well for more details,
How to Implement a BAdI - Enhancement Framework - SAP Library
Regards,
Dharmakasi.

