How to link Multiple pages in smart forms?
Hi experts,
am creating one smartform in that i have 4 pages each page is different from the other.
am linking the pages as
for page1 -
next page = page2
and create a command on main window in that go to next page(checked) page2.
similarly all the pages i have given
for page2 -
next page = page3
and create a command on main window in that go to next page(checked) page3.
but in output am getting only 2 pages only
will u help for this.
thanks and regards
taj
Hi max,
yes i created command in all pages main window
in page1
mainwindow1
command(in mainwindow1)
page2-mainwindow2-command
like this in all 4 pages i have given
but not getting the output of 4 pages
only getting the 2 pages
those are first page and the page that is connected to first page either it is 2nd or 3rd or 4th
how this am not getting the solution.
help me
thanks
Similar Messages
-
How to display multiple pages in smart forms
Hi Experts,
I am facing one problem in Smartforms. here i am using one page & main window, Mainwindow consists one TABLE, it contains 100 records. While printing this smartform, i am getting only one page and mainwindow was filled with only 80 records...remaining 20 records has to display in 2nd page but it was not displaying 2nd page at all.
Can any one please help me.
Thanks,
sreelakshmi.Hi,
Use the same page name in the general attributes-> next page of your created page.
Thanks
Arul. -
How to display multiple records in smart forms in new page for each record
Hi,
How to display the data from a internal table in a smart form.
I want each record to be displayed in seperate page.
please tell me with example.
thank u,
SarathDo this ,
in the main window - open a loop on your internal table ,
within the loop open the text and give the output fields,
after this text use the Command node and in this set the next page as page1,
so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
Reward to usefull answers. -
How to deal with multiple pages of smart forms
Hi everyone,
i have two pages in smartforms but whenever i show smart form through my program only first page is shown not the second one. i tried with next page attribute of both pages but no resolution.
thanks alot in advanceWhich solution did you choose ?
(1) main window on the two pages
- The first page contains the main window, and its next-page attribute is the second page
- The second contains the main windows, and its next-page attribute is itself
- The main windows
- - Begins with nodes to print on first page
- - Then a command node force end-of-page
- - Then some nodes and a table node that are to be printed on second page
(2) main window only on second page
- The first page do not contain the main window, and its next-page attribute is the second page
- The second contains the main windows, and its next-page attribute is itself
- The main windows
- - Some nodes and a table node that are to be printed on second page
Regards,
Raymond -
How to display multiple page images in forms ?
Hi,
What is the best method to display multiple pages image(100 pages) in forms 10g?
ThanksHello,
<p>this is a link to a tutorial that contains several sample forms.<br> One of them (ALBUM.FMB) demonstrates how to display hundred of images.<br><br>The tutorial is in French, but you can simply download the samples on the introduction chapter</p>Francois -
How can skip other pages in smart forms ?
Hi,
In Smart forms I have 10 to 20 pages out put data, and I want print only Page no. 11th or 15th only. How can skip other page or how can got output? Please suggest me.
Thanks & Warm Regards,
Sanjay Garhpandey.Hi,
Use this parameter SSFCOMPOP-TDPAGESLCT . -
How to print multiple pages of same form with one print command
Hi,
I have created a cheque print form in smartform. There is provision to print multiple cheques. I give multiple cheque numbers from my selection screen and for each cheque the smart form is called in loop. Currently I get preview of 1st cheque then I print 1st cheque then click on back, cancel or exit button and then I get preview of second cheque ans so on...
Now I want to print all the cheques with one print command.
Please advice.
Regards,Instead of looping at the smartform multiple times, pass an internal table with the data content to the smartform and use loop/ Table youroption in ur smartform in the main window.in this way u can achieve printing multiple cheques at once and avoid previewing the document several times.
Edited by: Mithun Shetty on Feb 25, 2011 8:56 PM -
How to creat 2nd page in smart forms
hi
in smart forms iam facing problem i'e if i gave 10 material's it was comming fine if i give 30 materials it was going to 2nd page in that again from starting it was comming like Header delivery adress.
what i want is if materials increase than main window should increase size & rest of thing(footer )should comes in 2nd window
regards
A K reddyHi,
For the header details not to print on the second page:
-> Go to Conditions tab of the window in which u r printing Header delivery address and check the condition 'Only on first Page'
This will solve ur problem.
thanks,
Anon -
CREATION OF MULTIPLE PAGES IN SMART FORMS
Hi,
I have a smart form in which i need to create 2pages.First will be followed by next and next by next
I created the first page and then i created the next page .
when i created first page i got a default main window and when i created a second page i.e the next page ,i did not get any default main window and when i tried to save it gives an error saying page without window cannot be saved.
WHEN I CREATED A WINDOW WITH MAINWINDOW BUTTON ENABLED IT SAYS ALREADY EXISTS AND TWO MAN WINDOWS CANNOT EXIST .cAN ANYONE PLS HELP ME OUT REGARDING THIS
THANKShi
good
1-go to smartforms
2-in a smartforms there is only one main window you can create,it is not like sap script that you can create 0 to 98 main windows,so on main window ll come bydefault but if you want to create another window that would be called as subwindow and that you can create by right click on the main window node and select create window.
3-After selectging the window one small window would arise over the main window screen , you can give any size of that window and on the right hand side of the window node you ll find three tab from there on general attribute would be there,from there you select secondary window ,because every second window other than the main window is called as secondary window.
now you can try like this it ll definitely work fine.
thanks
mrutyun -
Hi all,
Actually I want to print multiple pages in Smartforms . I have a option to take New Page and set that Page as Next page . but In my case Pages are dynamic. if any person has solution please send me.... thanksHi Srinu
just loop the internal table . please see below my code
i_output_email --- My internal table
LOOP AT i_output_email.
CLEAR i_output_email1.
i_output_email1 = i_output_email.
APPEND i_output_email1.
AT END OF xblnr.
calling the selfinvoice smartform using functional module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = gv_form
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
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.
Call the smartform
CALL FUNCTION fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = gs_control_parameters
output_options = gs_output_options
mail_recipient = ls_recipient
mail_sender = ls_sender
user_settings = space
is_nast = nast
is_repeat = repeat
IMPORTING
it_output = t_output
job_output_info = t_otfdata
TABLES
w_output = i_output_email1
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
t_otf[] = t_otfdata-otfdata[].
CLEAR ls_otf1.
LOOP AT t_otfdata-otfdata INTO ls_otf1.
APPEND ls_otf1 TO t_otf.
CLEAR ls_otf1.
ENDLOOP.
REFRESH i_output_email1.
ENDAT.
ENDLOOP. -
How to print two different multiple pages in smart forms
Hi All,
In my form iam printing 12 different pages.In that 11th & 12 th pages are having two different formats and if more records are there for each page i have to print more similar pages.For 12th page iam using main window in that by using command and table nodes iam printing similar pages for 12th one.
But come to 11th page i don't have more than one main window in my form.So iam unable to use the command node.
Can anybody help regards to this problem.
Regards,
Srinivas Reddy.Chhi Srinivas..
u don't have multiple main windows in smartform but we can us the same window for multiple number of pages...
wht u need to do is use the CONDITIONS Tab of every node..
in the check <b>only on page</b> PAGE11.. for the node u want to trigger in page11 and for other node <b>only on page</b> PAGE12 for the node u want to trigger in page12.
i hope it is clear now.. let me know if u want more clarification.
Please Close this thread.. when u r problem is solved. Reward if Helpful
Regards
Naresh Reddy K -
How to know no of pages in smart forms to be printed ?
Hi,
How to know no of pages in smart forms to be printed ?
though i got SFSY structure during run time of smartform , even that was not useful.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
during debug of smart form i don't understand how it is calculating no of pages ,as i kept break point before printing page no in smart form.
please check my two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
Help Required.
Thanks In advance.Hi Prakash,
You will not get these values during debugging.. Let the program execute completely, you will get the right values.
As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)& as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits -
How do u get New page in Smart form dynamically
How do u get New page in Smart form dynamically
page break in smart form
Re: New Page in Smart Forms
Page break inside a loop in smart form -
How to print different header & item data in new pages using smart forms.
Hi,
In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
Regards,
BrajeshHi
U need to use control break statements to acheive ur requirement.
Regards,
Priya -
How to write source code in smart forms?
hi friends,
can anyone can help me in writing sorcecode in smartforms r
any materail link.
if it is helpful points can b rewarded.Thanks in advance.Hi,
Check this link for
how to write source code in smart forms?
http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
You can write Source Code in smartforms By Choosing Program Lines.
Check this link with Screen Shots
http://****************/Tutorials/Smartforms/PO/page1.htm
Reward All Helpfull Answers
Regards
Fareedas
Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM
Maybe you are looking for
-
How to Connect Integrated Amplifier - Please Help
Hello Before I go out and buy a 3.5mm jack to RCA connector for my amplifier + 2 speakers, is this the best way to connect the sound card to my 2 channel system? Any suggestions are appreciated! Thanks.
-
Upload and compare commodity codes in SAP
Hi Gurus, Can anyone guide me on how transactions VEU4 and VE14 are used? Are there any pdfs or tutorials available? Thanks,
-
My 1st geno Apple TV hard drive crashed. Ive lost all my media that was purchased from iTunes. I want It back. I attempted to backup to my laptop and the thing would just time out. Who do I contact and how at Apple? I tried express lane and they sen
-
Retrieving messages stuck in EVENT_QTAB and IP_QTAB?
All, While two Oracle B2Bs were exchanging messages, the network suddenly went down causing messages to be stuck in the AQs- EVENT_QTAB and IP_QTAB. As these are messages are orders, the clients do not wish to lose them. They want to know the followi
-
Map new movement type to replace 651+453.
Dear Experts , While doing pgr we do 651 and then 453 for taking stock into own stock.But if we want to avoid 453. How can we update quantity in pgr with only one movement type ? New movement type(???) = (651+453).for pgr of customer returns.