Hi,
I tried two things,
1.Getting all the input parameter in the popup and doing the process in transaction and displaying back the result in popup.
2. Embedding the transaction from same sap system but different transaction and running the process.
Both works for me .
Regards,
Vigneshkkar