Can I to execute two times the MAIN window in the same page?

Hello, friends:
How I can to execute 2 times the MAIN window in the same page in SAPscript, this without modify the program link a SAPscript?
I create in the same page two MAIN windows, but I can to print only one MAIN window, the second window is not appears.
Thanks for advance,
David

You can't - only one MAIN window is allowed per page.

Similar Messages

  • Smart forms- when i print a report it print main window data on same page

    hi,
    when i print a report it print main window data on same page .
    i.e. if data is more then one page then it shows data page wise on computer screen but when i print it print all data on same only one page by over wrriting .
    pl. help why it is happening
    i create page in page i set next page and in second page give first page.
    mukesh

    mukesh,
    what happened to this: smart form
    close that please.
    by the way,did you tried with what i suggested?
    lets say mainwindow in 1st page.
    copy the first page to second page.
    now.
    for 1st page: next page is : page2
    for page2: next page is also : page2

  • How to print items in the MAIN window of the NEXT page (smartform)?

    Dear forumers,
    There are two pages (FIRST and NEXT) in my smartform with the same MAIN windows in each of the pages. Whatever that are changed in FIRST-MAIN window will also be seen in NEXT-MAIN window.
    I will need to control the printing of table TABLE3 contents (already contained in the MAIN window) such that if a variable V_MAT_PRINT is 'X', the TABLE3 contents will only be printed in NEXT page and not printed in FIRST page at all.
    How may I achieve this? Please help.
    Thank you.

    >
    Mohammed Ahasanullah Mulla wrote:
    > Hi Deborah,
    >
    > I had also faced a similar situation,in my case it was three pages..However i will try to tell you for 2 pages..After the second table .Add a program lines and force a page break only if V_MAT_PRINT is 'X'. After the program lines add a command and make the go to new page as second page.This will solve your problem.I have done the same and its working fine .If you have any questions do ask.
    >
    > Thanks,
    > Ahsan
    Hi Ahsan,
    Here's my case.
    If V_MAT_PRINT is 'X', print the following:-
    FIRST page, MAIN window
    - TABLE1
    - TABLE2
    - TABLE4
    - TABLE5
    NEXT page, MAIN window
    - TABLE3
    If V_MAT_PRINT is not 'X', print the following (no additional controls / changes are needed, everything remains unchanged):-
    MAIN window
    - TABLE1
    - TABLE2
    - TABLE3
    - TABLE4
    - TABLE5
    In this case, is a page break suitable? I doubt it as TABLE4 and TABLE5 will still need to be printed back on the FIRST page regardless of the V_MAT_PRINT value.
    Please advise further. Thanks.

  • REG: Want to have a dynamic length in the main window of the smartform

    Hi,
    Based on the table contents and the line items, the length and size of the table should either increase and decrease,
    It shall be very helpful in meeting a requirement..
    Regards
    Srikanth.P

    Hi,
    What exactly is it that you want to do?
    The lenght of the table will automatically be dynamic as the table will be build dynamically.
    If you want to place something after the table and for that reason need a dynamic main window you can put it in the footer of the table and it will place it after the table.

  • Windows handle of the Main Window of the SAPGUI

    Hi experts,
    i need to have the window handle value of the window of the Main MDI window of the SAP GUI from ABAP, does anyone know a FunctionModule or something like this to retrieve this information?
    I need to retrieve information about the geometry of the window (Like the coordinates of the window,..).
    (For 46C)
    Can anyone help me?
    Many thanks and regards,
    Gianpietro Dal Zio

    If this is not something you hope to do programatically .. MS's SPY++ utility will be of assist. If you wish to do it programmically .. I'm a newbie and am unaware of an FM to do it, though if it is possible to call a WIN API Function from ABAP, that may be a course you could persue

  • How to dock the main window to the screen edge?

    Is this feature implemented in Swing or some other frameworks?
    PS: I need only window docking to screen,but not docking panels or other elements to window.

    I guess I don't understand what you mean by docking.
    That method will place the frame at the left edge of
    the screen.I meen that if the frame is located on small distance from the screen egde it tends to be attached to this egde, like taskbar and other panels on the desktop. I hope you will understand my poor english :)

  • My iTunes library is not appearing in the main window, only the iCloud stuff.  How can I get my full library to appear again?

    I just opened up iTunes and my full music and film library was not visible.  Only files that have a cloud icon next to them show up.  How do I get full music and film access back again?
    I never use iCloud and don;'t believe I ever set it up to operate on my system.

    Hello Stormjib,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning iTunes Library issues. Your iTunes media folder may have been move or modified, which would explain why you can only see media in the cloud:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • How to put the main windows in the center of the screen

    Hello
    I want that first windows appears in the center of the screen. Anyone can say, look at screen size and calculate it, but I don't know what it be the size of the screen when app will run, it depends of computer.
    Thank in advance !

    var screenBounds:Rectangle = Screen.mainScreen.bounds;
    This will give you information about the screen. You can access the height/width using screenBounds.height and screenBounds.width.

  • How to handle the main window in the smartforms

    Hi Guys,
    I was declared a maindow height 6 CM, if it is less items it is displaying, if more then 10 items it displaying the output, Could you please suggest me, where i do change the settings.
    Thanks,
    Gourisankar.

    Hi Gourishankar,
    Check out with the Next page of the first page. I think you have not specified the next page for the First page. As a result the output is not coming.
    &************ Reward Point if helpful***************&

  • I have an iMac and iphoto.  Currently I am having a problem with an album in iphoto.  When I double click on the album all I get in the main body of the screen is a triangle with an exclamation mark and my 2 photos show at the very bottom of the window.

    I have an imac and am using iphoto.  Currently I am having a problem with one particular album which shows in the main part of the window a triangle with an exclamation point.  The two photos are at the bottom of the main window in the same area where the "info" "edit" "create" area is.  I can see the two photos but I can not get them back into the main part of the window.  I can't drag them anywhere either.  I can't double click or right click on either of the two photos either. All I can do is click on either one and they get a little bigger.  Before I saw the exclamation point in the main body of the window all I get is two squares with nothing in them and the entire border is made up of dashes.  Can someone help me?

    Make a temporary, backup copy of your library if you don't already have one (Control-click on the library and select Duplicate from the contextual menu) and  apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
                                            Screenshot is for iPhoto 9
    Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.

  • The main window of third page will not display the text element

    Hey, smartform guru,
    I am working on the smartform to print PO data.
    The smartform has first page and next page as usual.
    I created a third page P_TERMS to print the terms and conditions for PO printout.
    I used commend node to assign the page P_TERMS as the "Go to new page" and it did go to the P_TERMS page but the text element will not print in the main window in P_TERMS page.
    The text element will print in the secondary window.Since the terams and conditions are 4 pages long, I expected it to print in the main window, so I do not have to define several extra pages to print them.
    Any idea?
    Thanks in advance!
    Fisher Li

    Hi Fisher,
    Unfortunately, In a smartform, only single main window is continued to all pages even though you can declare windows under each page as main window, but it actually acts as the same window for all pages. It just means that if text from 1st page is overflowed, it will continue to the next page with main window.
    Command line to go to next page will create an extra page but since text is not flowed in main window, it won't print the text element you have included in main window on third page.
    The solution to your problem as I see is that either you include your terms and conditions in the main window of your first page and just before your text element for T&Cs, use Command to go to third page.
    Hope it helps.
    Ravi

  • 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

  • SAPScript: Positioning a Window (Graphic) behind the main window

    Hello,
    I want to print a graphic behind the main window. But I am not able positioning a window or graphic-window behind the main window. The result is that my graphic always shows up in front of the printed text of the main window and not behind the text of the main window, as I wish. I thought that the order of the windows determines which windows is on top? But I am not able of putting a window before the 'MAIN' design window.
    Regards, Lars.

    Hi Lars
    Please check the following thread:
    ABAP Development
    /: BITMAP MYLOGO OBJECT GRAPHICS ID BMAP TYPE BMON
    I think, trick must be in 'TYPE'.
    Try to explore what options you can have (here it is BMON). I will also try.
    Regards
    Ashish Jain

  • 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

  • SAP Script: Printing the signature on main window at the end

    Hi,
    I am working on a SAP Script (Benefits enrollment form HR_BEN_ENRO).  I copied the HR_BEN_ENRO into ZHR_BEN_ENRO and making the necessary changes without modifying the driver program.
    The problem I am facing is as follows:
    In the main window there are so many Text elements.  At the end of the main window, after the last text element, I have put some text using Include statement.  The last text element is getting triggered for some employees and hence the text underneeth that is printing, but for some employees the last element is not triggering and hence nothing is printing underneeth that.
    Is there any solution to print the this text at the end of main window after printing all the remaining information.
    I also tried using BOTTOM & ENDBOTTOM. But in this case I don't know how to check that I am in last page of the main window.  I tried the following way:
    /: BOTTOM
    /: IF &PAGE& = SAPSCRIPT-FORMPAGES&
    SIGNATURE:__________   Date:__________
    /: ENDIF
    /: ENDBOTTOM
    In this case the value I am getting for &SAPSCRIPT-FORMPAGES& is 0 (zero).
    Any solution..please.
    Appreciate.

    How to link the ZHR_BEN_ENROL instead of HR_BEN_ENRO?
    I mean when I execute the TCODE: HRBEN0001 and select particular employee and click on Print form under Offer Selection area. Then standard program calls HR_BEN_ENRO. How to replace it with Zform?
    Thanks in advance.
    Regards,
    Krishna

Maybe you are looking for

  • How to find if there is an EDI Subsystem?

    I am working with an SAP Partner who is having problems setting up an IDoc Listener in SAP-MII.  After troubleshooting the errors in the configuration, I run into one which I can't seem to resolve.  During the configuration of the Partner Profile (WE

  • Qosmio G30: No Sound in Live TV - Media Center 2005

    For two months I have been using a Qosmio G30.The sound is good from all the functions on the PC except Live TV in the Media Center Edition 2005. The picture is good except there is no sound..I have checked all the forums and cannot find a solution t

  • Bapi/Idoc to Webservice

    Hi experts, I need help in sending purchase orders from SAP using Bapi's or Idoc's to a 3rd party system using webservice, but I need to call  two webservices in the 3rd party system(target) one after the other.To be precise once  the 1st webservice

  • Client Eventing between a html page and iviews

    I have an iview with static html(anchor tags) in the navigation panel, basically these links should open up corresponding iviews in the content area. What would be the best way to solve this problem.

  • Commit on each iteration

    I have a problem here with transactions and I'm not to sure how to handle this with Java/JDBC. I have a loop like this: [begin transaction] setAutoCommit(false); [select some rows from table a joined with b] while( there are stil rows ) { [update tab