on 05-24-2011 2:35 PM
Hi everyone,
I want to print 4 copies with the text original, duplicate, triplicate & quadruplicate on header like in Invoice documents, i tried to use the same routine used in invoices but the printing process is a little different, the FORM (smartform) is processed only 1 time and the other copies is the exact copy of the first one without running the FORM 4 times. So the routine is only processed 1 time, giving me 4 copies with the "Original" text on the header... Anyone knows how i can control the copies to identify and write the right text(original, duplicate, triplicate & quadruplicate) on the header?
Thank you
Hi SAP Gurus,
Can you please tell how this can be done in smartforms.
Regards,
Pavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
in our smartform we have condition
if Repeat <> X
output type = ZABC
REPEAT = X
Line_Nast > 0001 then we are printing vibrage as REPRINT
you can aks your ABAP guys to check if possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you show how is it done in abap?
I set the output record Number of message to 4. I got 4 sets but all 4 sets show me the same QUADRUPLICATE FOR ASSESSEE
IF &NAST-ANZAL& = '1'.
ORIGINAL FOR BUYER
ELSEIF &NAST-ANZAL& = '2'.
DUPLICATE FOR TRANSPORTER
ELSEIF &NAST-ANZAL& = '3'.
TRIPLICATE FOR ENTRAL EXCISE
ELSEIF &NAST-ANZAL& = '4'.
QUADRUPLICATE FOR ASSESSEE
ENDIF.
Hi,
I made the changes in program RVADOR01 (I made a copy to ZRVADOR01) in the form "processing"
DATA: nast_anzal LIKE nast-anzal. "Number of outputs (Orig. + Cop.)
DATA: nast_tdarmod LIKE nast-tdarmod. "Archiving only one time
IF retcode = 0.
PERFORM check_repeat.
IF ls_composer_param-tdcopies EQ 0.
nast_anzal = 1.
ELSE.
nast_anzal = ls_composer_param-tdcopies.
ENDIF.
ls_composer_param-tdcopies = 1.
DO nast_anzal TIMES.
In case of repetition only one time archiving
IF sy-index > 1 AND nast-tdarmod = 3.
nast_tdarmod = nast-tdarmod.
nast-tdarmod = 1.
ls_composer_param-tdarmod = 1.
ENDIF.
IF sy-index NE 1 AND repeat IS INITIAL.
repeat = 'X'.
ENDIF.
CALL FUNCTION lf_fm_name .....
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.