Problem in sapscript Main Window Box command - Urgent

Dear friends,
Problem while showing boxes in multiple pages in sapscript. Box command is defined begining of the main window. But while printing showing in first page only not in other pages.
Regards,
Praveen Lobo

This could be your problem why box command is not getting displayed in all pages, you might be using the box command in the element that is only called once and that to in the first page... so try to check your form and place you box command under element that is getting called in each and every page, it will solve your poblem.
Note: for testing you can place your box command under element "/E" where you are displaying your line items... even though it is called multiple number of times it gets overlapped.
close the thread once your question is answered.
Regards,
SaiRam

Similar Messages

  • Urgent : SAPScript: Main Window

    HI Gurus,
    Can two Main windows be created in a single sapscript with the same text inputs.?
    If yes, how can we do so?
    Useful response will be surely rewarded.
    Thansk in advance

    Hi Himayan
    you can do tht.....
    as you have on main window.......
    u want to have one more main wondow in ur page..if i m rit...then
    u can do so..
    goto  'page window' >Edit>Create Element-->then select then main window....it ll be sub main window as '01'...and u have to write  text in main '00'...only
    it will come in main '01' automatically...
    u can place this window any where in the page...may have different dimensions....
    It will work man i did it...
    Thnx
    Rohit

  • Sapscript Main Window

    Hi All,
    I am using the standard print program & layout set of order confirmation for quotation.
    In the main window, i am defining a table using box commands & this is defined in the type-top of main window. the header text does get printed at the top of the window, but the table is printed starting from the top of page. I have modified the write form in print program to accomodate the printing at top of main window. Any suggestions how do i print the table/box in the main window.
    Thanks
    Amu

    Hi,
      Instead of using type TOP, define separate ELEMENT for printing header and table to be displayed. Then there will not be any problem of printing.
    Regards,
    Sailaja.
    Dont forget to reward points, if answer helps you.

  • Main window Boxes and text alignment

    Dear all,
    please  correct me .........i am displaying line items (materials) with their material code,description,quantity etc in the main window of a invoice.now my requirement is i have to create boxes and display each field in a box in main window,and  in each box the field value or text shud be aligned properly.......means it shud not cross the box.
    for this im following dis sequence .
    1. box command (for creating boxes)
    2. protect....end protect ......in between the heading and value to be populated
    i ve executed but iam able to display only 1 line item.please correct me

    quite a difficult task.
    At first you need either items of fixed height, or you need to create those boxes dynamically. Since you dont know how much items will get printed you need to create them half dynamically anyway.
    I´d strongly recommend you to do this is SMARTFORMS rather than in sap-script. Cause smartforms got the tools for such tasks, and makes it quite easy while in SAP-SCRIPT it is one of the hardest requirements to come by.

  • Main window box is not extended

    Hi Experts ,
    I am working scripts. In main window  I draw box , using below box command.
    BOX XPOS '0.0' CM YPOS '0.0' CM WIDTH '3' CM HEIGHT '1' CM FRAME 10 TW
    BOX XPOS '0.0' CM YPOS '0.0' CM WIDTH '6' CM HEIGHT '1' CM FRAME 10 TW
    BOX XPOS '0.0' CM YPOS '0.0' CM WIDTH '10' CM HEIGHT '1' CM FRAME 10 TW
    BOX XPOS '0.0' CM YPOS '0.0' CM WIDTH '13' CM HEIGHT '1' CM FRAME 10 TW
    BOX XPOS '0.0' CM YPOS '0.0' CM WIDTH '16' CM HEIGHT '1' CM FRAME 10 TW
    My issues is , when Item line is one, it is working fine.
    But if item lines 2 to 10 records, My box was not extended.
    So please give me solution.
    Thanks,

    point 1, wrong forum, see the moderator message right on top of this forum.
    2. well you are drawing hard coded boxes of height 1 and various width´s.
    Sure the will come only for item 1, for item 2 you´d have to draw new own boxes.
    Since you cannot be sure about the height of a position, you had to code these dynamically, which is possible but quite a task.
    Anyway it is NOT advicable to work with boxes on line-item level. at least not with SAP-Script.
    with smartforms you have an easy time doing this, while in SAP-Script you may come quite near to desperation.

  • Smartform Main Window Box designing

    Hi,
    I have created a smartform with 5 windows. In the main window maximum 12 records will be fitted. In Main window, In the output options tab i have selected Lines with Check box and Always draw Check box.The height of the main window is 4.80 CM. Each Record will occupy 0.40 Cm Height.For this i want dynamic window box creation. For Example if the internal table contains only two records it has to draw box only with 0.80 Cm height only, Suppose if the internal table contains 10 records then it has to draw box with 4 CM height. Here in my Smartform i am always creating 4.80 Cm height box. Is my requirement Possible? If yes, How?
    Thanks in Advance.

    hi ,
    as far as dynamic row wise box you can achieve....
    but if only you want boxes depending on the lines means it's difficult to do because you may not know how may line will come. as you have mention for only 2 and 10 records means i have  an idea but don't know whether it will work or not as these boxes will be drawn depending on the height( and it's constant).
    what we can try is.
    first count the number of lines in your internal table.
    in main if check the condition
    if internal table has 2 lines then define one table with your reqirement,like "if the internal table contains only two records it has to draw box only with 0.80 Cm height only".
    mention the height in table->details as 0.80cm.
    if internal table has 10 lines then define one table with your reqirement,like "if the internal table contains only two records it has to draw box only with 4 CM heightheight only".
    mention the height in table->details as4 CM height.
    in else... your can write as many as depending on your req...
    this is lengthy, hope this will achieve your requirement.

  • Can not turn suggestions on in main window box, works on bar only

    down loaded new FF - changed Yahoo page for blank - set FF as new home page - now suggestions only work on search bar only - can not find out how to turn suggestions on in main window search box - online help windows show 2 blue f boxes in tool bar which I no longer have on my tool bar - they disappeared when I switched out the Yahoo home page. Can I not have FF with suggestions as my home page or do I have to run it the way it was down loaded?

    The about:home page with a Google search bar doesn't and can't show suggestions.<br />
    You will have to set the home page instead to the Google website (https://www.google.com).
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    *Tools > Options > General > Startup: Home page

  • Overflowing one line after my main window box

    hi,
    in my form in main window i designed a box and it holds 24 lines . after the end of the box in first page another one line is
    showing that means i want that 25 th line should go to the next page .how to do it???
    because here by default in my first page it is displaying 25  lines.
    please let me know how to do it???
    my bos i defined like this
    ubb, 12.05.1999 -
    draw the MAIN-BOX v-lines -
                             on every page
    POSITION XORIGIN '-0.5' MM YORIGIN '-0.5' MM
    SIZE WIDTH '1' MM HEIGHT '1' MM
    SIZE WIDTH '284' MM HEIGHT '77' MM
    BOX FRAME 10 TW
    BOX WIDTH '30'  MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '85'  MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '148' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '167' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '176' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '201' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '214' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '237' MM  HEIGHT '77' MM  FRAME 10 TW
    BOX WIDTH '252' MM  HEIGHT '77' MM  FRAME 10 TW
    DEBASHIS
    BOX WIDTH '284' MM  HEIGHT '77' MM  FRAME 10 TW
    thanks.

    Hi,
    Reduce the Height of The Window and Box
    or increase The font Size
    Automatically The 25 Line will go to next page
    With Regards,
    Vinu.R

  • Sapscript  - Main window Frame

    Hi all,
    I am designing a form.I have three main windows in this form. I have the following code in the text editor for thre windows. /: box frame 10 tw
    when I check the layout of the form I can see the box only in the main window 00 but not in main window 01 and main window 02. Can anyone please help me with this.
    Reagrds,
    Varun

    Hi Varun,
    Please note that no need to create a window for each column.you can define Your X-coredinate to define Verical line or means to create a box:
    Sample Code :
    BOX YPOS '1.25' LN WIDTH '120' CH HEIGHT 4 LN FRAME 10 TW
    BOX XPOS '18.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN  FRAME 10 TW
    BOX XPOS '31.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN  FRAME 10 TW
    BOX XPOS '47.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN  FRAME 10 TW
    BOX XPOS '68.00' CH YPOS '1.25' LN WIDTH 0 CH HEIGHT '4.00' LN  FRAME 10 TW
    Lanka
    Message was edited by: Lanka Murthy

  • Problem With Smartform Main window

    Dear All,
    I have a requirement in which I need to print a PO using Smartforms.
    In this requirement we need to check a flag, and based on the flag we need to call the subsequent pages.
    if the Flag is set then I need to print the first page 2 times and after these two pages Terms and conditions page would come.
    In the main window of first page i have put a contition check for this flag.If the condition is true I am calling the First page as Next page and if the condition is not true the Last page(T&C) is called.
    now, the issue is when the condition is true means when I need to  call the first page twice then the very first page of the output is coming fine but when the same page is printed again the item details are not getting printed also the last page is not coming in this case.
    please help.
    Thanks in advance.
    regards,
    Shweta

    When you are calling first page again (as Second page) based on your flag, it will copy the only the content of all windows except main widow.
    To solve your issue, Put the same loop again in the mainwindow with condition which is used for trigerring second page.(Repeat page).
    Regards
    Afsal

  • Problem in printing main window

    Hi all
    i have to print  first four coloums with multiple records and fifth coloumn with data shown below ,how can i print this
    i have to display like this(ABCDE are my five coloumns)under coloumn E , i have to display text and values like shown,and first four coloumns are like shown.and heading for coloumn e is not required.i have to print this in main window.
    A-B-C--D----E
    1-1-11----point of departure = india
    2-22-2----
    point of arrival-US
    3-3-3--3--
    truck number=3442
    4-444---
    5---55-5----
    6--6-6-6---

    Hi gopaludu,
    Create the table in that draw the cells for the 5 columns.
    In table --> Header area : Declare the fields for all 5 fields.
                     Main area : In the 5th columns drag and drop the   
                                      fields required.
    Regards,
    Sravamthi

  • SAPscript MAIN Window ITEM TEXT Printing in NEXT PAGE

    Hi,
    I need to print the Item Text (Item Description or Column Description) if the Item Values (Lines) goes to the NEXT page in the Form. I have TEXT ELEMENTS defined for ITEM TEXT and ITEM VALUES in the MAIN Window. There is no issue with Printing the Item Text and Item Values in the FIRST Page. But in the NEXT page only when the Item values are printed (Item lines in excess of FIRST page), ITEM TEXT needs to be printed before printing the ITEM VALUES. If the FROM goes to NEXT page but not the Item values, then ITEM TEXT need not be printed in the NEXT page. The number of lines in the MAIN Window is different for both pages (FIRST & NEXT). I am not sure how to get this done. So, please provide me with a suitable solution to get this done. Appreciate your help in advance.
    Thanks,
    Kannan

    Hi Kartik Tarla,
    Thanks for your reply. Printing item lines between PROTECT / ENDPROTECT, will lead to Print all the line item together in one page. That is not I wanted. It the line items flows to NEXT page, I need to print the Item Header/Item Text. Otherwise, NEXT page should not have the Item Header.
    Thanks.
    Kannan

  • SAPSCRIPT Main Window Issue

    I need to print the contents of the main window twice in the same page at different places.I searched the forum but I did not get any relevant thread with a solution.
    Can anyone help.
    Thanks
    Nancy

    I've put two main windows on the same page.
    Since it is  a main window we cannot rename it, so the name of both the main windows is "main".
    When i call it using the function module "write_form'  from the driver program only the first instance of the main window is called, if there is an overflow ( that is the data doesn't fit into the first main window ) it goes to the second instance of the main window and prints the rest of the data in the second instance of the main window.
    But this is not my requirement.
    I want the same data to be replicated in both the main windows.
    Not the first half of the data in the first main window and the second half in the second instance of the main window.
    I think I've made my requirement more clearer.
    Thanks
    Nancy

  • Sapscript MAIN window and character separation

    Hi all
    We have encountered two issues, when we create Form painter.
    How we want to create the form is below.
    Display 6 fileds below at the top of the paper and at the bottom of the paper with correct character separation.
    &REGUP-BELNR&      &REGUP-XBLNR&     &REGUP-BLDAT&      &REGUD-WRBTR&      &W_WSKTO(16T)&     &REGUD-WSKTO&
    <Ideal Form>
                                        Check
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322  "blank"          Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322  "blank"          Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    <Issue>
    1. We cannot display two main windows.
    What we want to realize is
    print 6 fields 2 times in the same form like labels. but right
    ex)Display 6 fileds below at the top of the paper and at the bottom of the paper
    &REGUP-BELNR&      &REGUP-XBLNR&     &REGUP-BLDAT&      &REGUD-WRBTR&      &W_WSKTO(16T)&     &REGUD-WSKTO&
    <Issue 1>
    In below, the bottom part (MAIN01) is blank and nothing comes up
                                        Check
    MAIN00----
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322 Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    MAIN01----
    2.When one field is blank, the character separation become different in each row.
    ex) In below, doc#54322 has no Invoice# then character space for Invoice# is not blanked but the
    space between ACC doc# and Date got really tight
    <Issue 2>
    MAIN00----
    *ACC doc#54321 Invoice#12345 Date2009/01/01 Amount in invoice1000 Discount30 Sum970*
    *ACC doc#54322 Date2009/01/02 Amount in invoice1000 Discount00 Sum1000*
    *ACC doc#54323 Invoice#12347 Date2009/01/03 Amount in invoice1000 Discount00 Sum1000*
    ########CHECK DETAIL INFORMATION at the middle part##########
                                                                                    Total Check Amount
                                         MICR FONT
    MAIN01----
    If you know the solution, please let me know
    Best regard Masanobu Kubota
    Edited by: Koji Yamada on Jan 8, 2009 5:59 AM
    Edited by: Koji Yamada on Jan 8, 2009 6:00 AM
    Edited by: Koji Yamada on Jan 8, 2009 6:02 AM

    Hi,
    As per my understanding of the question,
    As u need two different pages, i.e. one with a single window n other with 2 windows:
    In script create 2 pages:
    1.Page1 have main window and sub window
    2.Page2 have only main window.
    Now in driver program,
    call function open-form.
       when scenario 1
          call function start-form for page1
               call function write-form etc.....
          call function end-form
       when scenario 2
          call function start-form for page2
               call function write-form etc.....
          call function end-form
    call function close-form.
    Hope its clear.
    Plz revert back if u get any doubts.

  • SapScript  'MAIN' Window without 'Text Element'

    Why is it, if we run 'MAIN' Window without defining 'Text Element'(/E), it displays the contents twice.. The same doesn't happens with other 'Variable' windows..

    Hi Main window is different from Var window.
    Var window will call only once .
    But main window it will call many times, it will go to Driver program and come back to populate the data.
    for Clear info debug and see.
    regards
    vijay

