2008 Oct 23 11:32 AM
Good morning,
i have a problem, i have built a complete sapscript, but i have to print 2 copies, one for the vendor, one for the client changing one label into the sapscript ("copy for vendor", "copy for client").
In other words, when the client print one copy of the sapscript, i have to duplicate the copies changing only the label that specified who is the recipient of the copy... it is possible do that??
Thanks!!
Marco
2008 Oct 23 12:01 PM
Thanks, probably the solution is otside open form and close form..
the sapscript is ZRVORDER01 copied from the standard.. probably to do more copies i have to change the standard program RVADOR01 coping in Z and looping outside openform and close form.
Only this can be the solution?
Thanks, probably the solution is otside open form and close form..
the sapscript is ZRVORDER01 copied from the standard.. probably to do more copies i have to change the standard program RVADOR01 coping in Z and looping outside openform and close form.
Only this can be the solution?
2008 Oct 23 11:40 AM
Hi,
What kind of document it is???? Are you sure about the length of the contents....
If you think that both of the documents will have Single Page or Two pages only then You can design both of the pages in the same Sapscipt only with two pages or Four pages.....
2008 Oct 23 11:55 AM
Hi,
Check with this
loop 2 times.
if sy-index =1.
heading = original
elseif sy-index =2
heading =copy
endif.
open_form
write_form
close_form
endloop.
2008 Oct 23 12:01 PM
Thanks, probably the solution is otside open form and close form..
the sapscript is ZRVORDER01 copied from the standard.. probably to do more copies i have to change the standard program RVADOR01 coping in Z and looping outside openform and close form.
Only this can be the solution?
2008 Oct 23 12:08 PM
in OPEN_FORM there is a parameter OPTIONS-no of copies. pass the no of copies to be printed here. and no need to loop.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |