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

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

  • Main window data to be page protected in smartform

    Hello Experts,
    I want to make Main window data to be page protected.
    But page Protection check box is in Noneditable mode .
    Please let me know, how to make main window data to be page protected.
    Regards
    Mohit

    Hi,
        Try this way
        Under the Main Table node, you will find, Header, Main Area and Footer.
        Select Main Area, right click Create> Folder
        Drag the Row item inside the Folder
        Select the Folder node, for Folder node out put options, you can select Page Protection check box.
    Main Window
        Header
        Main Area
          Folder
            Row Items
        Footer
    Regards
    Bala Krishna

  • Triggering main window of the second page

    Hi Experts,
    I have two pages. Second Page will only get trigger at certain condition. I am triggering the Second page through Command. My issue is my second Page is triggering but the main window of the second page is not getting triggered. It should be like that the main window should get triggered. Even I have copied the main window and used it in the second page that is also not getting triggered. Please help me to resolve this issue.
    With Regards,
    Anomitro

    Hi,
    You should not create a new main window in the Second page of the smartform
    Instead, you copy the main window of the first page to the second page.
    So even if you add a text window in the first page Main window that will be reflected in the second page, but this should be below the command window.
    Use the command window to trigger the second page.It triggers the second page and all the text windows that are after(under) the command window will be coming in a new page.
    Check this link: https://wiki.sdn.sap.com/wiki/x/bAZqBg
    Hope this helps
    Thanks
    Sarves S V K
    Edited by: Sarves Sombhatla on Feb 21, 2011 6:56 PM

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

  • How to print the same data in different pages of different trys

    Hi,
    Part II: Check stub u2013
              We need to print Vendor account # (REGUH-LIFNR), Vendor Name ((REGUH-NAME1), Payment doc # (REGUH-VBLNR), Check date (PAYR-ZALDT) and Check number (PAYR-CHECT) in the header portion and in the detail portion Invoice # (REGUP-XBLNR), Date (REGUP-BUDAT), Amount (REGUP-DMBTR), Amount, Discount and Net amount paid (REGUP-DMBTR).      
    Part III: Check stub u2013
              We need to print Vendor account # (REGUH-LIFNR), Vendor Name ((REGUH-NAME1), Payment doc # (REGUH-VBLNR), Check date (PAYR-ZALDT) and Check number (PAYR-CHECT) in the header portion and in the detail portion Invoice # (REGUP-XBLNR), Date (REGUP-BUDAT), Amount (REGUP-DMBTR), Amount, Discount and Net amount paid (REGUP-DMBTR).
    i am printing like the above and my question is as below.
    Q) If the detail section of Part II and Part III spills beyond the available space then the remainder should be printed on a separate white paper picked from the next tray after printing all the checks. Ensure that this will not be printed on the following check.
    Can anyone please answer this.

    Hi Swathi,
    Where does that check box available, could please give your answer in details so that i can follow like that.
    Thanks
    Srinivas

  • Reg: Displaying all the items of main window in the same page itself.

    All,
    I am developing an SAp Script form which is using five windows. Out of which third window is the main window. In the main window i am displaying details of item sold. The form prints perfectly when the number of items is with in the limit of the main window height. When it exceeds the main window height a second page with the same format of the first page is displayed with the remaining items in main window. ie 1,2,4,5 window is repeated in both pages.
    I want to display all the items of the main window in the first page itsel and if it exceeds first page show the remainng items in the next page and then display 4th and 5th window. IS it posiible using SAp script. Am i to do some configuration for this?
    Note: I have assigned Next page to first page itself.

    Thanks Anji.
    I understood about display of first and second windows.
    About main window and Fourth and Fifth window i still have doubt. I have given specific height to main window and after that put the fourth and fifth window with specific height in first page itself. So what happens is that When mainwindow overflows it will print up to specified height in the first page. Then prints the Fourth and Fifth window in first page. Then it goes to second window prints the remaining items in main window then again displays fourth and fifth window. Could you please find a solution for this too.
    Regs
    Rakesh

  • 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

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • Printing of MAIN window details on different pages

    Hello,
    I have creates a smart form with 2 pages (invoice & packing details) containing MAIN window in each page. Also created secondary windows for respective pages with changed data. There is one interface table. When I print this form all the details are getting printed correctly on both the pages except MAIN window details on 2nd page (i.e. packing details). On 1st page MAIN window is getting printed correctly but on 2nd page it doesn't. I try to put break point on MAIN window in 2nd page both it doesn't get triggered. Can some one help me to know the reason.
    Rgds
    Rajeev

    Hi,
    A small writing mistake in my earlier reply.
    Hi,
    I believe you have two pages ( FIRST page layout is for Invoice details ).
    If the first page is spilled over to second page then you have problems with the packing details which is to be in the second page.
    In that case design another page as NEXT page same as that of the FIRST page and for the FIRST page you mention the subsequent page as NEXT.
    Then use a command in the NEXT page and mention Goto--> SECOND page for the layout of packing details with proper condition.
    And display the packing details under the command.
    regards,
    Ram

  • Overflow of Main window data in to variable windows

    Hi,
    I have a following scenario. I have a main window . I defined some other variable windows below the  main window. My problem is that when the data is full in main window it is not triggering page break and printing variable window in the next page. Instead, the data is priting in the first page it self mingling with the data of the variable windows. Any solutions please?

    Are you giving the next page  as the second page in the first page General Attributes?
    Have you checked any checkboxs in the conditions tab of the table node?
    Regards,
    Satish
    Message was edited by:
            Satish Panakala

  • How to print hard-coded data in multiple language in sapscript.

    Hi All,
    How to print hard-coded data in multiple language in sap-script, here the requirement is when printing the output
    we can see the window heading, description which are mostly hard-coded here I want to print these in both language as fallows,
    Goods to be delivered: = Morada de Entrega:
    Total net value excl. tax = Valor Total (IVA não Incluído)
    Description = Descrição
    Item = linha
    here I want to print in both languages like----       Goods to be delivered:/ Morada de Entrega:
    and the above headings in English are hard-coded.
    Kindly suggest me on this.
    Thanks in advance.
    Arun.

    Hi Arun,
    Use Standard text ade those text elements. Then use those in SAP script using different languages.
    Regards,
    Amitava

  • 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

  • How to change main window title of oracle ebs

    Hi all,
    Kindly tell me how can we change the main title of oracle ebs 11i.
    Thanks

    Hello Gloscott,
    Welcome to the Aperture discussion forum. Congratulations. You just hijacked a thread. That's bad form for 2 reasons. First, you added a message to a thread called "How to change main window view" which makes it look like you had information to add that thread, and you did not. Second, people who can help you are more likely to read a message that has your problem in the subject than they are to read this message. I.e., you won't get what you want if you ask for something else.
    That being said, when you repost your query in a new thread, you'll have to be more specific. A "Frame" is not in the regular Aperture terminology.
    nathan
    Message was edited by: Mr Endo

  • Can I set the time ruler in the main window to minutes/seconds/milliseconds?

    Is there a way to set the time ruler in the MAIN window to minutes/seconds/milliseconds?
    It seems that the only ruler time display option is minutes/seconds/frames/subframes.
    Or, failing that, is there a way to suppress the display of frames/subframes?
    I have already figured out how to set the main ruler to time, and the LCD to minutes/seconds/milliseconds…it's just a matter of having that in the ruler as well.
    Thanks.

    To my surprise that is not possible. Although, surprise...
    You could put in a feature request here:
    http://www.apple.com/feedback/logic-pro.html
    and/or here:
    http://www.logicprohelp.com/forum/viewforum.php?f=41

