Hi Rakesh,
It is better to clone standard WDV dep method and modify suitably to meet your requirement.
Sample Standard WDV dep is attached.![WVDV.jpg]()
If you still find it difficult to trace the error, attach the screenshots of AFAMA and AFAMS.
Lets do it.
Regards,
G.Sethuraman