How to show a window at end of main window in smartforms

Hi guys,
I want my window in smartform to show only after end of showing the main window,,,
When i tick only after main window in condition tab of window, it shows on the uppermost portion of the output and not below the main window... Do I need to input the upper margin for this?
How am i going to do it?
Thanks a lot!

Thanks guys,,,
But still not working...
Do I need to fill the upper margin of the final window?
Since the height of my main window is dynamic, Im not sure what to fill up on the upper margin...

Similar Messages

  • How to print a window (ex:total)only after end of main window in SAP Script

    How to print a window(ex: total) only after end of main window in SAP Script
    Thank you.

    Create a total window and place it after your main window, get the number of lines in your main window and place counter
    Ex,&SAPSCRIPT-COUNTER_1(+)&,
    IF SAPSCRIPT-COUNTER_1& EQ <number of lines in main window>
    **print total
    ENDIF.
    Regards,
    Sairam

  • Main window of SAPScript versus Main window of smartform

    Hi,
    In case of Smartform we have one main window per page but in case of SAP Script we can have 0 to 99 Main window on one page.
    In case of smartform if the main window on one page gets filled then the remaining long text will jump on main window of second page.
    Following are my doubts:
    If I define three MAIN windows for three different kind of long texts on page one in SAP Script as follows:
    MAIN Window 1 -  Long text1
    Main Window 2 -  Long text2
    Main Window 3 -  Long text3
    1) If the long text 1 on MAIN window 1 of first page gets full does it automatically jump to Main Window 2 of first page ?
    2) If I don't want the long text on Main Window 1 to jump on Main window 2 on first page but on Main winodw 1 of next page , is it possible ? How do I do it ?
    Answers will be rewarded..
    Tushar.

    In SAPScripts if the long text is filled in the Main Window it will spill over into the same Main Window if it is defined in the next page. Text from one Main Window will nt spill over onto the text to different Main window.
    So as far as you questions are concerned:
    1. Not it does not automatically jump over into Main Window 2 from Main Window 1 on same page or next page.
    2. You just need to define the Same Main Window on the next page so that text gets jumped over to the next page. If it is possible just define the next page as the same page, so that you do not have to create a separate page and attach all the windows.
    Hope this helps you...
    Shashi Reddy

  • How to Show the Adobe Paragraph Composer in Control Window

    Hello,
    I have the Adobe Paragraph Composer shown in my InDesign CS6 already on the Control Window (the tools on the top of the window). I am trying to set that up for my friend as well, but I just couldn't remember how did I do that.
    Could someone please guide me how to show it on the Control bar on the top of the window? I know I can display the panel under TYPE, but would like to have it show in the Control instead since I use it so much.  Here's what I am asking:
    Any kind assistance is much appreciated.
    Thank you.

    Hi,
    In my thread itself, i have mentioned that, i am duplicated default framework page. I am using CE, in that end user content folder there is no light framework.
    Can u let u know where the light framwork present in CE.
    Thanks & regards,
    Kathiresan R

  • SAPSCript how to print  a comment at the end of main window on first page?

    In SAP Scripts, How do I print a comment at the end of the first page (I have several pages of data) in the main window?
    - Ven

    hi
    good
    yes we can put condition.....to display the footer window get printed after all data in main window gets over.........................assingn u r footer window to next page [ i.e u r second page] ...and write the condition
    In such senario no need to use a window for footer.
    In the Script form:
    -> In the Main Window itself after all the main data create an Element.
    -> Use BOTTOM and END-BOTTOM; write your footer information between them.
    In your Driver Program:
    -> After printing all the data (means after passing to form and before closing the form) call one WRITE-FORM with the footer element.
    I'm sure it will work.
    f u r not interested to change the print program. Then simply insert simple code in the footer wondow.
    now insert this code in ur footer window
    IF &TTXSY-PAGE& = &SAPSCRIPT-FORMPAGES&.
    *all code in footer goes here.
    ENDIF.
    &TTXSY-PAGE& holds the page number of current page.
    &SAPSCRIPT-FORMPAGES& holds total form pages.
    This will work.
    write this code then the footer will be printed in last page itself
    /: IF &NEXTPAGE& EQ 0
    whatever footer you want.
    /: ENDIF
    You need to create an element in the MAIN window. You can do it in two ways:
    1. In SE71, you can create:
    /:E FOOTER
    /:BOTTOM
    Text
    /:ENDBOTTOM
    In the print program, just call this element.
    2. In you print program, populate parameter type = BOTTOM in FM, WRITE_FORM.
    Ex.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'FOOTER'
    type = 'MAIN'
    window = 'BOTTOM'
    EXCEPTIONS....
    However, if you issue new page having new header data. Thus, new item data. And if it will exceed more than 1 page, the footer will still appear. To solve this, you need to create a new element in MAIN. Ex. INIT_FOOTER. It just contains the following:
    /:E INIT_FOOTER
    /:BOTTOM
    /:ENDBOTTOM
    Call this after passing all item data.
    reward point if helpful.
    thanks
    mrutyun^

  • How to deploy rpt chnges to end users using Windows Installer?

    We are in ISV and we develop an integrated suite of business management applications.  We use Crystal Reports extensively in these applications.  We currently deploy 717 rpt files with our suite.
    Because rpt files are not versioned, we are having problems deploying rpt changes to our end users using Windows Installer.  Windows Installer assumes that non-versioned files contain user data, so if the file exists on the users system, the file is never over written, even if the file included in the MSI is newer than the file on the users system.
    Is it possible to version .rpt files?  How do you recommend deploying these files so that if we change a few of then, we will be able to deploy the changes to our end users.
    Thanks,
    Todd

    Hi, Todd;
    There is a Revision Number property in a report that is updated when any changes are made. You can access this via the File | Properties screen, but I am not sure if you can use it in an installer.
    Regards,
    Jonathan

  • How to determine Last Lite Item of a Main Window in SCRIPTS

    Hi All,
    I have a requirement <b>to print a value after all the Line Items have been printed in a main window.</b>
    The question is <b>how do I determine the end of Line Items</b>?
    Also, this needs to be done without a change in the print program.
    Please suggest your valuable opinions.
    Thanks & Regards,
    Arun

    Hi yerram,
    1. There is no direct way,
       to know which is the last line time getting printed,
       (from inside the sapscript)
    2. Bcos, the sequence is controlled by the driver program.
    3. What u can do is check the driver program and the layout,
       to detect,
       some ELEMENT
       which must be getting printed, after all the line items are printed.
      (inside that element, u can write your own
       text to get printed)
    regards,
    amit m.

  • How do i get the components when a new window opens from the main window?

    In a given application, i am able to get the list of components for the main window. When an event happens in the main window, now a new window opens here how do i get the components for this newly opened window?

    getContentPane().getComponents() can be used, only if i know that new class name thats been poped up when the event happens to that main window....
    Is there anyway in runtime to know that new class name & fetch the event...

  • Need to print horizontal line at the end of main window in each page.

    Hi,
    I am printing a smartform with main window having 10 lines in footer. The problem I am facing is when the content extends upto two or more pages, I am not getting the horizontal line at the base of main window. For last page it is fine as it contains footer.
    Please suggest how to proceed.
    Thanks,
    RKU

    Hi,
    If you don't have any frame set on your main window:
    Go to output options and mark frames, and then go to details and uncheck checkboxes for above, laft and right, leving only below marked.
    This will give you a line in the bottom of you main window.
    If you dont' want to do this on the main window, can you create a new window placed at the bottom of the page and use this framing technic on that window. But in that case don't forget to mark the "always draw box and shading" checkbox. as this window contains no values, the will not get printed unless  you mark this checkbox.
    Regards
    Åsa Thenstedt

  • How to find remaining space left in the main window

    Hi Guys,
    In one of the smartform there is a MAIN WINDOW, in which a table will be displayed with 3 or 4 entries for each material. ( so that atleast 3 tables are displyed on a single sheet)
    Some times if the space  is not enough in the main window to display the contents of the table, the contents will be displayed in the next page. (Eg - 1 entry at the end of the page with the header at the end of the page and remaining entries int he next page with the header, which is satisfying the client's requirement)
    Problem is some times only header gets displayed at the end(end of the main windw), but so space is avaliable to display the contents, so the contents will be displayed in the next page with the header again,
    so the end user will be seeing a header at the end of the page with no contents,
    Is there any way to solve this(Not to dislay the header if the contents of the table cannot be displyed)
    Is there a way to find the remaining space in the main window dynamically so that if i am able to find the remaining space is JUST 1 LINE ( or CM  or INCHES), then I can put a condition for not displaying the header).
    Regards,
    Naveen.

    Hi,
    In smartforms, there is no other way to find the remaining height of the main window on a page.
    Hence, another way to solve this is to restrict the contents of the table with templates designed such a way that if there is header and items then display exactly a set of rows which would fit clearly on a page.
    Also make the folder as page protected.
    This is tedious but there is no other way i think as we also faced similar kind of issue.
    Regards,
    Ram

  • How to get rid of grey background in main window?

    Hi
    Just bought PE 13 for my iMac? Quite simply : I don't like the main window that opens - a big expanse of grey. There must be a way to keep the window's "frame" while getting rid of the opaque grey, so I can still see my desktop when using PE ?

    Unfortunately, adobe removed the ability to turn off the application frame in photoshop elements 11, 12 and 13.

  • 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

  • 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 show button at the end of slide

    Hi,
    Two new problems below:
    1. How can I show my own button ("next") - that will take to the next slide - around 2 seconds before the end of each slide and after click I will be moved to the next slide.  My button is displayed for the rest of project and slides have different duration.
    2. How can I prevent student from moving playbar button face fast forward? I know I can hide playbar, but I do not want to do this way. I want playbar button face visible, but I want to deactivate playbar forward function.  Is there any solution for that?
    Thanks,
    Pawel

    Hi,
    I will try explain what I need:
    1. I need playbar and I have.
    2. I need button to glow on to show students how far they are and I have.
    3. I do not want students to move forward this button on playbar. I need this button to be uncontrollable by the students. So playbar will be just for information only.
    4. I need button next that will appear at the end of slide. If I have 20 slides I need to put 20 next buttons. Because I would like to speed up my work I try to create this button on first page and then use it on every slide for the rest of project. It will show at the end of each slide for example 2 seconds before or at the end. Now I used action on entry/exit and it works, but every slide I have to configure (on entry, on exit) separatley.
    5. I need to show hints to buttons on every slide. Now I have only on first slide, because my buttons come from smart shape (I set timing for the rest of project).
    Any Idea on making playbar button uncontrollable, showing hints on every slide for buttons, and button next?
    Thanks,
    Pawel

  • How to show a Page Total in a Main Report that is calculated in a SubReport

    Hi,
    I have a Main Report and a SubReport with the detail.
    The Report has several pages. I want to show a Page Total in each Page, retrieving data that is in the subreport (Detail).
    I tried to use a shared variable, but the problem is that the formula fields are assigned at the end of the subreport, so I can't pass the value back (to the main report) until the last record of the subreport is printed.
    I also can't show the Page Total at the subreport, because I have a particular format that I need to respect and only can be printed from the Main Report.
    Is any way to do this ? At this moment, with the shared variables I'm getting 0 until the last record is printed.
    Also, I can calculate the Page Total from outside Crystal Reports, do to there some fields that can grow, so I can't figure out how many record are going to be printed.
    Thanks in advance!
    Ariel

    hello, this may depend on how the main report was actually paging...
    1) do you have one group per page for example?
    2) is the sub on a group footer level?
    3) does the subreport use a different data set than the main report?
    some suggested workarounds would be to
    a) use a report header cross-tab (identical to the existing crosstab) that creates an array of values that you can access anywhere on the main report
    b) place an identical cross-tab above the existing one, and suppress all of the subreport sections (not the section where the subreport sits) and then bring the value back to the main report
    cheers,
    jamie

Maybe you are looking for