Hi Prakash,
What if I'm just using the smartform to retrieve job_output_info "ws_tab_otf_data". Is it okay to use "MAIL" for output device parameter? Here's my code: Thank you
CALL FUNCTION ws_fm_name
EXPORTING
archive_index = toa_dara
archive_index_tab = wa_tsfdara
archive_parameters = arc_params
control_parameters = wa_control_param
output_options = wa_composer_param
user_settings = ' '
wa_vbrk = wa_vbrk "Billing doc header
ws_form = ws_formname
ws_faber = ws_faber
ws_dupli = ws_dupli
IMPORTING
job_output_info = ws_tab_otf_data
TABLES
i_item = i_item
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.