on 02-14-2011 8:54 AM
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
Hi All,
Thanks for the feedback.
As mentioend here is my scenario.
The data is not like a table format. (Not dynamic) It is more of a text format.. (Static)
Where I have to have some info in page #1 & the rest will be in Page # 2, page # 3 and so on.
Is using main window a good option fo this. ?
How do we specify what goes in page # 1 vs page #2.
Is there a way to mention all the info in main window (all 4 pages text in main window)
& use page breaks where ever needed?
I have defined 2 pages for now.. First page (next page is "Next" ) & Next page (next page is "Next".)
But when I print I am getting only page #1.
rdgs
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- In the attributes tab of "FIRST "page set Next page as "NEXT", keep "NEXT" a next page of "NEXT". Of course the MAIN window must exist in FIRST and NEXT page.
- You only need to use a command node to go to another page, if this page doesn't contain the MAIN window, or if it is dynamically determined.
Ref: [Processing Pages|http://help.sap.com/saphelp_nw70/helpdata/en/be/5c7dceb94111d4b62f006094192fe3/frameset.htm]
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, u dont need to setup anything else, smartform automatically create goes to the next pages just if the MAIN windows of the first page is not enought to show it in the first page, then it goes to the second page and go on.
first, set the pages attributes.
try to use the command to jump to others pages as u wish.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you filled next page in page attributes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.