Smartforms main window is not printing

Hi,
I would like to ask what to do with this problem.
The smartform main window is not printing in all the pages.  All the other windows, even the window with the total data is printing.  The only problem is the contents of the main window is not printing.
Also, the problem only happens when the I've changed printer.
When I use LOCL as printer, the smartform is OK but when I change the printer, the problem is encountered.
This also happens when I change environment from development server to production server.  In production server, even the LOCL printer is encountering the problem.
thanks.

Hi Mike,
Have you checked the device type in transaction SPAD? Try to click on Full Admininstration from application toolbar and select device types.
Hope the above helps.
Cheers,
Patrick

Similar Messages

  • Smartforms main window is not extending as it was made as a second window

    My Requirement is smartform coof two pages in which second one is an annexure.
    the second page should come for all the reports.
    now my first pages main window is not extending as it was made as secondary window.

    I created from scratch, it works well with dynamic text with both 0 and 200 lines (setup in initialization code):
    |__ %PAGE1
    |   |__ TEXT with dynamic text &GT_TLINE&
    |   |__ COMMAND : GO TO %PAGE2
    |__ %PAGE2
        |__ TEXT with text element "LAST PAGE"

  • Column heights in Smartform main window

    Helo All.
    I want to display complete column heights in main window of a smartform.
    Right now, if there is a only one line item then in Smartform, it is printing the column height only upto that line item.
    But I want to print complete height in the main window.
    Points are assured !!!

    Hi Anay,
       Can u be more specific.
       If my understanding is correct ( U have a main window say 6 X 4 inch size, inside which u are printing a table ,here if u have only one record then , U want the smartform to have 6 X 4 box with only one line.
    The purpose of main window is not print the way u had asked for and to roll over to the next page if more records are to be printed,
    Let me know  , what u are printing in the main window ,, a table ?????
    ifso
    how to u want the display to be if the table  has 35 records ,where we can print only 20(say) in one page
    how u want the output in first page and second opage ?
    do u want all rthe records to be printed or only n number of rocerds to be printed
    rewrd points if u find it useful
    -Sapsurfer

  • How to print horizantal lines in smartforms main window  table

    hi ABAP gurus,
           i am faceing the problem in smartforms main window, i created the table, in that header, main area, footer is coming and i am created the line type in that five culamns, i am specifing the header and main area data, after the printing the header information, in main area 5 record or more than 5 records,each record after one harizantel line,  it will be print a table maner i.e 5 culamns and more than 5 rows in a table.
    thanks,
    raj.

    Hi,
    Double click on the table.
    Click on Select pattern icon>Display framed Pattern>Select the Second one (1 row 2nd column)
    Regards
    Sandipan

  • Smartform Main window and Footer Overlap Issue

    Hi,
    I have a problem in printing my invoice smartform.
    I have to print the footer at the bottom of the main window. If the line items flow to the next page the footer should be printed only on the last page.
    I have overlapped the main window and footer windows in first and next page so that the footer window space in the main window is not left empty when there are more than one pages
    The problem is sometimes the main window is overlapping into the footer window space.
    Can someone suggest a solution for this.
    Thanks,
    Viswas

    Hi,
    Solution: The issue faced after overlapping the main window with footer window can be achieved by creating a folder within the main window and using the events to check whether there is enough space to print the footer.
    Following are the steps.
    Step 1:  Create a Secondary window say “Footer” which would be the footer window. Overlap the main window on the footer window as shown below.   
    The footer window will be behind the main window
    Step 2:  Create a folder within the main window say “Check_Footer”.
    Go to Tab “Events”, select the checkbox “Footer with Height” and give the required height of the footer. Select the checkbox “at End of Table”. Specify the “Minimum height” as required.
    Now, go to “Conditions” tab and select the checkbox “Only before end of main window”.   
    This is basically done to check whether there is enough space to print the footer on that page. The Footer window would then print the output.
    Step 3: Go to the created “Footer” window .Under the Conditions tab, select the checkbox “Only after end of main window”. Create a  text/tamplate/window whatever you want to display at bottom or footer data.
    Step 4: Save & Activate the Smartform and check the output.
    regards
    Rohit

  • Smartform main window in version 6.0

    hi experts,
    im working on smartforms.
    my doubt is how many main windows we can create in a smartform?
    in 4.7 version it allowed a single main window. then what is the case in version 6.0.
    plz some one help me. give me the complete details abt no.of main windows in a smartform in version 6.0
    thanks in advance.

    hi experts,
    thanks for ur answres.
    but when i created 2 pages, each page with a main window, its not showing any syntactical errors, simply getting activated. but when i executed it, its going in to dump.
    so, i created 2 pages, created main window in page1 n then copied it to page2, then its giving output, but the data is getting displayed only once, i mean either in page1 or in page2.
    plz some one solve this. thanks in advance.

  • Application's main window is not repainted

    Hello everybody.
    The system I am using
    Product Version: NetBeans IDE 6.5 (Build 200811100001)
    Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01
    System: Windows Vista version 6.0 running on x86; Cp1251; ru_RU (nb)I created Java Desktop application (New project - Java Desktop Application (no CRUD)) and put a JTable like this:
    mainPanel[JPanel]
        jScrollPane1[JScrollPane]
            jTable1[JTable]
    I did not do anything more. But after building project I have a problem with my application - main window does not repaint itself after another window is positioned over it(calculator, for example). It repaints only after I resized main window or something like that ...
    What am I doing wrong?
    Thank you.

    I found a solution - to resolve this bug I have to set -Dsun.java2d.noddraw=true VM flag.
    I found the same bug in a database - [4139083|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4139083] and it's submit date is *15-MAY-1998* !!!
    There is also an issue about that kind of a problem - [6343853|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6343853], submit date 31-OCT-2005.
    So, I guess unfortunately there are a lot of things to think about ...

  • 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

  • Header window tiotle not printing on next page

    Hi !
    I have aa form in which I have a header table created inside the main window to print the titles of the line items, unit , unti price , Qty and totals. The next page has the similar format with the headerr table inside the main window, but unfortunately the header titles from the header title prints on the first page and when there are more items and the items are carried over to next page the titles dosent print on next page. Could nayone please tell me why the titles wouldnt be printing on the next page when the format is the same on teh next page also and it does have the texts to print there . Only the items are printing and not its titles.
    Thanks,

    Hi!
    Thanks for your reply. We are anyways getting the header in the first page its that I am not getting the header titles on second page and folowing pages only. I do have a next page in my smartforms and as per teh design both the pages has the header wondow but still it dosent print on second page but prints on first page. What I ahve done is created an extra window on my next page and created temp[late under that with the header titles and this prints it oin the second page now.
    Thanks

  • Smartform Main window problem

    Hi,
    I have a requirement wherein i have to print data for an employee from more than  30 different sections , the data for which is stored in different internal tables.
    As there can multiple records in each internal table for an employee and data has to flow ; i have to include the internal tables in Main Window.
    I wanna know is it possible to include all  the internal tables as table nodes  (>30 ) in Main Window ? If no, what is the best way to handle such scenario in Smartforms.
    Thanks in Advance!
    Regards,
    Aleria

    Hi Jsree,
    in my case it is not poosible to combine fields from 30 different internal tables into one because of dta constraints; so i can't follow this approach.
    However, i tried it is possible to display this much internal tables with float functionality in Main windiw using Folders,
    Thanks for your answers.
    Regards,
    Aleria

  • Scripts-window is not printing repetedly

    Hi all am working on scripts.(Goods receipt note).
    I have four line items in main window from  mseg table.
    I have to display text related to that line items which is stored in mseg-sgtxt in seperate widow.(eg: remarks)
    But am getting the last line item's text only.
    I have called the remarks window  in the same loop in which main window is calling.
    How to capture the first three line items text.
    ( I used select query before calling the element.in debugging its displaying all the values. )
    Why the remarks window is not repeated for printing like main window?
    First time am working on  scripts.
    Please help me regarding this issue.
    Thanks in advance,
    Murthy.

    Hi Sasi,
    Thanks for ur quick reply.
    I called the window next to main window only in the loop.
    I have tried by giving seperate loop also but its not displaying first three line items text.
    only last items text is displaying.
    Is there any method to capture sgtxt field for all line items in the mseg table( mblnr is same ) ?
    please help me regarding this issue.
    Regards,
    Murthy.

  • Smartform - Main window

    Hello,
    I need to create a smartform with the following behaviour:
    When the page shown is the last one, the main window has to take half page. On the other hand, when the page shown is not the last one, its main window has to take almost the whole page (I need a bigger main window).
    When only exists one page, the first page is also the last one.
    Thanks in advance,
    Ricard.

    Hello Oscar,
    Its Possible, as I feel.
    Just need to design 2 pages.
    PAGE1: Keep the header and item part as you want to.
    PAGE2: copy the MAIN WINDOW of PAGE1 to PAGE2.
                 Increase the size of the MAIN WINDOW in page2 .This is the flexibility that smartform gives and
                 we don't get this main window resizing facility in SAPscript it remain same in first and second
                 page.
    Navigate to : loop->table->footer.
    Create folder and under folder create window to display your footer details.
    And please unckeck the check box "On page break" in the footer condition tab.
    Hope the discussion was helpful. Revert back in case of any further issues.
    Cheers
    Suvendu
    Edited by: Suvendu Swain on Jun 9, 2009 5:06 PM

  • Smartform : Main window : Want to increase the size of main window

    Dear Sir,
    In my smartform my Main window is fixed after four windows(2 + 2) but only in first page.
    Now my requirement is there in second page i am only showing two windows out of four and in new vaccent space produced by two window i wanted to increase the height of window equal to 2 window in second page onwards.
    Please guide.
    With Rgds,
    Nirav Parekh

    You just need to change the UPPER and HEIGHT values for the MAIN window on the second and subsequent pages.  Presumably, you have a different page definition for these pages?  If that's not your question, then please re-phrase it.

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

  • Smartform main window with grid lines...

    Hi Gurus,
    I am printing the line items in the main window using grid lines of pattern. This main window can print 10 lines only. Here my requirement is i need to get the empty grid lines till the window ends after finishing the printing of all line items.
    for example if it has only 2 lines then i need 2 lines of data and remaining 8 lines should print empty grid lines.
    this table control have 14 columns. some times 2 lines of data occupies 3 lines. because any column value may be morethan of column width. for this type of example i have to print empty lines 7 only. because any item line occupied 2 lines.
    hope it is clear.
    Regards,
    Vijay

    Hello Vijay,
    In order to do this you could make a template(the outlines of your layout). This template must be in the main window, so if there are more than 11 lines the complete template will be printed in the second page.
    If you require a total box at the end of the template then make a new window fill only the value and the total will always be printed in the box..
    Let me know if the solution is not clear. I shall explain in more detail.

Maybe you are looking for