Printing logo at a specified position in main window in sap script

Hi,
I need to print a logo just after the signature which is coming in the main window, So basically i need to call a var(secondary) window inside the main window just after the signature and the position of logo should be towards the right.
I tried it by insert->graphics but now what I am getting is the image on the left side.How can i define the position(upper margin & left margin) of logo while using the insert->graphics??? Is there any other way to do the same?????
Ekta

Hi Ekta,
For example consider the dimensions
MAIN  2,00 CM  12,00 CM  17,00 CM   9,00 CM
Logo   16,00 CM  21,00 CM   3,00 CM   3,00 CM
This logo(secondary window) Print after the main window ...
Regards,
Sravanthi

Similar Messages

  • How to print line item 2times in two different main window in Sap Script

    Hi,
    I am designing check printing form using Sap script. I need to print line items 2times in different 2main window.can yu pls explain  how print like this.
    JK

    i cud not get ur query..pls elaborate

  • 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 in SAP Script

    Hi Guys,
    I wanted to know as to why is it possible to create multiple main window in SAP Script.
          In most theory it is written a SAP Script can only use 1 main window, If thats the case why is it still possible to create more than 1 of them.
          Can you explain its use and functionality.
    Helpful answers will be duly rewarded.

    Hi,
    U can have multiple main windows in Sapscripts(Upto 99)
    Main Windows (MAIN)
    Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:-
    ? It controls the page break.
    ? It contains the text body that may cover several pages.
    ? It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).
    As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.
    If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page. This page must not call itself as subsequent page (recursive call), since this would produce an endless loop. In such a case, SAPscript terminates the output after three subsequent pages.
    For printing header lines or totals, the different output areas of the main window are of special importance.
    The diffetent Output areas of main window are
                                                                      TOP
                                                                      BODY
                                                                      BOTTOM
    its use and functionality.*
    Suppose you have requirement that you r displaying data from two line item tables which can flow multiple pages.
    In this case u have to use multiple mail windows.
    Regards
    Sandipan

  • Regarding Number of MAIN Windows in SAP Script.

    Hi,
    SAP Script allows to place a maximum of 99 MAIN Windows. Is it possible to have different content in different MAIN Windows i.e., if i have 2 MAIN Windows in SAP Script with numbers 00 and 01 can i have different contents in these two windows. If possible please give us an example for the same.
    Thanks in advance for your esteemed help.
    Regards,
    Raghavendra Goutham.

    HI All,
    Thanks for your esteemed replies.
    But i want to frame my question exactly.
    In my script there are two main windows with number
    MAIN 00 and MAIN 01.
    MAIN 00
    Content:
    /E  data
      abc,,def
    In MAIN 01 i want to have only XYZ, some thing like this
    MAIN 01
    /E total
    XYZ
    My problem is: whenever i am changing the content in MAIN 01, the content in MAIN 00 is also getting changed.
    I do not want this to change, i want different content in both of them. Is this possibel if so how.
    Thanks and Regards,
    Raghavendra Goutham.
    MAIN 01

  • Printing of boxes in Main window of SAP Script at 2 different locations

    Hi Experts,
      I have an requriement in SAP script, I want to draw two boxes. The first box will be at the beginging of main window with 0.5 cm, which is comming perfectly. After the first box I have to display the entries related to a particular table, after the completion of that table I need to draw another box of lenght 0.5cm and the entries related to another table, needs to be displayed.
    I am able to get the first box with intensity, but for the second box I am not getting exact position where i need to draw a dynamic box by filling intensity.
    For that reason i have drawn two ulines and wrote the text, is there any way to fill internsity in between those lines.
    Thanks
    Ravi.

    Hi Sujeet,
    I already tried with that command, the problem is in between two boxes I dont know how many lines of data will come.
    There is a need of drawing a box dynamically.
    Thanks
    Ravi

  • Getting Dynamic XPOS and YPOS for drawing the line in MAIN window in SAP Script using BOX command

    Hi Experts,
    I am trying to draw a line using the BOX command in the main window.
    /:         BOX HEIGHT 0 TW FRAME 10 TW INTENSITY 100
    I want to draw a line in XPOS and YPOS dynamically..
    Is there any way to find such I can draw a line dynamically after triggering a Text element. or determine the XPOS and YPOS dynamically such that I can draw a line in an intended position dynamically.
    Thanks in Advance
    Regards
    Rajesh Chowdary Velaga

    Any update on this ??

  • Can't see the Vertical line command in the main window of SAP Script.

    Hi,
    I have a peculiar situation where, I am not able to see the command through which vertical line separators are coded in the script within the main window. Can any one help me find this...?
    Regards,
    Owais...

    Hi Ravi Kant,
           What does this mean?
    /E           ITEM_YWERT
    WH           &rwerter-wert(10)&,,&vline&
    /E           ITEM_TAB
    /:           CASE &VARPOSR-YZEILE&
    /:           WHEN '0001'
    /:           DEFINE &TAB& = ',,'
    /:           WHEN '0002'
    /:           DEFINE &TAB& = ',,,,'
    /:           WHEN '0003'
    /:           DEFINE &TAB& = ',,,,,,'
    /:           WHEN '0004'
    /:           DEFINE &TAB& = ',,,,,,,,'
    /:           WHEN '0005'
    /:           DEFINE &TAB& = ',,,,,,,,,,'
    /:           WHEN '0006'
    /:           DEFINE &TAB& = ',,,,,,,,,,,,'
    /:           WHEN '0007'
    /:           DEFINE &TAB& = ',,,,,,,,,,,,,,'
    /:           WHEN OTHERS.
    *           Tab. not defined
    /:           ENDCASE

  • Change in output of quotation form in main window ( in SAP SCRIPT)

    HI expects,
          i want to change to the output values of quotation form and that should come in single line. at present it is coming in double line.as per my requirement is to be display the data in one line.
    item      material                              description
                                    Qty                                       price             price unit               value
    0010    fff.044                                   motor                                                                               
    10ea                                       26.541.00     1ea                       265.41
    my requirement is
    item     material      qty         description       price         price unit          value
    0010   fff-044        10ea       motor             26.541.00     1ea                265.41
    how can i solve this problem in SAP SCRIPT (standard form : rvorder01)

    Hi,
    As stated above , you cannot make changes in standard SAP script, create a Z one and then use it.
    Manish

  • Printing text in last page main window of a script

    Hi All,
           I want to print some text at the bottom of last page main window.But how can we find that it is last page.I mean which condition we have to put for that.
    I think the below condition like
    If last-page NE ' 0'.
    write : '----
    '..........   will be used for printing at last page footer window.
    what about main window........how to find that it is the main window of last page............
    Thanks in advance ....
    Regards,
    Rakesh.

    Hi,
    you can use this
    IF NEXT_PAGE EQ ' 0 '.
    write the text here.
    ENDIF.
    in the main window itself. Once all the records got printed, it will check that there is no next page. at that time, that was the end of the internal table in the mainwindow and the text will be printed.
    If you want a seperate window, then also the same logic will work.
    If you want a seperate window, then the output look and feel will not be so good.
    I mean where ever the last record got completed, it will print the text if you put it in Main window. other wise statically it will print at a particular position where your window was placed.
    Regards,
    Venkatesh

  • How to print text into different boxes in a main window

    Hi,
         I divided the main window into 5 windows using boxes.
         Now how can I print different data into each of these boxes.
         The data comes from a print program .
      Please suggest.

    Hi
    In smartforms you can create a template object or a table object and set the boxes.
    after you'll create the text object into the templeate and set on which box the data will write.
    best regards
    Marco

  • 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

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

  • Printing totals at the end of the main window?

    Hi All,
    This is Hr related and the data displayed in the main window is regarding the five benefit plans. I need to add the values from each plan. But the number of plans displayed is not constant. The plans for which he is eligible are displayed. So I need to display the totals after completion of the data.
    I want to print totals in the main window at the end of the form.  The print program is a standard SAP program and it is not to be changed. I had calculated the totals by calling a perform in the script editor. Thats working fine.
    But the problem is while displaying it. Is there a solution to print totals at the end of the form without changing the print program or without creating a new element(as it cannot be called from the print program)?
    Thanks
    Satish

    See there are so many element which ends with the ATLAST, like INVEST_AT_LAST.
    You need to find out which AT_LAST is triggering in your prorgram. Or, you can use the AT_LAST element of the same family where you put your PERFORM to get the total.
    Say if you put your code at BENEFI_AT_EACH_PERSON, you can use the BENEFI_AT_LAST for displaying the TOTAL.
    Hope it helps..!
    Regards,
    Naimesh Patel

  • How to position text in a window in sap script

    Hi all,
    I have a sapscript and in the main window of that, i have created 2 boxes. Now some line items get printed in the first box. But my query is about putting some text in the second box. How to put text at a certain position in a window in sapscript ??

    Hi ,
    If the Created boxes are side by side, use Tab or paragraph format (right aligned). If the second box is at the bottom of the main window use new-line command and create a text element and all the same using print program
    Regards,
    Chandra

Maybe you are looking for

  • "always open in icon view" is ALWAYS on.I've

    I've just reinstalled leopard on my imac as i felt it had built up with rubbish and was slowing things down, anyway..... When i now open my Macintosh HD, it always appears in icon view. I click show view options, deselect "always open in icon view" w

  • Multiple Page Contents Page Fields In Custom Page Layout SP2013

    I'm rather new so bare with me.  I'm trying to add multiple page content page fields with snippets to a custom page layout html file in SP2013 Designer.  Once I add the snippet and publish, I review the page and any text written in the last created p

  • Why are my iPhone photos not appearing in photo stream?

    When I first downloaded iCloud photos taken on my iphone automatically apeared in photo stream on my macbook.  This is not happening anymore.  I have automatic photo steam enabled in settings and iphoto preferences.

  • I am begging for help

    I bought and iPod Video before a mounth. Everything was fine, I had just few problems but I solved them out. Before two days my iPod showed a folder with a exclamation mark and said connect iPod support and went off. I went to the iPod service and th

  • Consultar si el Addon esta conectado

    Existe alguna tabla la cual me indique si el addon esta conectado para cada usuario. La idea es verificar si un addon esta conectado antes de realizar una transaccion.