on 01-04-2008 12:50 AM
Hi,
i'm using the system field SFSY-COPYCOUNT to control the original and duplicate document, but it isn´t work...
In debug i confirm that this field, always have the value 1, for original and duplicate.
Is necessary make some changes in the print program?
For now i use the standard RLB_INVOiCE.
Many thanks in advance.
AOL
Actually VSTAT element contains whether its original or duplicate. I am using this code in my prg
u can change where condition according to ur program. when ever rep_flag = X then it is duplicate.
u can see the following code.
Data : lv_vstat type NA_VSTAT.
SELECT vstat INTO lv_vstat FROM nast WHERE kappl = nast-kappl
AND objky = nast-objky
AND kschl = nast-kschl
AND spras = nast-spras
AND parnr = nast-parnr
AND parvw = nast-parvw
AND nacha BETWEEN '1' AND '4'.
CHECK lv_vstat = '1'.
rep_flag = 'X'.
EXIT.
endselect
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AOL,
U will have to specify the number of copies in output options of smartforms. u will have to specify
SSFCOMPOP-TDCOPIES count to ur smartform's output options.
Reward if useful.
Cheers,
Deepthee Kasal
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 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.