Hi Srinivas,
you you can use the The Post Processing Framework in CRM - Actions - SAP Library to achieve this.
The following documents contain links to some relevant SAP notes and technical documents as well as a first example:
Post Processing Framework (PPF)
Action profiles in SAP-CRM - CRM - SCN Wiki
Christian