on 06-15-2007 8:52 AM
Hi,
When i fax my smartform, it goes to SOST but the status is 'NO ENTRY IN QUEUE YET' and when i resend it, it goes into 'WAITING'.
Can anyone please tell me the reason for that?
I want that it should automatically go into "WAITING" status and its urgent.
code is given below
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = g_formname
IMPORTING
fm_name = g_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
ls_control_param-device = 'TELEFAX'.
ls_control_param-no_dialog = 'X'.
ls_control_param-preview = 'X'.
ls_control_param-langu = 'E'.
ls_control_param-getotf = 'X'.
ls_composer_param-tdteleland = 'US'.
ls_composer_param-tdtelenum = '5138308905'.
*ls_composer_param-TDFAXUSER = 'KATHSH'.
ls_composer_param-tdteleland = i_lfa1-land1.
ls_composer_param-tdtelenum = i_lfa1-telfx.
ls_composer_param-tdfaxuser = sy-uname.
ls_composer_param-tdschedule = 'IMM'.
ls_composer_param-tdtitle = 'VMI'.
ls_composer_param-tdcopies = '001'.
ls_composer_param-TDSENDDATE = SY-DATUM.
ls_composer_param-TDSENDTIME = SY-TIMLO.
*
CALL FUNCTION g_fm_name
EXPORTING
wa_vendor = i_lfa1
date_mask = g_date_mask
date_mask1 = g_date_mask1
date_mask7 = g_date_mask7
date_mask14 = g_date_mask14
date_mask21 = g_date_mask21
date_mask11 = g_date_mask11
date_mask71 = g_date_mask71
date_mask141 = g_date_mask141
date_mask211 = g_date_mask211
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
user_settings = space
output_options = ls_composer_param
IMPORTING
job_output_info = ls_job_info
TABLES
i_details = i_final
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
COMMIT WORK.
IF sy-subrc <> 0.
ENDIF.
thanks in advance
ssk
HI,
had the same problem:
see thread
regards
Jörg
P.S. don't forget my points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.