hi karthikeyan,
since you want to download it into your local system make use of the FM in order as below
- CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME',get the fm name in exporting parameter formname
- call the forname
- CALL FUNCTION 'GUI_DOWNLOAD'.
- CALL FUNCTION 'CONVERT_OTF'
- CALL METHOD cl_gui_frontend_services=>file_save_dialog.
- CALL FUNCTION 'GUI_DOWNLOAD'.
hope it helps.....