I am not an ABAP guy to help you here Ankit. Eventhough I would suggest you to post this in ABAP space with more information on exactly what you want, to get the best answer rather than posting in coffee corner where people come here while drinking coffee .
- Midhun VP