Maybe you are looking for

  • EFT payments config - ACH ID?

    Hi Guys, I would like to know what ACH ID means in EFT payments? is it the bank key ? we have sent the ACH/Wires test files to bank and they came back saying "An incorrect ACH ID was included in the ACH test file" Thanks in advance, God bless

  • Uninstall Bootcamp, What's left behind?

    Okay I know this may sound weird but I'm wondering if anyone knows an answer to this. About 8 months ago I used the Boot Camp beta to run WinXP on my MacBook Pro 2,2. I ended up deciding I didn't want it and used the Boot Camp Assistant to remove it.

  • File name size

    What is the maximum number of characters a file name should have? I was copying files from another Mac to a ZIP disk to put on my new iMac when copying stopped and reported an error relating to the files names. Some names were more than 22 characters

  • Value based billing plans?

    Hi... I am ABAPer, I am trying to create value based billing plan in the contrcat creattion.. But if i enter date and bill value and press enter billvalue which entered is not mapping there, As of now there is no items for this contract, How can i en

  • 3D Fountain trail to avoid the Cursor

    Hello! I just started doing somethings with 3D,I would like to know how can make the trail of the fountain that can be generated with the code I'm going to show can avoid the cursor. on beginSprite me sprite(me.spriteNum).member.resetWorld() -- creat