on 06-19-2009 4:23 PM
hi guys,
I have created smartform for credit memo. It is working fine.
When ever i execute the transaction (VF03), 3 copies of the output form to be displayed
where can we configure?
or do we need to code it?
I tried with most of the options of smartform, could not find the option for COPIES.
Please help me.
Hi,
You can find the No. of Copies option in Smartform.
In FOrm Interface --> In Import Parameters --> OUTPUT_OPTIONS-TDCOPIES.
Here you can initialize this OUTPUT_OPTIONS-TDCOPIES to 3.
Regards,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll Decl
DATA : i_control TYPE ssfctrlop,
i_tddest TYPE ssfcompop,
cop_page TYPE ssfpp-tdcopies.
i_control-no_dialog = 'X'.
i_control-preview = 'X'.
i_control-no_open = 'X'.
i_control-no_close = 'X'.
This is for No of Copies u want printing
i_tddest-tdcopies = cop_page . Example Cop_page = '3'.
CALL FUNCTION 'SSF_OPEN'
EXPORTING
ARCHIVE_PARAMETERS =
user_settings = ' '
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJ =
output_options = i_tddest
control_parameters = i_control
IMPORTING
JOB_OUTPUT_OPTIONS =
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.
CALL FUNCTION w_fname "'/1BCDWB/SF00001316'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = i_control
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = i_tddest
user_settings = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
i_final = i_final
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.
CALL FUNCTION 'SSF_CLOSE'
IMPORTING
JOB_OUTPUT_INFO =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
OTHERS = 4
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use Copies in Structure ssfcompop and pass to Smartform FM.
Eg:
data : l_t_out TYPE ssfcompop.
l_t_out-tdcopies = '3'.
Now u pass l_t_out to Smartform Function Module.
Hope it helps!!
Rgds,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to check in NAST transaction by defining different output types for every smartform.
Hope this may be useful.
Regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That involves parametrization of the message that you select for printing. Check with your functional team.
Regards,
Bruno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.