Everyone.I enconter a issue when print multiple pages with smart form.
There is a PO with more items that can not display in a page.I put the item internal table into a loop in main window.
But all pages are superimposed printed in one paper.
1.What is the problem?
2.Is it automatic split pages when print the form which main window's content is too more to display in a page.
3.what is the mechanism of spool .
The part of calling smart form function code is
call function 'SSF_FUNCTION_MODULE_NAME' exporting formname = 'ZTEST_HXG_F3' importing fm_name = fm_name exceptions no_form = 1 no_function_module = 2 others = 3. call function fm_name * EXPORTING * ARCHIVE_INDEX = * ARCHIVE_PARAMETERS = * CONTROL_PARAMETERS = * MAIL_APPL_OBJ = * MAIL_RECIPIENT = * MAIL_SENDER = * OUTPUT_OPTIONS = * USER_SETTINGS = 'X' * G_CARRID = <variable> * G_CONNID = <variable> * G_FLDATE = <variable> * IMPORTING * DOCUMENT_OUTPUT_INFO = * JOB_OUTPUT_INFO = * JOB_OUTPUT_OPTIONS = tables itab = itab exceptions formatting_error = 1 internal_error = 2 send_error = 3 user_canceled = 4. * others = 5.
Message was edited by: