Skip to Content
author's profile photo Former Member
Former Member

Issue in Printing multiple documents in single time in smartforms

Hi Gurus ,

Iam trying to print multiple documents in single time in smartforms by looping the smart form function module .

As below ,

____________________________________________

loop at t_mhnd.

break-point.

control_parameters-no_dialog = 'X'.

CALL FUNCTION fm_name

EXPORTING

  • archive_index = h_archive_index

  • archive_parameters = h_archive_params

control_parameters = control_parameters

  • output_options = output_options

  • mail_appl_obj = mail_appl_obj

  • mail_recipient = mail_recipient

  • mail_sender = mail_sender

user_settings = 'X'

is_sfparam = sfparam

  • IMPORTING

  • document_output_info = document_output_info

  • job_output_info = job_output_info

  • job_output_options = job_output_options

  • e_fimsg = t_fimsgsf

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

endloop.

______________________________________________________

but it not working for me .For single time it is commimg out and showing print preview .

Can any one help me in this issue .

Regards and advance thanks ,

SAB

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2010 at 12:40 PM

    Hi ,

    Any one please provide solutiond for ths issue ..Its very urgrnt...

    Regards,

    SAB

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2010 at 01:09 PM

    Hi..

    Please have a look into the following post which is exactly similar to your post..

    [page-break-problem-in-smartforms]

    There are basically two methods:

    1. To call smartform in loop.

    2. To call smartform once but do the rest of processing in smartforms.

    Both have a been explained there.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.