cancel
Showing results for 
Search instead for 
Did you mean: 

3 copies of output form

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Vishal.,

Thanks for your help.

I think it should from ABAP perspective. Now I do not haven printer access.

Any how, Func consultant confirmed that he would handle thru configuration

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Try to check in NAST transaction by defining different output types for every smartform.

Hope this may be useful.

Regards,

Prashant

Former Member
0 Kudos

Hi,

That involves parametrization of the message that you select for printing. Check with your functional team.

Regards,

Bruno