Skip to Content
0
Former Member
Feb 14, 2011 at 08:54 AM

Multiple pages in SMARTFORM

738 Views

hi all,

I have a custom print program & a custom smart form.

The Smartform is 4 pages long. 1 first page & 3 next pages.

Rt now when I test, only the 1st page is coming out. Do I need to set up anything in the print program so it all the 4 pages are printed.

Which parameter controls this?

Is it controlled in the control_parameters or output_options in the FM given below.

**********************

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = p_form

IMPORTING

fm_name = w_fm

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.

  • now call the generated function module

CALL FUNCTION w_fm

EXPORTING

user_settings = 'X'

archive_index = toa_dara

  • ARCHIVE_INDEX_TAB =

archive_parameters = arc_params

control_parameters = ls_control_param

output_options = ls_composer_param

  • TABLES

  • itab = t_itab

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

**************************

rdgs

prasad