Smartform second page

Hi All,
I have requirement in smartforms. The requirement is to develop 2 pages wherein 1 page has logo and some header details followed by the text and its coming fine.
but the problem is with 2 page the text in page 2 is the continuation of page 1 text but in the page 2 the text is getting printed by having some gap in the top area of the page2. Logo and header details are to be printed only in the 1 page but not in the page2 even though it is not printing in page2 but it is taking in page2 and text is getting printed under that so that top area is filled with empty space.
Can anyone suggest me how to remove that empty gap in page 2 and continue printing from top in page2.
Regards,
Chandra

Hi Chandra Reddy,  
Copy the same page as first to the second and remove the unwanted windows or texts and increase the main area.
Then by clicking on the window of your choice configure in the conditions tab if you want to display in the first page or the next.
Hope this solves your query.
Reward Points if useful.
Thanks,
Tej..

Similar Messages

  • Smartforms : Second Page Main Window not being called

    Hi All,
    The smartform has 2 different pages, with totally different layout.
    This also include that the Main window of both pages are different, having 2 different tables to fetch data.
    The main window width sizes are the same on both the pages.
    I have already used the Command node to call the second page, which it does.
    The problem I am facing now is that the Secondary windows on page2 gets displayed, but the main window does not get displayed.
    I have put a break-point in the code of main window of Page2. When executing this, it does not get triggered at all.
    Now if I change the attribute of this main main window to secondary window and then I execute it then it gets triggered and gets displayed.
    I have to keep this window as the main window as there might be chances of data overflow which should then continue printing on the next pages, therefore I cannot make it as the secondary window.
    Please tell why the Main Window is not being called? (Note: Size of Main Windowin Page2  is same as main window in Page1)
    I have searched the SDN already and did not find a solution to resolve this problem.
    Thanks in Advance.
    Regards,
    Darpana.A

    Hi All,
    I have got the solution to this probelm.
    In Page1 Main Window I have Table1 and a command node to Goto Page2.
    Just after this command node I have added Table2 which earlier was the table in Main window of Page2.
    So currently the Main window in Page2 has nothing included in it.
    Anything after Command gets printed into the next page. Table2 is a part of Main Window in Page1 which gets printed into Main window of Page2.
    Thanks for all your replies.
    Regards,
    Darpana.A
    Edited by: Darpana Ahire on Aug 21, 2009 9:59 AM

  • Smartforms- Second page

    Hello All
    I am developing a Smartform. It has two pages. say Page 1 and Page 2 .
    page 1 has a main window and page two has a secondary window .
    I have given Next page of Page1 as Page 2 and for the PAge2 next page is Page 1.
    Now if there is more data on the main window then the data flows and the PAGE 2 is fired .
    and I see the contents of Page 2 also.
    But if there is not sufficient data on Page 1 , the page 2 does not get fired .
    Please let me know how to fire the mandatory page 2.
    I want this because PAGE 2 is my terms and conditions page , and I want to print page 2 at the back of page 1.
    Any help how to fire page 2 even if page 1 does not have sufficient data is appreciated.
    Regards
    Rohit Bansal

    hi
    you can take your text of second page in folder and try it.
    may be it will done.
    thanks,
    Prashant.

  • Getting Runtime error while adding Second page in Smartform.

    I added 2 pages in smartform. When I worked with single page. smartform working properly. Now I added one more page(i.e Second page) I am getting runtime error.  ("The current ABAP/4 program encountered an unexpected
    situation".   A RAISE statement in the program "SAPLSTXBC" raised the exception
    condition "ERROR".)   When I debug this standard program Something width problem getting on line number 110. Both width not matched so program raising exception. Can you please tell me to solve this problem what changes will I do in my smartform?

    Please let me know the details of each page.
    Error can occur in these cases.
    1) You copied the first page to second. and later you change the width of second page
    2) You created the second page and there is template in second page. each column width is not matching with the total width of the template.
    3) windows width is greater than the page width
    Please have a look.
    Regards,
    Nikhil
    Edited by: Nikhil V Kumar on Jul 27, 2010 12:16 PM

  • Data not coming on second page of smartform

    Dear All,
    I am having a smartform . The smartform displays 7 items on first page 7 on next and so on. The problem is if there are total 10 items , the smartform is showing 7 items correctly on first page but showing only one item i.e 8th item on the second page. But it is showing the total in the footer correctly i.e total of all the  10 items .
    Please suggest wht can be the problem.
    I tried everything from my side but all in vain.
    Plz Suggest.
    Manik L Dhakate

    Hi,
    In the default setting, the next page is the page itself.
    If a page is processed (filled) and processing of the form is not finished yet (if not all texts or data
    are displayed), the system processes another page. The page used as next page can be
    determined statically during the form definition (Next page) or dynamically at runtime (manual
    page break).
    The new page is the static next page. If a new page is called by a manual page break with
    page specification within the main window (dynamic next page), the system processes this
    page.
    This page does not contain a main window and no static next page exists
    In a main window you display text and data, which can cover several pages (flow text). As soon
    as a main window is completely filled with text and data, the system continues displaying the text
    in the main window of the next page. It automatically triggers the page break

  • Cannot get long table on second page of Smartform

    I want to create a Smartform with 2+ pages. The first page is a letter, and the second and subsequent pages contain a table which could be one or more pages long.
    If I put the letter in the main window of the first page, and the table in the main window of the second page, I do not get a table.
    If I put the letter in the main window of the first page, and the table in a secondary window of the second page, then I get the table. But it truncates at the end of the page. It does not go on to multiple pages.
    If I put the table on the first page in the main window, then I get the entire table for as many pages as it takes to contain it.
    I want the letter on the first page, and the entire table on as many subsequent pages as it takes to contain it. What am I doing wrong?

    Hi ,
    Define the letter in the first page....if you think that the data is constant for the letter then define it in the secondary window itself and if you think its not then go for main window and in that table...
    Now coming to the second page define the data in the main window and also apart from that define the third page also which should be same as second page....
    in the second page set go to as third page and in the third page set go to as third page...
    Hope this will help.
    Regards,
    Rohan.

  • Smartforms: footer doesn't appear on the second page

    Hi,
    I have a smartform with two pages First Page and Next page. On the first page I have main window and table in it to display data. I have also footer window. On the second page I have main window without table node and also I have the same footer as on the first page. The idea is when data reaches the maximum lines on the main window to continue on the next page and the footer should be displayed only after the main window ends. If it is on the first page after the data should be the footer, if it is on the second page footer should apper only at the end of second page.
    Everything works fine, except if we have more than one page the footer is not displayed.
    Please advise !
    Thanks,
    Stefan

    HI Stefan,
    Keep that footer window only after main window.
    Regards,
    Madhu.

  • Second page in smartforms

    hi,
    i want to display second page in smartforms with different condent in that, i called second page in main window of 1st page using command,the problem is i want to display total window of 1st page after the end of main window,but now the second page was displayed because of the newly inserted command but the total window is not getting printed.
    how can i solve this problem can u please help me
    Sugumar G

    HI,
    If your total window is in a secondary window then. Give the command window after the secondary window. So only after the total window is printed your second page will be triggered.
    Or
    If you want to get the second page in the same place and want to print the total window after the end of main window then get the total window to the second page. Take a variable and do the total in the first page main window and display it in the second page only after everything is done in the first page main window.
    Regards
    Sarves

  • How to Display 10 columns in first page,next columns in second page in smartforms in sap.

    In internal table having 30 columns of data.
    i have to display like
    first 10 columns in first page with page no :1
    second 10 columns in second page with page no :2
    third 10 columns in second page with page no :3
    how to develop this.
    please how develop this in smartforms .
    please help .

    Hi,
    You dont have to divide the data.
    You must be using TABLE node in your smartform to display the table.
    Copy the node 2 times more so that the total table nodes become 3.
    Now, change the headings in each table according to the column you want to display.
    Change the fields of the workarea in the ITEM lines accordingly.
    Add a COMMAND node after each table and set it to go to next page.
    E.G :
    Suppose I have a table with 6 columns and I need to display 2 columns in a table then page break.
    Work area name is WA.
    Then first table will have headings : FIELD1 FIELD2
    Items will have field     :     WA-FIELD1 WA_FIELD2
    COMMAND NODE : Go to Next Page
    Second table will have heading : FIELD3 FIELD4
    Items will have field     :     WA-FIELD3 WA_FIELD4
    COMMAND NODE : Go to Next Page
    Third table will have heading : FIELD5 FIELD6
    Items will have field     :     WA-FIELD5 WA_FIELD6
    So, same table with same work area will be used 3 times, displaying different set of columns in each TABLE node.
    Regards,
    Ashish

  • How to call second page in Smartform without calling first page

    Hi Gurus,
    I have two pages in one smartform. I am using this for PWB purpose. PLease tell me how I first or second page will be triggered depending on the conditional flag that has been defined in global variables.
    For first page it is working...but I don't know how to call the second page bypassing the first page on condition basis.
    Thanks in Advance
    Gautam

    Hi,
    The smartform will always start with the first page in the structure by default.  However when you call the smartform you can specify which page to start with in the structure CONTROL_PARAMETERS field STARTPAGE, this does mean you have to change you print program to include the logic, not the form.
    Regards,
    Nick

  • Smartform problem how to make second page main window dynamic?

    Hi SAP Community,
    I am facing a problem with designing a smartform. I have taken a table in the main window of the first page, and the main window length varies according to the number of entries in the table. If the records are more than that can be adjusted in the first page then the ramaining records move to the second page main window. After the second page main window i have defined a window which i have marked to get displayed after the main window, but the problem i am facing is that that the second page main window is geting overlapped with the window defined to come after it. Can any one help me with how to control the length of second page main window dynamically.
    Regards,
    Tushar

    Hi,
    Normally, to trigger next page the main window is mandatory.
    However, if the contents of main window are not sufficient enough to move over to next page then the next page would not get trigerred.
    Moreover, please check whether the table of contents in the first page are also existing in the next page otherwise you need to trigger a new page by using a command.
    Also please direct the next page of SECOND page to SECOND itself and check.
    Regards,
    Ram

  • Smartforms - cannot hit second page

    All,
      I have created a smart form in which I need two copies.  The second copy varies slightly from the first by having a DUPLICATE text on it.  I had been calling this form twice, however it creates two print spools and is causing an issue for our BASIS guys (form is called a lot).
      I copied the FIRST_PAGE to COPY_PAGE.  On FIRST_PAGE, i set next page to COPY_PAGE.  I have attempted to print this, but the second page is never called.  I even put a breakpoint in a code sectioin in the main window of COPY_PAGE.  The first page prints normally.
      I have never done a multi page form, and this seems very elementary, but does anyone have any clue what I'm missing?
    Thanks,
    Aaron

    Is multiple spool request is the only problem?
    You can group multiple smartform output in a single spool.
    New spool request creation, using exiting spool request and closing spool request can be control by paramater OUTPUT_OPTIONS of smartform interface FM.
    Look the documentation of field
    SSFCOMPOP-TDNEWID
    SSFCOMPOP-TDFINAL

  • Not printing the Second Page in SMARTFORM

    Hi,
    I am working on Purchasing Smartform... I have created a layout with 2 Pages.. In 1st page I have the Data and in 2nd PAge i am having Terms & Conditions.. But in the output 2ndpage is not printing.. Please help me regarding this issue...
    Thanks in Advance
    Muralikrishna

    >
    muralipsharma wrote:
    > Hi Arul,
    >
    > I did what ever you said in previous message, but still i am not printing the Page2... you said that go to COMMAND node, for which window I have to create COMMAND node.. I have created a COMMAND node for MAIN window in FIRST page.. but still its not displaying...
    > Actually in my First page I am having the data and in second page I am having Terms and Conditions in MAIN window..
    > Thanks in Advance,
    >
    > Regards,
    > Muralikrishna
    >
    > Edited by: muralipsharma on Jul 30, 2010 3:05 PM
    is the first page completely filled with data or do you always want to print the second page no matter if there is an overflow or not ?
    so you have defined a new page like 'NEXT' .
    then in the 'FIRST' page create an event and a command and check next page.

  • Smartform - remove second page

    Hi all,
    I need to print a smartform having multiple pages based on the data.I am creating two pages in the smartform.the first page containes a main window  and several secondary windows and the second page also contains several secondary window and the same main window copied from first page.
    now in the print preview , the second page is appearing with blank part where i have placed the main window. I want that the second page should not get displayed if there is no data to be printed in the second page's main window.
    how can i achieve  this.
    Thanks ,
    Sushant Singh

    hi Sushant,
    now I have created smartform with two pages, each contains the same main window and some variable windows, for the PAGE1 i have given NAEXT PAGEas PAGE2, and i have inserted 1 record in the table. it is working fine and it is printing only 1 page.
    any how may be there is problem in your system i don't know... but once check all the nodes you r printing in MAIN WINDOW, check is there any blank is printing at the end may be thats why is going to page2. all the best

  • Smartforms error - no output of first line of table on second page

    After pagebreak in a SF-Table there is no output of the first tableline on the second page. I get the output of the title-line an empty line and then the next line.
    In OTF-Data I see the values but not in Print-Output or preview.
    It´s only sometimes. I´m unable to build a test-construkt with the same effect.
    OTF!  -->
    IN03TABLE_BEGIN                                 
    CP11000000D                                     
    FCHELVE   110  00093XSF101SF011110000062D X     
    SW00062                                         
    UL +0000000000000                               
    MT0170017671                                    
    CT00000000                                      
    ST0089910  8. Rate:                             
    MT0170017671                                    
    ST011081013.04.2009                             
    MT0170017671                                    
    ST0126411100,00  EUR                            
    MT0108504232                                    
    ST0089910  9. Rate:                             
    MT0226704232                                    
    ST011081013.05.2009                             
    MT0423404232                                    
    ST0126411100,00  EUR                            
    MT0102404527                                    
    ST0096010 10. Rate:                             
    MT0226704527                                    
    ST011081013.06.2009                             
    No Output of "8.Rate 13.04.2009 100 EUR"

    Hi
    OTF! -->
    IN03TABLE_BEGIN
    CP11000000D
    FCHELVE 110 00093XSF101SF011110000062D X
    SW00062
    UL +0000000000000
    MT0170017671
    CT00000000
    ST0089910
    8. Rate: MT0170017671 ST0110810 13.04.2009
                 MT0170017671 ST0126411  100,00 EUR
                 MT0108504232 ST0089910
    9. Rate: MT0226704232 ST0110810   13.05.2009
                 MT0423404232 ST0 126411 100,00 EUR
                 MT0102404527 ST0096010
    10. Rate:MT0226704527 ST0110810 13.06.2009
    But 8th rec do exists in the data still what is the problem.
    Regards,
    Sravanthi

Maybe you are looking for

  • F110 Payment run stopped, status Payment run has been carried out.

    Hi experts, I have searched in this forum but didn't find suitable scenario. I have run automatic payment after the proposal created. Somehow the payment run status stopped at "Payment run has been carried out". Then I check the payment run log: Job

  • Gift card money post-payment?

    Hi, I was told that the gift card money I had on iTunes would also work on the app store. I bought Final Cut Pro X but it did not use the existing funds I have on my account from those gift cards. Is there any way to still use that money or those car

  • Least squares method from file

    hi i have a final project i have to write least squares best fit vi,vi should read the datas from a txt file and draw best fit line according to least squares method calculations and also it should show the datas in point form pls help to me i tried

  • Error received (sometimes) when using cfxml tag

    I have a problem when using the <cfxml> tag, its seems to error when I try and display xml code over a certain length, as it works for some of my records and not others.  Is there a known sizing limit when displaying stuff within the cfxml tag ? Here

  • Importing accounts in Oracle identity analytics

    Hi all, I am trying to import accounts in OIA. I am getting the result as job Status:Success. and Imported accounts 0 of 0. But,Iam not able to find the accounts mapped to corresponding users in OIA. Please help regarding this. Thanks in advance. Reg