2009 Sep 01 7:26 AM
Hi Experts
When i re- print smartform after changing the params of selection screen the new output is being appending in the same old spool. But I want new spool to be created for each time.
Pls Help.
Thanks
Ajay Kumar
2009 Sep 01 7:46 AM
In your print program
pass ls_composer_param-TDNEWID = 'X' to Fm .
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
* mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
TABLES
lt_caufvd_tab = caufvd_tab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.Regards
Vinay
2009 Sep 01 7:37 AM
Hi Ajay,
Please check after refrshing spool request using TCODE SPAD and delete old spool request.
Hope your query resolves quickly.
Have a best day ahead.
Edited by: Srivastava.G on Sep 1, 2009 8:37 AM
2009 Sep 01 7:46 AM
In your print program
pass ls_composer_param-TDNEWID = 'X' to Fm .
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
* mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
TABLES
lt_caufvd_tab = caufvd_tab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.Regards
Vinay