hi Karim
Maybe you can`t use BDC, due to the program RSTXPDFT4 is call cl_gui_frontend_services->file_save_dialog method to pop up a save dialog, not POPUP_TO_CONFIRM.
Please refer this link achieve what you want, http://scn.sap.com/thread/1339865
Regards,
Archer