Displaying bottom text of main window in box?

Hi all ,
I am working with a sap script, where i need to display standard text in box at end of the main window.
The problem is i am unable  to set the dynamic position of the box at bottom of the main window .
please help me to fix this problem?
Thanks,
Vamshi.
Edited by: VAMSHI KRISHNA on Oct 29, 2008 12:04 AM

Hi Gustavo,
Thanks for your reply.
But here my requirement is the text should be displayed immediately after the data in main window is printed . If i used the bottom window , then it will display exactly in that position despite of the main window data.
So Is there any way to display text in box dynamically, after main window data is completed?
Thanks,
Vamshi.

Similar Messages

  • How to output particular text in main window only in first page

    Hi experts how to ouput particular text in main window only in first page after that actual transaction data will be continued.....any ideas....Answers will be rewarded.....

    Hi,
    Try this.
    /: IF &PAGE& = '1'
    /: ENDIF
    Thanks,
    Naren

  • Long Text in Main Window

    Hi,
    I am trying to print 'Item Text' from invoice just below each item description(same cell of 'item descripotion' is used to print 'Item Text' in MAIN WINDOW )  in smartform. I had used an include text.
    For Ex: long text maintained is
    TEXT1 TEXT1TEXT1
    TEXT1TEXT1TEXT2
    TEXT1TEXT1TEXT3
    TEXT1TEXT1TEXT4
    TEXT1TEXT1TEXT5
    If suppose maximum size of cell can occupy only 3 lines of above long text , then it should only print remaining last two lines on the next page .
    Main Window
    Page 1
    Item Desciption
    TEXT1 TEXT1TEXT1
    TEXT1TEXT1TEXT2
    TEXT1TEXT1TEXT3
    Page 2
    TEXT1 TEXT1TEXT4
    TEXT1TEXT1TEXT5
    Also in the layout design height of main window on NEXT PAGE  is slightly greater than size on FIRST PAGE.
    But , in my case it is generating three pages.  Page 2 and 3 are printed as shown below.
    Page 2
    Item Desciption
    TEXT1 TEXT1TEXT1
    TEXT1TEXT1TEXT2
    TEXT1TEXT1TEXT3
    TEXT1 TEXT1TEXT4
    Page 3
    Item Desciption
    TEXT1 TEXT1TEXT1
    TEXT1TEXT1TEXT2
    TEXT1TEXT1TEXT3
    TEXT1 TEXT1TEXT5
    Please let me know , how to correct this.
    Note:- Form is Migrated from SAP Script to Smartform.

    Hi Mayank,
    Use Page protection For that TEXT Element (Include) in output options.
    Regards,
    Soorya

  • Print Invoice Header Text In Main Window of Smartforms

    Helo Gurus !!!
    I want to print Invoice header text in main window of smartform.
    There are total 5 columns.
    Item    Quantity          Description          UnitPrice       Amount
    Now what I want is to print header text below Description column, there is a loop on the table in main window.
    This header text will be printed only once. This is a standard header text
    How to get this?
    Points are assured !!!

    Hi Anay Kulkarni,
           I understood that u need to print this header text
    Item Quantity Description UnitPrice Amount
    So please use TABLE instead of LOOP  in the table we can prin header, main area, footer.
    place the header text in header area in table...  i am sure this can resolve it.....
    feel free to contact me if issue is not resolved/.....
    dont forget to reward points....
    all the best...
    Regards,
    Sreeniasa Sarma K.

  • Hi gurus in scripts i want to display more then one main window on the page

    hi gurus in scripts i want to display more then one main window on the page how it is to follow any body explain to me plz.

    Hi all,
        I am printing check printing from F110 with Z-form and it has been assigne to FBZP also..
        My client need to print the check information twise that means main window data two times.
        like this: 
           First main window.  :      invice#       amt            amt
                                               9002          4000          4000
                                               9005          5000          4000
    Al so they want like to print same in down part of the main window.
           First main window.  :      invice#       amt            amt
                                               9002          4000          4000
                                               9005          5000          4000
    For this i  have created instance main window of main window like MAIN    01,  but it is not displaying the data in instnce window data
    in the instance main window. 
    Question: Could you please let me know abt the same or good solution. How to cal main window instance , i tried with  
    /:   NEW-WINDOW      in instance main window part but it also appering in main windoe also.
    could you please let me know how to call instance main window or any other solution to get teh data like my example above.
    thx

  • Display text in script  at the bottom of the main window

    Hi all,
    I want to display a long text in the main window at the bottom.
    In case of single page output the text should be displayed in the main window at the bottom. But in case of multiple page output I want the text to be displayed only in the last page.I have tried giving the text inside BOTTOM ENDBOTTOM but its not working. In case of multiple page output also the text is getting printed an all the pages.Kindly let me know the answer at the earliest.
    Thanks & Regards,
    Neethupriya.

    Hi all,
    If anybody knows the solution please let me know at the earliest.
    Thanks & Regards,
    Neethupriya.

  • Porblem in displaying the data in main window and footer in sapscript

    Hi Friends,
    I have created a 2 pages with a main window and 6 footer windows for purchase requistion printout. My requirement is footer windows should only be displayed at the last page. If i bring the footer window at the last page there is blank space in all pages after the main window since the main window size is smaill, if i increase the main window size it is overlaping footer windows at the last  page.
       I want the main window shouldbe big and footer should be displayed at the last page.
       please hellp me to solve this.
    Thanks
    Gayathri S

    If you want to position footer texts right after the last line of the MAIN data (thus, anywhere in the page), you define them as text nodes inside the MAIN window, and you use a template node if you wan't to position them precisely.
    If you want to position footer texts relatively to the page edges (and not relatively to the MAIN), do like this (as my previous answer is wrong):
    - define your footer windows in the same page of the MAIN, select condition "Only after main window" (so that the windows will be printed on the page of the last line of the MAIN data.
    - If the footer windows span over the MAIN window (because you want to maximize MAIN window height on all pages except last where you put the footer, as it was the case for Gayathri), you must add a template node inside the MAIN window, as the last element. Its height must be equal to the part of MAIN that is overriden by the footer windows, so that a new page is triggered automatically if there is no sufficient space and the footer windows will be printed on next page, and if there is enough space, the footer windows will be printed at the bottom of current page.

  • Displaying line items in main window

    Hi
    I want to create a sapscript from scratch. How do one display multiple line items in a one window.
    Do i loop the internal table in the print program and write to scapscript?

    Hi,
    Make a Main window in sapscript.
    Make a text element say ITEM.
    and then give the name of ur variable to be printed as &<variable>&
    Now in Program side make a new prog...
    get the lineitems in itab
    open_form....
    loop across the itab
    write_form
    endloop
    close_form
    Pls ping me if unclear... i think it helps...
    Regards,
    Abhishek

  • Sapscript bottom text in Main, just for the last page, but printing only in the last page

    I need to print a text but only for the last page in the main window.
    I have tried with IF.
    IF &PAGE& = &SAPSCRIPT-FORMPAGES&
    BOTTOM
    ....TEXT
    ENDBOTTOM
    ENDIF
    But it prints in all pages in every main window.
    Can someone point me what I am doing wrong or how can I do this?
    Regards,
    Carlos

    Hello Carlos,
    the problem with this condition is the following.
    The Sapscript composer cannot know during the processing of e.g. the first page,
    how many pages will follow. So &SAPSCRIPT-FORMPAGES& still contains the same
    value like& PAGE& and is filled with the correct values only at the very end of the processing.
    (when the total number of pages is known).
    So I suggest you to use the BOTTOM command in the print program,
    when the processing of all item of the MAIN window is ended.
    There is an other variable &NEXTPAGE&.  &NEXTPAGE& will always be 0
    when it reaches to last page to print. The problem with this variable that
    it can not be used in a condition in MAIN window too, only in a separate page window.
    Regards,
    Hedvig

  • SAP Script: Include text in MAIN window prints outside MAIN window margins

    Hi,
    We're facing a peculiar issue. We call a text element in the MAIN window of an SAP Script form using FM WRITE_FORM.
    The element has 2 includes.
    The problem is that when the content of any of the 2 includes is large enough, the include text prints overflows outside the MAIN window margins on the first page and into the area of the footer window of the same page. It does not automatically flow to the next page MAIN window.
    We have checked that the MAIN window and FOOTER window margins do not overlap. Infact they are quite far from each other.
    We have tried stuff like using a forced PROTECT, change the para format etc, but nothing solves the problem.
    Does anyone have any idea?

    You do not need to use the subroutine READ_ORDER_TEXT to get another text name because you already have it: TMP_TXNAM2 .
    Pass this value back to your SAPscript, and it is okay.
    Or you can even check the text object is empty or not, if no text is found, print 2 empty lines:
    still use your subroutine to read the text, if no line is found, set TMP_TXNAM2  to empty, otherwise, no change,
    In SAPscript, check the value is empty or not, then print 2 empty line or the text object...

  • Dynamic display of text in footer window (script)

    Hi
    i need to capture the text from the billing document& display it in footer dynamically. how to do this.
    For capturing text at footer level..eg..’ product sold for the month Oct 07”
    Use header text ‘ 0001’ at Billing document.
    correct answers will be rewarded with full points.
    Thanks in advance.
    sirish.

    Goto VF02---->goto Header---->select Header text
    and pass this value to FM <b>read_text</b>
    Check this sample pogram.
    Display long text in SAPScript
    Regards,
    Maha

  • Display medium text in a 'set filter' box

    I have a hierarchy and populated all levels of text(small, medium, and long).  We want to display the medium text when reporting.  I have made all the required changes to display the medium text of the hierarchy for reporting.  That works great!  However, when you hit the 'set filter value', the filter box shows the hierarchy with the small text.  Is there a way to change the text display for the filter box?
    Thanks,
    Matt

    Take a look at the following thread:
    F4 help - Search values - I need key and text
    Hope this helps...
    Bob

  • Displaying Japanese text in Bex window

    Hi,
    In one of my reports, the text is in Japanese language and is shown as ######### in BEX window. Is there a setting, whereby I can display the Japanese fonts in BEX window ?
    Would appreciate your help with points.
    Thanks,
    Abhishek

    Hi
    Have you mapped 0LANGUAGE in transfer rules and loaded Japanese fonts in BW
    For that , you have to maintain language dependent text settings for the related master data
    If you done this, any text can appear in BEx window
    Read this
    Regarding Language Dependent Text
    multipule language
    You can search more such threads in the forum to get a better picture to solve your problem easily
    Regards
    N Ganesh

  • Display of total in Main window in Sapscript

    Hello guys,
    can you please help me with the following?
    Working with Standard transaction F.2c standard program RFDUZI00 whereby I have to make a copy of the standard Sapscript F_DUZI_01 for a specific company code and modify its layout. Requirement is that:
    On the 1st page, the table should contain a maximum of 12 lines.
    On the following page (if several pages are required), the subtotals and the sum total cannot be displayed alone on the last page. If so, the 2 last lines of the previous page should be reported on the last page (and, of course, deleted from the page before the last page)
    Can  please anyone who's done smething similar help me to implement the above?

    Hi
    U can create a secondary window tyoe VAR placed in the footer of the oages when u print the subtotal or the total
    Max

  • Box in a main window  with a header text in it

    Hi Abapers,
    I am new to sapscripts and have got an issue where a box  in the main window of the first page is not getting printed in the next page when the data is flowing to the next page .
    below is the code in the main window.
    BOX FRAME 10 TW HEIGHT 7 MM
    BOX YPOS 142 MM FRAME 10 TW HEIGHT 0 MM
    *BOX YPOS 26 MM FRAME 10 TW HEIGHT 10 MM
    *HEADING_TEXT
        Description                                              Value in &bkpf-waers&
    i have the same code in the main  window of the next page also
    what may be the problem here ?
    Thanks in advance .

    Hi Sai Ram,
    There is no condition palced before the box statement.
    The next page also has a main window designed similar to the first page and an additional address window and a footer .
    This page is printed as the last page and contains the page  as required , the problem is that all the other  pages which contain the data flowing from the first page donot contain the box header as desired .
    Please let me know if the requirement is not clear ,  i will try and put it in a better way .

Maybe you are looking for