Multiple page formats in smartforms
we say that multiple page format is possible in smartforms but not in SAP Script. What does this multiple page format exactly means and whar does label means exactly in smartforms.
Please help.
multiple page formats in smart forms means...
the first can be landscape, and the second one portrait...viveversa is also possible
label means... for example u want to print addresses of employees in an organisation... then through scripts ypu can print the labels...
Similar Messages
-
Whats mean by multiple page formats in smartform?
Hi!
Can u pls tell me whats mean by multiple page formats in smartform?
Thanks
Imran.Hi Imran,
multiple page formats in smart forms means...
the first can be landscape, and the second one portrait...viveversa is also possible
go with tcode:smartforms,specify some name and go with create.place the cursor on 'Pages and windows' folder.on right side we will have option page format:go with f4 .u will find many page formats.
Reward points if helpful.
Regards,
Omkar. -
Whats mass printing ?multiple page formating?
whats mass printing ?multiple page formating?
hi..
plz follow the mentioned web link for mass printing ..
and multiple page formatting is ...
sapscript does not support multiple page formatting where as smartform does.
Multiple page formating is nothing havinfg different page formats in a form.
eg..
sapscript zform has 3 pages..
1 page has portrait
2 page has landscape format and 3rd page has landascape.
this is not possible with sapscript..it tends to error. however, you can do so in smartform. Also this is sometime possible in sapscript by creating different form for each page and using the same print program.
regrds,
shamim. -
Footer should be print on last page in multiple page format
Hi expert,
I designed form for invoice print ,in that for multiple pages footer should be print on last page only and hight of the main window should be increase (means if footer will display on last page then space of footer should be used for main window in multiple
page format)
for eg .if i have 12 item so 5 items displyed on each page but i want to print 10 item on first page and remaing on second and after that i want to print footer.
Regards,
JyotsnaHi,
Has you tried to create a "new page" copy of FIRST, and make it the LAST_PAGE... On it you are going to create the desired footer.
The Page Secuence will be something like this:
If you are trying to print 12 items, then PAGE 1 (10 items) -> LAST_PAGE (2 remaining items).
Hope it helps you...
Alexis Sanchez N.
SAP ABAP Development Consultant
Molen Services and Consulting, C.A. -
What is multiple page format?
hI
can anybbody tell me what does actually means of script doesn't support multiple page foramt & smart form will support Multiple page formats.
Plz tell me in details.
thanks.Hi,
Scripts also supports multiple page format. You can go to edit and create new page and in layout there is a button for page properties(other attributes). Click it and give next page = page2.
So this led you to have multi page format script.
Example: For 1st page you require 6 variable window and 1 main window. From 2nd page onwards you require only 2 variable windows and bigger main window. So for page 2 select only two variable windows and increase the size of main window. And in command line give command
/: position window.
Hope this will help you. -
Hi ,
Multiple page formats is possible in script's
Regards
Suresh.DHi,
Yes..It is possible to display multiple page format..
Create a new form which has a different format...
Then in the print program..follow the steps
OPEN_FORM.
START_FORM with the FIRST PAGE FORMat form
end_form.
START_FORM with the SECOND PAGE FORMat form
end_form.
CLOSE_FORM
Thanks
Naren -
Multiple page format for single smartforms
We have a requirement to get the output in different page formates for a smartform.
How to achieve this???suppose you r using a program to print the smartform.
Just check this program.
REPORT z_sf_demo1 .
PARAMETERS p_bukrs LIKE ekko-bukrs.
DATA: fm_name TYPE tdsfname.
DATA: ssfctrlop LIKE ssfctrlop.
Function to get the function name to run SMART FORM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZJAYRA_DETAIL'
VARIANT = ' '
DIRECT_CALL = ' '
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.
To pass parameters for CONTROL_PARAMETERS
ssfctrlop-no_open = ' '.
ssfctrlop-no_close = 'X'.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
bukrs = p_bukrs
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
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.
To pass parameters for CONTROL_PARAMETERS
ssfctrlop-no_open = 'X'.
ssfctrlop-no_close = ''.
ssfctrlop-startpage = 'PAGE2'.
Function to run SMART FORM from third page to last page.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
bukrs = p_bukrs
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
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.
ssfctrlop-no_open = 'X'.
ssfctrlop-no_close = ''.
ssfctrlop-startpage = 'PAGE3'.
Function to run SMART FORM from third page to last page.
CALL FUNCTION fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
bukrs = p_bukrs
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
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.
I have also sent a mail to your gmail id regarding the details of my program.
Hope your query will be solved.
<b>Rewards pioint for helpful answers.</b>
Regards,
Abhay. -
Hi All,
I am working on smartforms.
I have created a new page format of width 25 cm and width 30cm according to client's requirement.
Smartform is for customer invoice which is a pre-printed and i have to get data into that.
In sform i have given the my own page format name.
Now problem is am getting print preview correctly but while giving print its givivng the error
' OUTPUT COULD NOT BE ISSUED' and print is not coming.
Please help me regarding this issue.
Thanks in advance.
Regards,
Murthy.Hi,
I have checked it but its ok.
I have created page format through SPAD only.
Regards,
Murthy. -
In smartfrom create multiple page format
Hi expart..
In selection screen using select-options . i m puting the debit no 1100019222 to 1100019224 . the output shows only 1 page . n't showing 3 page .in smartform .Pls tell me how to print multiple page . i m using
data : l_sform type tdsfname,
l_fm_name type rs38l_fnam.
data : control_param like ssfctrlop.
clear control_param-no_dialog .
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : s_budat for bsid-budat ,
s_belnr for bsid-belnr .
SELECTION-SCREEN : END OF block b1 .
move 'ZS_FI_CREDITNOTE' to l_sform.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = l_sform
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = l_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.
loop at itab_debit.
if sy-tabix = 1.
clear control_param-no_dialog .
else.
control_param-no_dialog = 'X'.
endif.
read table itab_basic with key belnr = itab_debit-belnr .
CALL FUNCTION l_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = control_param
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
itab_debit = itab_debit
itab_basic_value = itab_basic
itab_t030k = itab_t030k
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
new-page.
endloop.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
but n't working...
i ll give points...
regards
bhabaniHi,
I have Corrected the code.Check and reply.
data : l_sform type tdsfname,
l_fm_name type rs38l_fnam.
data : control_param like ssfctrlop.
clear control_param-no_dialog .
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : s_budat for bsid-budat ,
s_belnr for bsid-belnr .
SELECTION-SCREEN : END OF block b1 .
move 'ZS_FI_CREDITNOTE' to l_sform.
control_param-no_open = 'X'.
control_param-no_close = 'X'.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = l_sform
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = l_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 'SSF_OPEN'
EXPORTING
ARCHIVE_PARAMETERS =
user_settings = ' '
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJ =
output_options =
control_parameters = control_param
IMPORTING
JOB_OUTPUT_OPTIONS =
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.
loop at itab_debit.
if sy-tabix = 1.
clear control_param-no_dialog .
else.
control_param-no_dialog = 'X'.
endif.
read table itab_basic with key belnr = itab_debit-belnr .
CALL FUNCTION l_fm_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = control_param
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
itab_debit = itab_debit
itab_basic_value = itab_basic
itab_t030k = itab_t030k
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
new-page.
endloop.
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 'SSF_CLOSE'
IMPORTING
JOB_OUTPUT_INFO =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
error handling
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
analyse internal error table of Smart Forms
CALL FUNCTION 'SSF_READ_ERRORS'
IMPORTING
errortab = errtab.
IF NOT errtab IS INITIAL.
add your handling
ENDIF.
Regards,
Morris Bond.
Reward Points if helpful. -
Create multiple pages layout in Smartforms?
Hei guys,
I need to create a Smartform which has two parts. The top portion will remain the same, but it could possibly be more then one page because of size of text. The second part will have different values but the size will always be the same.
Now we need to print multiple pages where the second the part will be different.
I know that i will need to create a first page and a next page. But do i need to create two main windows in first page, one for each part. And what do i need to have in next page?
Any help/suggestion will be appreciated.
Thanks
NahmanHei,
I have now worked on the Smartform. I am still struggling little bit. This is what i have now:
I have one main which have 3 tables. The first two tables are displayed in the top portion of the page. As they are based on internal tables the number of rows will be different, so we dont know the exact size.
In the bottom portion i have a table which is also based on an internal table. Now in this case we only want to print one row and then jump to next page where i want to display the top portion again and the next line of bottom portion. The issue i have right now is that the bottom portion needs to be printed on a fixed place of page. But what happens is that after first row is printed, and it goes to next page and starts printed on top of the next page. I dont want that.
What i need is that the third table prints once on each page on a fixed position. Because once these pages are printed, they are not printed on a blank pages but a on a form where bottom portion values needs to be printed on specific fields.
Thanks -
Re : page formats in scripts
Hi gurus,
In scripts multiple page formats are not avilable. what exactly it means. can any one pls give the explanation.
with regards
aru.Hi!
Multiple page format means landscape and portrait page in one form. This is not possible in SAPscripts.
Coming to SMARTFORMS this is possible, i.e first page output in portrait and second page output in landscape.
Regards
Tamá -
hi all,
I need to design one smartform that dimensions are
height - 29 cm and width 33 cm .
Can anybody tell me which page format is suitable for this.
and how can we create our own page format ? is it Possible.
Please suggest
Regards
Ramihi
Page Format in SMARTFORM
Refer to page no : 33
[page format|http://www.scribd.com/doc/4642006/BC470-Form-Pringting-With-SAP-Smartforms]
Regards,
Sravanthi -
Printing Multiple pages in Smartform on Local printer
Hi guys,
I have a smartform with a command to print a page with the general conditions.
When I print this on a defined printer in SPAD everything goes fine (got 2 pages) but when I print this same form thru the Local printer I only get 1 page. It seems the second page is printed over the first.
Tried it with more pages, 1 with data then general conditions then data again, and it also prints it all on 1 page thru the Local printer. With the third page on top of the second on top of the first.
Does anybody know how to solve this issue.
Thanks.Hi,
I checked the printers and they are using the normal SAPWIN type. I tried it with access method F and G but both give the same result. The page format used is the standard DINA4.
On the print preview it looks fine, when I print it on a printer from my windows session using the local printer it all prints on the first page (so it only shows the last page).
I tried to add the check SY-TABIX > 1 and it is the same issue.
The problem seems not to be with the smartform because if I print a layout which do not have a command to add an extra page but it contains enough data to print on multiple pages and we get the same result. Second page is printed over first page.
Thx. -
Error in smartform when printing multiple pages
Hi,
I m using a smartform which have two pages in it,
i m able to save and activate it without any error message and when i run the function module generated to chk my smartform
it runs fine and diplays two pages i m using.
but as i m attaching this form with my driver program it is giving an error message while running . the error message is " No other output defined in main window."
Please help me out to resolve the issue.Re: error in smartform when printing multiple pages
dharani tadikonda
Thanks for this answer. It is absolutely correct. -
Page format for 132 column dimension in smartforms
hi guys
*In smartforms what is the pageformat for 132 column paper i.e 360 * 310 mm is there any standard pageformat provided by sap or have to create a new one ,,,how to create a new pageformat.*
Edited by: ahamed13 on Jun 6, 2010 8:44 PMAhmed,
create the new page format in SPAD tcode. Go to the device where u want to create the page format as per the requriement.
Regards..
Maybe you are looking for
-
Palm V will no longer sync with desktop software
I am a Volunteer here, not employed by HP. You too can become an HP Expert! Details HERE! If my post has helped you, click the Kudos Thumbs up! If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you
-
Which is better, Netgear N900 or Airport Extreme?
Which is better, Netgear N900 or Airport Extreme?
-
PS CS5 - Where are my Smart Sharpen settings?
I'm using PS CS5 and I know I had previously saved several customized smart sharpen settings. They're now MIA (they don't appear as options, just the default is there in the drop down), and I'm wondering if anyone can tell me what PS has done with th
-
Thread Synchronization problem
We guys are developing a P2P file sharing software(on LAN) and our program requires that we implement a multi-threaded client. I somewhere read on the forum about a multi threaded server but it doesnt work in my case (not on the client side.)The prog
-
Adobe Reader Licence Agreement Problems
Having some problems accepting the agreement so I can view .PDF Files - which I unfortunately can't do at the moment. Everytime I load a document, or the program on it's own, I get this 'can't connect to internet explorer' page instead. So I have to