12-10-2005 7:00 AM
Dear All,
My problem is related to label printing in smarforms.
I have to print morethan 50 labels, 12 each on single page. In these 12 labels, 1 to 6 lables has to come on left side of the page and 7 to 13 lables should come on right side of the page. Again this should repeat in the next page. Please note that the content in all the labels is the same one.
Please help me out to resolve this problem.
I have copied standard SAP Print program RVADTR01 into a Z program and doing modifications to it.
Thanks in advance,
Ranjan
12-10-2005 7:11 AM
In the OPEN_Form function module you can pass the no. of copies OPTIONS-TDCOPIES
is that you are expecting....
12-10-2005 9:02 AM
I hope open_form relates to SAPSCRIPT, but is there any similar Function Module / options avaialable in smartforms? Please let me know...
Thanks,
Ranjan
12-10-2005 9:06 AM
12-10-2005 9:10 AM
and not only that
while calling also you can mention..
call function fm_name
exporting
<b>output_options = output_options</b>
....
output_options will have tdcopies.check it...
vijay
12-12-2005 8:50 AM
Vijay,
Thanks for the info. But the labels in the smartforms needs to print dynamically. 6 labels on left side of the page and another 6 labels on right side of the page.
Please let me know, how to resolve this.
Thanks,
Ranjan
12-12-2005 9:51 AM
Hi
i think using smart styles you can get them in one left and one right.
i am not sure , i will confirm and tell you..
vijay
12-12-2005 10:21 AM
Hi Ranjan,
In the Main window instead of having a table , have a loop and then the template designed in the smartforms. Write a logic in such a way that all the odd number of records of the internal table are stored in a separate internal table and all the even number of records are stored in a separate internal table. Use alternative and divert printing the odd number of records on the left side and even number of records on the right side. If you could send the mail ID ,I can send you the snapshots of the design of the smartforms as I am unable to send the same through this forum as it is not getting pasted.
Cheers,
Saraswathi.
12-13-2005 4:33 AM
Hi Saraswathi,
Thank you very much for your info. Infact, still we are trying to get the solution for this program. Kindly send the screen shots to kcranjan at yahoo or kccq at chevron.com id's.
Thanks once again,
Ranjan
04-27-2007 6:29 AM
saraswati,
can u pls send me the entire step by step procedure for creating nd printing the lables to my id madhusudhaan@gmail.com.
TIA
05-03-2007 7:19 PM
HI Madhu,
can u pls send me the entire step by step procedure for creating nd printing the lables to my id pankaj998@gmail.com
thanks & regards,
pankaj