In smartforms final window should trigger in last page.

Hi all,
i am have doing modifying smartforms , in smartfroms they used final window (footer page ) ,my requerment need attach
extra page that cantaing more than 100 char it should display in new page and footer page should not display, please guide me how to do it.
regards
san
Edited by: santosh jajur on Jul 30, 2009 11:25 AM

Sunil,
   i have need to add one   extra page at end .now the smartfrom as i having final window ( its an footer window )
its triggering every page i need to  avoid that final window  and i need display the page without footer.
regards
santosh

Similar Messages

  • Footer window should be in Last Page

    Hi to all..
        I have a issue in printing a form..
       I have to print the footer window only to the last page.
      i have tried all the possiblities like enabled the option 'Only after end of the main window' in the alternative of the footer and  added 'At end of the table' in the table footer of the main window.
    But still facing the problem of overlapping the main window to the final footer.
    i hope you guys can understand what i mean to say..
    Thanks in anticipation....
    regards,
    sathik

    Hi,
    If your footer text should be printed in the last page
    then the above statement write in the footer window editor.
    If it is not you are looking for, can you please little elaborate your requirement.
    Regards and Best wishes.

  • (Smartform) Print grand total on the last page

    Hi everyone,
    I'm trying to print the Grand Totals on the last page of my Smartform. I have two pages - FIRST and SECOND.
    What I did was I created a Text to display the grand total, and I specified that this text should be printed 'Only After End of Main Window'. However, the total is not being printed out.
    I can't change the condition to 'Not on First Page', because my form has more than two pages, and I only want the grand totals on the last page.
    Any help would be appreciated.

    hi,
    we have a window type called final window if u define this type window in second page . create a table in the window and go to calculations tab and define an internal table. i think u can get the grand totals.
    if u want maore clearly go throuh this link
    https://www.sdn.sap.com/irj/sdn/forums
    hope this will help you.
    REWARD ME IF USEFUL.
    thanks,
    gupta
    Edited by: gupta pullipudi on Apr 9, 2008 9:23 PM

  • How To trigger last page in sap script of customer account statement

    Hello all,
    I am working on customer account statement.
    It has it's own standard script(F140_CUS_STAT_02). But my client's requirement was completly diffrent,so i copied that to z script and made some changes like delete some window and some another window.
    Now on first page , i have following windows,
    1) Header
    2) address
    3) main
    4) Account
    5) Footer.
    Next Page having following windows,
    1) Header
    2) Main
    3) account
    4) footer
    Now i want to print account window on lsat page, so i put the condition nextpage = 0.
    and it is working fine , but as account window is physically present after Main window , so that much blak sapge is getting creted after main window on every page.
    To remove that blank space i am thinking of creting one more page and everytime i want display account window on that page.
    I have creted the last page also. but in my output it not detecting that last page.
    For First page - next page is next.
    For Next page - next page is next.
    for Last page- next page is last.
    Also i have added following code at last in  main window.
    /: NEXT-PAGE LAST.
    But i think i am placing this code at incorrect position in main window.
    I am not able to find out the correct podition to put the above code,but main window of that script conataing so namy text element, and that text element are getting handled from driver program based on some conditions.
    I have added my code in main window but not changed the original code.
    Plz let me know where to write /: NEXT-PAGE LAST. in main window.
    Or provide me some another solution to trigger thet last page in sap script.
    Regards,
    Anuja Dhondge

    Hi ,
    actually in account window i have used tha box command to print account statement.
    Previously i was printing this account statement in main window itself but without using bottom and end bottom command.
    So , as i made some changes or add some code in main window then lines of this account statement  were getting dismental.
    So my question is using bottom and end-bottom command this will happen or not????

  • Need to place the window only in last page in script

    Hi,
      I want to place the footer window only in the last page.If it has 2 pages the footer window shhould come in second page only if there is only 1 page then it should come in the first page.
    can anyone tell me how to do this in Script.

    HI Camila,
    In such a case, donot use the footer of the Table , but create another window-FOOTER which is positioned after your table, with such a design, your footer would alwyas come only at the end of the Table.
    This is a simpler approach.
    The other approach could be to set Conditions in the condition tab of the footer , such as it comes only on the last page.
    If you take my suggestion, i would say use the 1st option i have explained.
    This will help you.

  • Smartforms footer window printing problem

    Hi ,
    As  i  have  many  line types   records  in  footer window but  i need  to  print  all  footer  window's  record  in  last  page  only.
    Could  you  please  suggest   or  give  any  condition  for  footer window on the same.
    Regards
    Alok

    hi ,
    i have also tried the same method but still  i m not able to see  footer window in last page only again i have create new  window  below the main  window and cut  the footer window's  item and pasted in to new window.
    Please give me the another way to resolve this  issue.
    Regards
    Alok.

  • To print LAST page in smatform

    Hi All,
               The requirement is to change the existing smartform.
    The smartform already contains FIRST PAGE and NEXT PAGE.
    Now the requirement is to add a NEW PAGE that should be printed at last.
    ie the FIRST and LAST page should be printed compulsarily while the NEXT page is optional.
    My doubt is in attributes in the NEXT page option if we give NEXT(both in FIRST and NEXT page) then how will the LAST page will be printed.
    Or should the new layout for LAST page should be incorporated in NEXT page only.

    Hi Sridhar,
    Use a command for that.
    You have 3 pages
    First Page
    Next Page
    Last Page
    Now at the end of first page use a "Command" with condition for the next page to trigger.
    If condition will satisfy then the contents of next Page will trigger else last Page triggers directly.
    Reply back if u will face any problem.
    If ur problem get solved then please close this thread.
    Regards,
    Ankur

  • Last page in SAP Script

    Hi All,
    I have a requirement of printing terms and conditions of PO on a new page of SAP Script.
    I created a new page as LAST and called it through NEW-PAGE command from MAIN window.
    On my LAST page I created 1 window, which calls Standard Text.
    Issue I am facing is in spite of having data of more than 1 pages , print preview is displaying only 1 page of Terms and Condtions.
    Can you please let me know what am I missing?

    Hi Shradda,
    you also can just add an additional processing.
    You know, something like
    /: PERFORM 'YOUR_ROUTINE' IN PROGRAM 'YOUR_PROG'
    /: ENDFORM
    See here: https://help.sap.com/saphelp_crm700_ehp02/helpdata/en/4e/34f87463de02c2e10000000a15822b/content.htm?frameset=/de/4e/3663…
    But in my opinion it is the best to make a copy of the original because I'm pretty sure, there will be more additional requierements in the end and just to enhance or to use this technique is very hard to understand after the second implemented spot
    Can you share your stuff how you tried it?
    I mean, calling two sites in a row should definitv work fine.
    /: NEW-PAGE 'LAST1'
    /: NEW-PAGE 'LAST2'
    I tried it on my own and it works perfectly fine...
    Did you gave your last-page a followpage while testing the first suggestion? That is of course a must-have.
    ~Florian

  • FLOW LOGIC - Not printing last page

    I am working on a multi page form. The first page is allowed to over flow into the next page - at the end of the main window i want the last page to print. But it does not come out. I only get the first page and the overflow page but never the last page.
    How do I , how can i force the last page to always come out?
    we have this working in sap script - but smart forms is not working the same.
    I have seached the documentation and the online forums. I believe this to be a problem with smartforms. I searched OSS notes but did not find anything there that applies either.
    any help would be appreciated
    thanks,
    Julia

    Place command prompt at end of your main window items. And Tick the nex page attribute in the command prompt, make sure you also specify the next page.
    Regards,
    SaiRam

  • Can we scroll to the last page of an alv grid?

    I am dispalying a report in ALV grid format - REUSE_ALV_GRID_DISPLAY.
    As soon as the execute button is clicked it should show the last page with the totals.
    User will then scroll upwards to see the details.
    How to scroll to the end of the ALV grid?
    (It is like goign to the last page of course)
    Thanks,
    Ven

    Hi,
    Yes..You can do it using the OO ALV...You can use the method set_current_cell_via_id ..to show the last record.
    Check this example.
    * Declarations.
    DATA: l_lines TYPE int4,
          l_row_no TYPE lvc_s_roid.
    DATA: ok_code LIKE sy-ucomm,
          g_container TYPE scrfname VALUE 'CONTAINER1',
          g_grid  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          gs_layout TYPE lvc_s_layo.
    DATA: gt_outtab TYPE TABLE OF t001w.
    DATA: v_count TYPE i.
    *       MAIN                                                          *
    CALL SCREEN 100.
    *       MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'TEST'.
      SET TITLEBAR 'MAIN100'.
    * Create the grid.
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
          EXPORTING
            container_name = g_container.
        CREATE OBJECT g_grid
          EXPORTING
            i_parent = g_custom_container.
    * Get the data.
        SELECT * FROM t001w INTO TABLE gt_outtab.
        CALL METHOD g_grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'T001W'
            is_layout        = gs_layout
          CHANGING
            it_outtab        = gt_outtab.
        DESCRIBE TABLE gt_outtab LINES l_lines.
    * Go to the last row.
        l_row_no-row_id =  l_lines.
        CALL METHOD g_grid->set_current_cell_via_id
          EXPORTING
            is_row_no = l_row_no.
      ENDIF.
    ENDMODULE.                    "pbo OUTPUT
    *       MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      CASE sy-ucomm.
        WHEN 'EXIT' OR 'BACK'.
          PERFORM exit_program.
      ENDCASE.
    ENDMODULE.                    "pai INPUT
    *       FORM EXIT_PROGRAM                                             *
    FORM exit_program.
      LEAVE PROGRAM.
    ENDFORM.                    "exit_program
    Thanks
    Naren

  • Need to increase main window size except last page in smartforms

    I have only one main window in a smartform to print a invoice. Currently the mainwindow size is small because i added some additional info to print at the end of the main window.{i.e with some tax details}. All the pages execpt the last page has free spaces. Now the requirement is to increase the size of the main window to avoid the blank spaces except the last page.
      I have used the SFSY-FORMPAGES. THIS is not working to identify the total no of pages of the form. i have condenced it also.
    Can anyone give some details to solve this.
    Thanks in advance.

    Hi,
    I don't understand ... the size of the main window is not link between the different page ... so there is no problem.
    My main window in all the form are never the same size between first page and next page.
    Rgd
    Frédéric

  • Smartform Main window and Footer Overlap Issue

    Hi,
    I have a problem in printing my invoice smartform.
    I have to print the footer at the bottom of the main window. If the line items flow to the next page the footer should be printed only on the last page.
    I have overlapped the main window and footer windows in first and next page so that the footer window space in the main window is not left empty when there are more than one pages
    The problem is sometimes the main window is overlapping into the footer window space.
    Can someone suggest a solution for this.
    Thanks,
    Viswas

    Hi,
    Solution: The issue faced after overlapping the main window with footer window can be achieved by creating a folder within the main window and using the events to check whether there is enough space to print the footer.
    Following are the steps.
    Step 1:  Create a Secondary window say “Footer” which would be the footer window. Overlap the main window on the footer window as shown below.   
    The footer window will be behind the main window
    Step 2:  Create a folder within the main window say “Check_Footer”.
    Go to Tab “Events”, select the checkbox “Footer with Height” and give the required height of the footer. Select the checkbox “at End of Table”. Specify the “Minimum height” as required.
    Now, go to “Conditions” tab and select the checkbox “Only before end of main window”.   
    This is basically done to check whether there is enough space to print the footer on that page. The Footer window would then print the output.
    Step 3: Go to the created “Footer” window .Under the Conditions tab, select the checkbox “Only after end of main window”. Create a  text/tamplate/window whatever you want to display at bottom or footer data.
    Step 4: Save & Activate the Smartform and check the output.
    regards
    Rohit

  • Trying to add a last page in Smartforms

    Hi,
    On the smartform I have a FIRST Page & NEXT page.  The main window is set to different sizes on each page.  If the invoice is one page long then the footer is triggered.  If the invoice flows over to the next page the footer is only printed on the last page and the main window on the first page is utilized to the bottom of the page.  My footer is set up as a secondary window that is triggered after the MAIN window.
    I now need to add an appendix page that needs to be triggered as the LAST page, but the issue I'm running into is that I can't get the footer to print on the previous page any more.  The footer needs to be on the previous page and a completely different set of data will print on the LAST page.
    I tried using a command in the MAIN window but I really need the command to be triggered after the footer details rather than after 'the main window' in the Additional Event on the Conditions tab. 
    How can I get a LAST page to print and keep the footer on the previous page?
    Thanks
    Lisa

    dear all sap champs i want to get two separate
    pages. is this a requied condition that data should be
    overflowed in 1st page.
    then only i can get 2nd page.
    pls all help me ....
    vivek

  • Smartforms main window is not extending as it was made as a second window

    My Requirement is smartform coof two pages in which second one is an annexure.
    the second page should come for all the reports.
    now my first pages main window is not extending as it was made as secondary window.

    I created from scratch, it works well with dynamic text with both 0 and 200 lines (setup in initialization code):
    |__ %PAGE1
    |   |__ TEXT with dynamic text &GT_TLINE&
    |   |__ COMMAND : GO TO %PAGE2
    |__ %PAGE2
        |__ TEXT with text element "LAST PAGE"

  • Print a text on last page of smartform rpt

    Hi All
    I want to print a text on first and last page of report created in smartforms
    plz suggest..........

    Hi,
    In a Smart Form, you can use a similar MAIN window approach. For a secondary window, you might wish to use a conditional event such as <b>'Only After End of Main Window'</b>.
    Map page FIRST to NEXT and page NEXT to NEXT as you have done; page LAST does not need to be mapped to any other page. Make sure the MAIN window is contained on both page FIRST and page NEXT. Then add a command node within your MAIN window at the very end of this window (outside of any tables or loops). In its general attributes click on the 'Go to new page' and select the LAST page here.
    During form output, regardless of whether the MAIN window is completed within page FIRST or NEXT, page LAST will be triggered as your final page.
    Note: Any secondary windows on pages FIRST or NEXT with the condition 'only after end of MAIN window' may no longer print, as form output now will advance to the LAST page before this condition is satisfied.
    Regards
    Sudheer

Maybe you are looking for

  • Sharing more than 1 camera from PC

    Hello all, I have recently set up a BigBlueButton (www.bigbluebutton.org), further known as BBB, server running on a VM, the PC on which the VM is residing runs on Windows 7 Pro 64-bit. I have 4 webcams, all of them Logitech HD C270. I am working on

  • I bought Creative Suite years ago and I've lost the serial number.

    Is there some way to check my purchase history so I can get back to using the software?

  • Updatable materialized view

    Can someone help with this scenario: Say I have a master site 1 that has two tables T1A and T1B. I would like to have these tables viewable and updatable on another site 2. Site 1 is on a ship and site 2 is on a shore. Site2 will have access to Site

  • Problems with infinite/jumping buffering using Strobe MP with progressive download MP4

    Hello, I am fighting with the Strobe Media Player and an MP4 video that it is supposed to load and play with progressive download. The video is playing perfectly fine, except if it needs to buffer somewhere on the middle (the first "buffering" works

  • Loading saved images from code

         I'm creating a single-page application with CQ and AngularJS, and the nature of my app is requiring that I pull my images from code rather than into a paragraph system via the UI. Does anyone know how to accomplish this? Does CQ have some built-