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

Similar Messages

  • Smart forms- when i print a report it print main window data on same page

    hi,
    when i print a report it print main window data on same page .
    i.e. if data is more then one page then it shows data page wise on computer screen but when i print it print all data on same only one page by over wrriting .
    pl. help why it is happening
    i create page in page i set next page and in second page give first page.
    mukesh

    mukesh,
    what happened to this: smart form
    close that please.
    by the way,did you tried with what i suggested?
    lets say mainwindow in 1st page.
    copy the first page to second page.
    now.
    for 1st page: next page is : page2
    for page2: next page is also : page2

  • How to print main window data in second page without header

    hi friends.,,,,,,,,,,,,,,,,,,,,
    I am printing billing docu details in main window ,the data is coming in two pages but there is problem in printing as the tables is continuing in second page the line is not coming for the table for first row,space is also coming for second page for header .
    my issue is to remove space before printing table and line should come for the table for 1st row in second page.
    please help .
    thanks in  advance.

    Hi Raghukumar,
    1. For the line not coming on the top row of the second page, check if the rowtype u have used in the table has been given a border on the upper side.
    2.For the space issue in the second page, I assume you might have used only a single Page in your smartform and the same page is called again.Hence as per the main window size and length data will be displayed in all pages of the smartform.
    You may need to create a second page with the Main window length occupying the compete page so that data display starts from the top of the page. next Page attributes of the smartforms should be entered accordingly.
    Please try to elaborate your query to help us understand your issue.
    Regards,
    Rijuraj

  • 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

  • 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

  • [Urgent] How to Print Main Window Twice ??

    Hi Everyone,
    I am making a Prenum Check which has
    1 Main Win 00 : Invoiced Item Lines for the Check Payment
    2 Check Window: A Check to be printed
    3 Main Win 01 : Copy of Main Win 00
    The Main Window has Line Items of the Payment Invoices for Vendor, which can flow across multiple pages.So I cannot use NEW-WINDOW. I cannot make the changes in SAP Program. Please help me sorting out this issue with some small PERFORM Code which will copy contents of current main window and print it back in new window on the same page.
    Please Help me....
    Thanks in Advance.
    Regards,
    Abhsihek B.

    HII
    HAVE ALOOK AT THE CODE
    TABLES : KNA1 , T005T.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    DATA : BEGIN OF ITAB OCCURS 0,
           KUNNR LIKE KNA1-KUNNR,
           NAME1 LIKE KNA1-NAME1,
           LAND1 LIKE KNA1-LAND1,
           LANDX LIKE T005T-LANDX,
           END OF ITAB.
    DATA : V_LANDX TYPE T005T-LANDX.
    DATA : IT_STEXT TYPE TLINE OCCURS 0 WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT KUNNR NAME1 LAND1 FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE
    ITAB WHERE KUNNR IN
    S_KUNNR.
      LOOP AT ITAB.
    SELECT SINGLE LANDX FROM T005T INTO (V_LANDX) WHERE LAND1 = ITAB-LAND1.
        ITAB-LANDX = V_LANDX.
        MODIFY ITAB INDEX SY-TABIX.
      ENDLOOP.
        CALL FUNCTION 'OPEN_FORM'
         EXPORTING
         APPLICATION                       = 'TX'
         ARCHIVE_INDEX                     =
         ARCHIVE_PARAMS                    =
         DEVICE                            = 'PRINTER'
         DIALOG                            = 'X'
           FORM                              = 'Z50653_PAGE1'
           LANGUAGE                          = 'E'
         OPTIONS                           =
         MAIL_SENDER                       =
         MAIL_RECIPIENT                    =
         MAIL_APPL_OBJECT                  =
         RAW_DATA_INTERFACE                = '*'
         SPONUMIV                          =
       IMPORTING
         LANGUAGE                          =
         NEW_ARCHIVE_PARAMS                =
         RESULT                            =
         EXCEPTIONS
           CANCELED                          = 1
           DEVICE                            = 2
           FORM                              = 3
           OPTIONS                           = 4
           UNCLOSED                          = 5
           MAIL_OPTIONS                      = 6
           ARCHIVE_ERROR                     = 7
           INVALID_FAX_NUMBER                = 8
           MORE_PARAMS_NEEDED_IN_BATCH       = 9
           SPOOL_ERROR                       = 10
           CODEPAGE                          = 11
           OTHERS                            = 12
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'START_FORM'
         EXPORTING
           ARCHIVE_INDEX          =
           FORM                   = 'Z50653_PAGE1'
           LANGUAGE               = 'E'
           STARTPAGE              = 'PAGE1'
           PROGRAM                = ' '
           MAIL_APPL_OBJECT       =
         IMPORTING
           LANGUAGE               =
         EXCEPTIONS
           FORM                   = 1
           FORMAT                 = 2
           UNENDED                = 3
           UNOPENED               = 4
           UNUSED                 = 5
           SPOOL_ERROR            = 6
           CODEPAGE               = 7
           OTHERS                 = 8
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      LOOP AT ITAB.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             ELEMENT                       = ' '
            FUNCTION                       = 'SET'
            TYPE                           = 'BODY'
             WINDOW                         = 'MAIN'
           IMPORTING
             PENDING_LINES                  =
           EXCEPTIONS
             ELEMENT                        = 1
             FUNCTION                       = 2
             TYPE                           = 3
             UNOPENED                       = 4
             UNSTARTED                      = 5
             WINDOW                         = 6
             BAD_PAGEFORMAT_FOR_PRINT       = 7
             SPOOL_ERROR                    = 8
             CODEPAGE                       = 9
             OTHERS                         = 10
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
         endloop.
        CALL FUNCTION 'CLOSE_FORM'
       IMPORTING
         RESULT                         =
         RDI_RESULT                     =
       TABLES
         OTFDATA                        =
         EXCEPTIONS
           UNOPENED                       = 1
           BAD_PAGEFORMAT_FOR_PRINT       = 2
           SEND_ERROR                     = 3
           SPOOL_ERROR                    = 4
           CODEPAGE                       = 5
           OTHERS                         = 6
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • Unable to print main window and associated secondary windows in next page

    Hi All,
    iam print line items values in first page by using main window (table) and associated  terms &condition in second window(template).
    But i want terms & condition to printed in other page.I tried to create COMMAND to manually trigger second page but it doest work.
    Kindly suggest.
    Attached is snap shot of current output(Shaded region are space of dat window).Also attached is overlapping of main and secondary windows.
    Since i need to increase the above template sizes i shifted main window and other 2 secondary window downwards so i wanted them to print in next page.

    Hi abhijeet,
    Add Programming lines before Command before loop statement,
    In that Count the itab using describe table.
    Add condition if count EQ Sy-tabix.
    pass to command line.
    Try this,
    Regards,
    Venkat.

  • Problem installing printer on windows 7 enterprise machine

    Hi
    I have HP Color LaserJet CP2025DN printer which i'm trying to install on my windows 7 machine. I have search on HP site where I was told that I can get the driver from windows update but when I run the windows update I cant seem to find cp2025dn or cp2020
    printer from list.
    Can someone please help me installing this printer.
    When I go into my printer and device I see this icon.
    My printer usb info
    USB\VID_03F0&PID_5417&REV_0100

    Hi,
    Since all drivers in Windows update are produced from manufacturer and then after passing the Windows Logo Program testing, then they can be distribute onto update, that should be little delayed. I
    suggest we download the latest driver applied to Windows 7 from manufacturer site.
    Before installing the driver, is suggest you open Control Panel\All Control Panel Items\Programs and Features and delete the printer driver that is already installed.
    I'm seeing a lot of information about the HP LaserJet CP2025dn not working properly with Windows 7.
    I suggest contacting HP for the drivers support for Windows 7, or you can install the driver with Vista compatible mode for test:
    1. Insert the installation media, right click on the DVD drive icon and choose Open
    2. In the open folder, right click the program setup.exe file and click the Properties option.
    3. Select the Compatibility tab.
    4. Select the Run This Program in Compatibility Mode option.
    5. From the drop-down list, choose the operating system you ran before upgrading to Vista.
    6. If necessary, select the option to run the program as an administration.
    7. Click OK.
    Now, right click on Setup.exe and choose Run as administrator to install it again.
    Furthermore, you can try to use Windows XP mode to use these printer.
    Install and use Windows XP Mode in Windows 7
    http://windows.microsoft.com/en-us/windows7/install-and-use-windows-xp-mode-in-windows-7
    I also would like to suggest you contact HP directly to consult the issue. In this way, your issue can be fixed efficiently.
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • 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

  • Possible to print Int.Tab data in a window other than MAIN window in Script

    Hi,
      Can we print a internal table data in a window which is a VARIABLE Window in SAP Script? my requirement is not to print in MAIN Window.
    Thanks in Advance,
    Jakeer.

    Hi,
    You can do that.But main window is must.
    Create a text element and please check it maynot overflow if so data will be truncated.
    For not printing main window :
    Do one thing set the main window margint to the botom of the form.
    Then create a text element in main element
    NEW             
    NEW-PAGE        
    NEXT            
    NEW-PAGE = 'NEXT'

  • Smart form problem when printing header in table

    Hi Friends,
    I am facing some problem in smartform. In my smartform there is a table - where I should print "Header" at each start of line items and also at page break. So, I checked both the check boxes in Header as "Start of table" and "Page break".
    Now the problem is in main window - it is printing Header and line items are coming. After finished Again the header is coming and line items are coming. In some cases - What is happenning is: If the first page ends at the header only - Header is getting printed in the first page and the page ends here. In the next page also "Header is appearing because i checked page break". So, it is appearing twice.
    Could someone please guide me on this issue.
    Regards,
    Hari

    Hi,
    At any case the two headers will not be displayed if you select the both "start of table" and "at page break.". Please check whether there is another widow in the form from where the header is displaying.
    Thanks ,
    Abhijit

  • Vertical line issue in SAP Script main window

    Hi All,
    I want to draw a vertical line in my main window in SAP Script output.
    But problem is in main window i am printing some texts at the beggining then i am printing line items.
    So this is not fixed line (box). It may increase/decrease based on text available before line items.
    How can i manage this prining vertival line as i don't know height, top of this line!
    Thanks in advance.
    Thanks,
    Deep.

    Hai Deep,
    Use Elements as suggested by Kodarapu.
    Now goto Paragraph Formats create a format for Item lines.
    ex.
    Name Paragraph Format as 'IL' Now click on the Push Button "Tabs" on bottom Right.
    now in "Tab Position" enter the spacing that you need for your item dispaly
    ex.
    Number     Tab position       Alignment
    1               6.00   CH          LEFT
    2               25.00  CH         LEFT
    3               54.00  CH         LEFT
    The above example is for 3 items
    Now in your Script Windows-> Main
    do the following.
    /E           ITEM_LINE_A
    IL           &EKPO-EBELP&,,&EKPO-EMATN&,,,,&EKPO-TXZ01&
    Hope it SOlves your Issue.
    Cheers,
    Suvendu

  • Need to increase main window size except last page in smartforms

    I have only one main window in a smartform to print a invoice. Currently the mainwindow size is small because i added some additional info to print at the end of the main window.{i.e with some tax details}. All the pages execpt the last page has free spaces. Now the requirement is to increase the size of the main window to avoid the blank spaces except the last page.
      I have used the SFSY-FORMPAGES. THIS is not working to identify the total no of pages of the form. i have condenced it also.
    Can anyone give some details to solve this.
    Thanks in advance.

    Hi,
    I don't understand ... the size of the main window is not link between the different page ... so there is no problem.
    My main window in all the form are never the same size between first page and next page.
    Rgd
    Frédéric

  • Problem to print with iPhoto and epson stylus photo RX620

    I asked a question about the print with Iphoto. Larry gave some explainations but it still doesn't work. I can change the reglages with Safari, with Mail but not with Iphoto. So when I try to print photos, the reglage is standard and the result is bad. I would like to change the reglage, if i use glassy photo paper. With my PC, I have no problem to print with window or picassa. Thanks for your answer.

    First I have no idea in the world what "reglage" is
    But what ever printer specific options are available are supplied by the manafacturer's print driver and these are available on the last print window
    LN

  • Main window twice

    Hi.
    I have requirement to print main window twice. Please help me out.
    1) In my script i make two main windows like MAIN 00, MAIN 01.
    2) In MAIN 00 i have ELEMENT 525 and 525-n( i am created). This two available in MAIN 02 also.
    3) In my Driver Program, I have two WRITE_FORMS for each ELEMENT.
    But i didnt get data twice.
    Regards.
    Sreenu Valeti

    Hi Sreenu ,
       Since you want 2 main windows you have selected Main 00 and Main 01 .
    1 . Now in script Align the 2 windows properly i.e see that they do not over lap on each other .
    2 . Use the Statement NEW-WINDOW to trigger a new Main Window .
    3 . Now call the elements of the other Main Window .
    Hereu2019s a sample(in Script) ,
    Element-525
    Element-525n
    NEW-WINDOW
    Hope it helps !
    Regards ,
    Amuktha .

