Increase main window size in the second page

Dear Experts,
In my first page i have the main window, i want to increase the size of main window in the secon page. how?

Hi Venkey,
When you have two or more pages in a smartform it is necessary that each page should have it's main window. But one important thing is that all the main windows of all the pages should be of same width and height. You cannot have different measures for each of the main window. If you do so you will end up in run time error.
In second page, add window and make it as main window. Make sure that width and height is same as main window   of first page. Next add another window and make it as secondary window. Later add any components like templates, texts etc to this secondary window. Otherwise they will not be shown up during print or print preview.
Let me know if you have any further issues.
Thanks,
Rajesh

Similar Messages

  • 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

  • How to increase main window size dynamically in sapscript

    Hi,
    I have to print all records which are available in internal table in a main window.The main window is in between two variable windows.And below two other varaible windows are there.
    I want main window size to be increased as per no. of records available(max 12 records) in internal table.
    If the specified size is insufficient then the variable window which is below the main window should move below to accommodate the records available in internal table.
    This is very urgent requirement.
    Please help me.
    Regards,
    Vidya

    Hi Vidya,
    Main Window size cannot be changed dynamically.
    They are static values.
    However,  i hate to say this again but
    if you use a table with a footer the footer of the table will move up if the number
    of records are less. Sorry for not having a more positive reply.

  • Popup window  opens in the second page  - plz help gurus.

    Hi All,
    I'm calling a transaction through ITS. There is a hyperlink in a report brings up PDF in the popup window. Popup window comes up in the second page of the report after closing in the first page of the report. Popup comes in all the consecutive pages of the report once I click on the hyperlink. This is really frustrating. Pls let me know if i need to do any configuration to avoid this problem. 
    Thanks,
    Kumari

    Hello Kumari,
    are you using the SAP GUI for HTML (webgui)? Normally, no hyperlinks are used except on documents inside an HTMLviewer (like in TX TRIP), or when Drag & Relate is activated.
    I suppose the link is part of a document that is shown in an HTMLviewer. Though this document does not belong to the ITS or the SAP GUI for HTML it uses ITS's URLs to address a new page or document. But, with this URL the status of the ITS or the application does not change, thus showing the popup over and over.
    If you have a tool to trace the HTTP protocol you can check for the URLs that are send on a particular action. I
    Best regards,
      TJ

  • How to Supress the Second Page in Smart form

    Hi,
      I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
    Thanks,
    Pramod

    Hi
    just use the command Describe table ITAB lines v_lines.
    so v_lines <> 0  means items Exist.
    so use this field in the condition
    Define a Text ELEMENT for the MAIN window data
    Before that text element put a condition based on the v_lines field.
    /:  IF V_LINES NE 0.
    /E MAIN
    /:  ENDIF
    So when you give print , if no data in internal table it won't print.
    Reward points for useful Answers
    Regards
    Anji

  • Calling the second page in d script

    Hi friends,
    I want to print the next page in d SAP Script. I assigned the second page in d first page n called d second page recursively.
    With this i m getting to view the print priew of the second page but the ntries in the main window r gettin repeated. If i doont assign d 2nd page den i m getting d correct o/p but the next page is not called.
    Even d footer is not gettin called after the main window. It is displayed in d first page itself evn if the main window extends to the second page.
    Plz reply.....
    Thanks in advance.
    Purva.

    while giving attributes for PAGE give <firstpagename> followed by <secondpagename>
    select EDIT and create element (page name & description) for the additional page
    Edited by: Pavan kosaraju on Dec 29, 2007 8:23 AM

  • Triggering main window of the second page

    Hi Experts,
    I have two pages. Second Page will only get trigger at certain condition. I am triggering the Second page through Command. My issue is my second Page is triggering but the main window of the second page is not getting triggered. It should be like that the main window should get triggered. Even I have copied the main window and used it in the second page that is also not getting triggered. Please help me to resolve this issue.
    With Regards,
    Anomitro

    Hi,
    You should not create a new main window in the Second page of the smartform
    Instead, you copy the main window of the first page to the second page.
    So even if you add a text window in the first page Main window that will be reflected in the second page, but this should be below the command window.
    Use the command window to trigger the second page.It triggers the second page and all the text windows that are after(under) the command window will be coming in a new page.
    Check this link: https://wiki.sdn.sap.com/wiki/x/bAZqBg
    Hope this helps
    Thanks
    Sarves S V K
    Edited by: Sarves Sombhatla on Feb 21, 2011 6:56 PM

  • Smartform doesn't show preview when the records exceed the main window size

    Hi
    When i print the smart form having line items exceeding the main window size on the page it does not show the preview. The internal table loop goes into infinite loop. Is there any means whereby if the records don't fit on the main window of the page will be continued to the next page. Right now I have no clue how it is to be resolved. I feel the problem is in layout, as when i remove the main window the internal table code works fine and it does not move in infinite loop. Please help me resolve this issue.
    Thanks in advance

    Hi
    I have deleted the table from main window and instead inserted a loop.
    Also i created the two pages. But the problem still persists.
    But for my requirement my each line item in the main window has 3 lines.
    Also my layout will be the same for all pages so is there a need to create a new page.
    Is there any mechanism whereby if the line items dont fit on the mainwindow of the page will automatically continue on another page without having to define it.. please guide? Right now the smartform goes in infinite loop if it doesn't fit in main window size
    Thanks

  • 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.

  • Hyperlink does not open new window on the second page

    Hi,
    I have a report which shows list of products. Every product id has hyperlink to show details. When I click on any hyperlink on the first page, it opens in new window and looks good. But the hyperlink from the second page opens in the same window and overwrites main report.
    I am not sh=ure what is happening?
    Does anybody come across such problem and have the solution?
    Thank you.
    Julia

    Hi Julia,
    This is the way to resolve the issue in BO XI 3.1 SP3 :
    Open the existing Crystal Report in the Crystal Reports Designer
    Edit the formula which was created in the above step and replace sWindow=New with "target=_blank" as follows:
    a href="http://<servername>:<port>/OpenDocument/opendoc/openDocument.jsp?sDocName=Drilldown" target="_blank"> MyTest </a>
    Save this formula and save the report as well
    Log onto the BusinessObjects Server box and modify the web.xml file located in C:\Program Files\Business Objects\Tomcat55\webapps\CrystalReports\WEB-INF by adding the following code in it: 
    <context-param>
          <param-name>
                    crystal_encode_html_for_single_line_field_objects
          </param-name>
         <param-value>no</param-value>
    </context-param>
    5. Save this file
    6. Restart the application server (Tomcat)
    7. Now, when you open the report in InfoView and click on the hyperlink, the target report should open in a new window.
    Regards,
    Anchal

  • Smartforms - 2 individual tables in main window to show on NEXT PAGE

    Hi Gurus,
    Please forgive me for this basic questions in smartforms. I've just started working with it.
    My questions is:
    " Can we put a table inside a template? 'Coz I've created 2 tables (with individual header, body, footer), and I want to put them in Main Window. So, if one of them is already full, the next entries will be displayed on the next page."
    What is happening is that only the last table's data is being displayed to the next screen if already full in the first page. So I'm thinking if we can put the 2 tables inside the template of 2 lines. Is this possible?
    Any other suggestions would be very much appreciated. Please help me with this. Thanks.

    Hi Ayem
    Inorder to continue data from one page to other there is no need of a second table,it will automaticaly be continued in the second page.
    See these WIKIs ,it will explains smartform with examples and screen shots.
    [https://wiki.sdn.sap.com/wiki/display/ABAP/SMARTFORMguide]
    [https://wiki.sdn.sap.com/wiki/display/HOME]
    [https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALINSAP+SMARTFORMS]
    Regards
    Hareesh Menon

  • Dynamic main window size

    hi all,
    Mian window size should vary based on the value.
    This is my situation ... if my footer window is not printed the space is left blank, but my scenerio is to cover the blank space with my main window when my footer window is not displayed.
    for example when the data exceeds first page then my footer window willbe printed only in the next page, so space left by the window should be filled by main window .
    how to dynamically chage teh main window size based on the footer window...
    Please provide me the details.
    Thanks in advance.
    Suresh RR

    Hi Suresh,
    Theres no need to use a dynamic main window. All you have to  do is to print the footer on the last page if theres no content in the main window. I will explain how.
    Just create a main window that fills up the page to the end. Use a text element for printing the main window content. Once that is done check &PAGE& equal to &SAPSCRIPT-FORMPAGES& (This field contains a number representing the total number of pages of the currently formatted form). Once that is done it means that the last page is reached. Then you call another text element having the footer text or data. that way you cqan print the footer in the last page without modifying the main window.
    Reward if helpful.

  • 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.

  • Problem with PDF files opening to the second page

    I am dealing with a fairly annoying issue where the PDF's I open to the second page without any rhyme or reason.  I open my PDF's with Internet Explorer by selecting the PDF> right clicking> selecting open with Internet Explorer. Is there anyway to fix this?
    I have tried on a
    Windows 7 32 Bit
    IE 8.0.7600.16385
    Adobe Reader 9.4

    It happens intermittently to all my PDF's. I have made sure to turn off "Restore last view settings when reopening documents" and i have also tried to change the reading order to" left, right, top to bottom". The wierdest aspect is that I can select a PDF and it will direct me to page 2 and then if i open another PDF then open the same one that opened to page 2 it will now open to page 1.

  • Display Text in the Second page of the Report.

    Dear,
    I have a Report With Group G_Emp, having Columns Eno, Ename etc. in a Repeating frame R_1 and
    I have put A frame below this repeating frame R_1 with a Text Item Just for Displaying Comments, so just i want to display this Text Item in the second page and the Employee details in the first page, the restriction is that the Text item should not print in the first page.
    I hope you understand,
    pls help.
    Stalin Ephraim...

    Hi,
    if i understand well you could maybe try this :
    or ) for your A frame below the repeating frame specify break page before = YES
    or ) and if i understand your meaning correctly you want your comment to show once, on a seperate last page -->
    in your layout section move the sdesign for your A frame from the main section into the traileer section.
    regards, E.

Maybe you are looking for

  • Itunes duplication of songs when moved from one computer to another.

    I moved all my music and itunes from one computer to another. I now have most of my artist that have duplicate songs and sometimes three copies of the same song for some reason. Some artist it didn't affect at all but that is a minority. How can I cl

  • Vendor Line Item Display-Tx Code

    Hi all, please tell me the transaction code for "vendor line item display" regards vikas chhabra

  • Is it possible to XSL render custom fields in SharePoint 2007

    Hi, I would like to know whether XSL rendering can be used for Custom filed display in a SharePoint list item view level (All items view). IF yes, how to achieve this ? If not what bwetter methods are available for rendering a custom field which incl

  • HP DL380 G5 Windows Server 2012 R2 Hyper-V

    Hello. I have a HP DL380 G5 server & a have a problem. OS installation proceeds normally, the installation takes the role well, but the virtual machines is running weird. When using a network inside a virtual machine (for example, copy of iso file fr

  • How to make this program terminate?

    hi, how to make the code below stop? is is hanging because UnicastRemoteObject has registered it, and no-one has unregistered it? thanks, asjf import java.rmi.*; import java.rmi.server.*; public class UniTest extends UnicastRemoteObject implements Re