on 09-16-2010 8:59 AM
hello to all,
i have a smartform for form16 , out put of this is of only one page , my issue is when i press on print command it print 3 copies of same . how is possible without entering the no. of copies in print criteria section.
For example if u pass your internal table HDR Then put following logic in your report
LOOP AT hdr.
hdr-orsel = 'ORIGINAL'.
MOVE-CORRESPONDING hdr TO hdr1.
APPEND hdr1.
hdr-orsel = 'DUPLICATE'.
MOVE-CORRESPONDING hdr TO hdr1.
APPEND hdr1.
hdr-orsel = 'TRIPLICATE'.
MOVE-CORRESPONDING hdr TO hdr1.
APPEND hdr1.
ENDLOOP.
Then u pass your internal table insted of HDR you pass HDR1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When u call your Form u set like
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Zform16'
IMPORTING
fm_name = fm_name.
IF sy-batch EQ 'X'.
output_options-tdnewid = 'X'.
control-device = 'PRINTER'.
control-no_dialog = 'X'.
ENDIF.
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.