Maybe you are looking for

  • Photos not displaying in Album

    Hi, I am unable to view photos I have taken since 28th June. I have cleared the data and the cache for the album app and restarted my phone several times but am still unable to view the photos and just have a black thumbnail for each photo. Please he

  • Hyperlinks do not open in iPad landscape mode

    Hi, We have our application in SharePoint 2010 and we have an issue wherein hyperlinks do not open in iPad when held in landscape mode. However, the links are opening when iPad is held in portrait mode. Any help would be appreciated. Regards, Vijay

  • Think this is where I should be Color issues on s855d-s5253

    Hello, I am a photographer and I am experiencing issues with the colors I am seeing on my monitor differing from what other photogs are seeing.  Color is a very important aspect of my profession, I'm not sure if what I am experiencing is commonplace

  • Aggregation level query "value help" = Only Values in InfoProv doesn't work

    Hi, I have a problem with Selection Variable for a BEx Query : - I'm working with SAP BI 7.0 support package 15 - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning); - Characteristic, I want to

  • Adobe Media Player failure solved

    Hi. I got this problem a few days ago. And today I´ve discovered why was the problem being caused. I had installed DivX on my laptop and that was causing a trouble betwenn Adobe Media Player and DivX Reproductor Video. That was a kind of conflict bet