Application Development and Automation 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: 
Read only

smartform for mass printing

Former Member
0 Likes
938

Hi,

Exepets I have one requirement for smartform i want to print smartform bulk with same layout .Please give me advise

Hi,

Exepets I have one requirement for smartform i want to print smartform bulk with same layout .Please give me advise

5 REPLIES 5
Read only

Former Member
0 Likes
801

Hi Venkat,

I think it may not be possible since what ever driver program that you are calling will trigger the form layout at the backend and display and in the form if you want to display in the particular position of the form means we have to think. I haven't heard such type anyways i am waiting for the answers.

Cheers!!

VEnk@

Read only

Former Member
0 Likes
801

Hi

Multiple Smartforms at a time is the requirement?? hmm...

Actually..for every smartform there is an FM generated right?? So, printing all of them at a time is something I dont think is feasible.

However, same smartform multiple times...printing is possible..but multiple smartforms at a time is not possible.

Regards,

Vishwa.

Read only

Former Member
0 Likes
801

Hi,

Specify number of copies in the print parameter screen then you can take bulk copies.

Hope it helps you

Regards

Manjari.

Read only

Former Member
0 Likes
801

data: copies like ssfcompop-tdcopies.

start-of-selection.

copies = 5.

call function 'SSF_FUNCTION_MODULE_NAME'

exporting

FORMNAME = 'ZAPP_FOAM'

IMPORTING

FM_NAME = fm_name

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

if SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

call function fm_name

exporting

OUTPUT_OPTIONS = copies

TABLES

ITAB = ITAB

T_ADRS = T_ADRS

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5 .

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

thanks

saurabh

Read only

Former Member
0 Likes
801

hi

from ur qn i think that what u require is...same layout but the data being showed in each smartform is different...

While if this is what u require....then its is possible

I havent tried it out myself, but it is possible

All the data to be printed must be in an internal table,

Then u will have to use a loop stmt within ur smartform not in ur driver pgm and loop at all the entries.this is how its done.U will hav to make use of templates also to keep ur layout constant.

Regards

Winnie