Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Label printing in smartforms

Former Member
0 Kudos

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

10 REPLIES 10

former_member188685
Active Contributor
0 Kudos

In the OPEN_Form function module you can pass the no. of copies OPTIONS-TDCOPIES

is that you are expecting....

0 Kudos

I hope open_form relates to SAPSCRIPT, but is there any similar Function Module / options avaialable in smartforms? Please let me know...

Thanks,

Ranjan

0 Kudos

ssf_open.

is there try with...

vijay.

0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

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

0 Kudos

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