Maybe you are looking for

  • How to block the Statistical delivery date in purchase order from updation

    Hello All,     We have the following requirement from our client. The client wants to track the delay in delivery of purchase orders raised to vendors. Currently the users, change the delivery date and then process the PO if there are any delays. The

  • Using Java to Retrieve Images from Oracle

    OracleResultSet.getCustomDatum method is deprecated. I was using this method to retrieve an ORDImage from an Oracle 9i database. What are developers using instead of getCustomDatum to retrieve images from the database. Thanks for all help in this mat

  • Any books for Oracle ADF 11g certification

    Hi, I am planning to take oracle ADF certification (Oracle Application Development Framework Certified Implementation ). Any suggestion on books and reading materials? Regards, Kumar

  • Firefox does not load certain Youtube videos?

    I am running the 08/05/2012 build of Nightly and I am unable to load Youtube videos with ads, e.g. VeVo videos. I have tried disabling all add-ons and that did not resolve the issue. Videos work fine on Chrome and IE. How should I approach this?

  • Automatic UNDO Management

    Hi there, I have a Datawarehouse DB , with two UNDO tablespaces,Last friday we switched UNDO_TABLESPACE to UNDO01 and UNDO02 is not active.While querying DBA_UNDO_EXTENTS , status of all extents in UNDO02 is marked as EXPIRED but there is no free spa