on 11-30-2010 9:37 AM
Hi All, Can any one help to solve this issue, i have done coading for Smartform and sending email Email is getting send but i'm unable to see the display when i select the output it is directly sending email without display , what are the parameters need to pass to display and sending email.
Thanks
Surendra
hi
Try to Use below code before calling SSF_MODU ...
control-preview = 'X'.
control-no_open = 'X'.
control-no_close = 'X'.
control-no_dialog = 'X'.
control-device = 'PRINTER'.
control_parameters-no_dialog = 'X'.
control_parameters-no_open = 'X'.
control_parameters-no_close = 'X'.
OUTPUT_OPTIONS-TDDEST = 'PRINTER NAME'.
OUTPUT_OPTIONS-TDNOPRINT = 'X'.
Surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you calling your Form directly from some custom print program or it is being called from some transaction?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Satyajit ,
I'm calling form through Output Type
ls_control_param-getotf = 'X'.
ls_control_param-PREVIEW = 'X'.
ls_composer_param-TDNEWID = 'X'.
CALL FUNCTION fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = ls_control_param
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
output_options = ls_composer_param
user_settings = ' '
gt_header = gt_header
IMPORTING
* DOCUMENT_OUTPUT_INFO =
job_output_info = gv_job_output
* JOB_OUTPUT_OPTIONS = LS_Output
TABLES
gt_item = gt_item
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gt_otfdata[] = gv_job_output-otfdata[].
I have written the above code can some one help is there any other parameters need to pass?
---
Surendra
Check the output type and transmission medium is NACE....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.