Control Break in a new page

I just add a control break in the interactive report and I'd like to show each rows for each control break in a new page,
or just add some new lines for each control break.
Is there a way to do this?
Thanks.

Looks like a javascript problem. Go to a javascript forum and ask.

Similar Messages

  • Control Breaks AT END OF...., AT NEW... etc in BSP using HTMLBs ?

    Hi SAP Pros,
    Recently while working on a BSP Application which had simple HTML coding/styling in the Layout part, we faced a problem in displaying data of more than 3000 records. For those reasons we shifted to TableViews. But some BSP pages have Control Breaks in the LOOP....ENDLOOP (in the Layout part) of the Internal table being displayed. Now since with TableViews we cannot incorporate Control Breaks, I am stuck with the issue of how to manage mass records, while at the same time maintain the use of TableViews because of its ability to display mass data.
    Please advise me on this. A Solution is much awaited. We have, as usual, real time crunch.
    Thanks in advance to all.
    Awaiting helpful replies,
    Vivek Singh.

    Hi Craig,
    Thanx for that "Rules of Engagement" Link. It was good!
    I just pushed in a Question here instead of OSS, as I didn't have the login ID and password (at that moment) to my Company's OSS. Never wished to signal SDN is "Support Desk". As members, we all understand that! I too am a contributor, but whenever (3 or 4 times) I have answered a Post, some error occurred. The next page got hanged. Blame it to slow Internet Speed or heavy traffic on SDN.
    Will surely learn to be more proactive and assertive like you people.
    On to my question's Sense Making part, Sir, I just wished to know if at all I can use the Control Breaks like AT NEW..., AT END OF...., etc. with TableViews, since I need to display mass records at the same time use the Control Breaks (AT END OF...., AT LAST..., etc.)in them. If you relate my lines now to what I had asked earlier, you'll find both ask the same (as is evident in my Topic's heading).
    Sorry for expressing my question in a way not recommended. But a solution can always be provided generously.
    I hope my question emerges clearer to you. Waiting for a positive reply from you. Please reply at your own convenience.
    Vivek.

  • Doubt in control break statement

    Hi All,
    Is there any way to trigger control break statements at new & at end of for non primary key fields.
    i want to trigger both control break statements for my requirement , not at change of, because i want to trigger at end of also. Please let me know if any possibility. Thanks
    regards
    vishal

    hi vishal,
    Variants:
    1. AT NEW f.
    2. AT END OF f.
    3. AT FIRST.
    4. AT LAST.
    Effect
    In a LOOP which processes an internal table, you can use special control structures for control break processing. All these structures begin with AT and end with ENDAT. The sequence of statements which lies between them is then executed if a control break occurs.
    You can use these key words for control break processing with internal tables only if a loop is actively processing an internal table and reference is to the innermost currently active loop.
    The control level structure with internal tables is static. It corresponds exactly to the sequence of columns in the internal table (from left to right). In this context, the criteria according to which you sort the internal table are unimportant.
    At the start of a new control level (i.e. immediately after AT), the following occurs in the output area of the current LOOP statement:
    All character type fields (on the right) are filled with "*" after the current control level key.
    All other fields (on the right) are set to their initial values after the current control level key.
    Between AT and ENDAT, you can use SUM to insert the appropriate control totals in the numeric fields (see also ABAP Number Types) of the LOOP output area (on the right) after the current control level key. Summing is supported both at the beginning of a control level (AT FIRST, AT NEW f) and also the end of a control level (AT END OF f, AT LAST).
    At the end of the control level processing (i.e. after ENDAT), the old contents of the LOOP output area are restored.
    Notes
    When calculating totals, you must ensure that the totals are inserted into the same sub-fields of the LOOP output area as those where the single values otherwise occur. If there is an overflow, processing terminates with a runtime error.
    If an internal table is processed only in a restricted form (using the additions FROM, TO and/or WHERE with the LOOP statement), you should not use the control structures for control level processing because the interaction of a restricted LOOP with the AT statement is currenly not properly defined.
    With LOOPs on extracts, there are also special control break control structures you can use.
    Note
    Non-Catchable Exceptions:
    SUM_OVERFLOW: Overflow when calculating totals with SUM.
    Variant 1
    AT NEW f.
    Variant 2
    AT END OF f.
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas.See Compatible Work Area with Control Level Processing and Field Symbols Not Allowed as Control Level Criterion.
    Effect
    f is a sub-field of an internal table processed with LOOP. The sequence of statements which follow it is executed if the sub-field f or a sub-field in the current LOOP line defined (on the left) before fhas a different value than in the preceding (AT NEW) or subsequent (AT END OF) table line.
    Example
    TYPES: BEGIN OF COMPANIES_TYPE,
            NAME(30),
            PRODUCT(20),
            SALES TYPE I,
          END   OF COMPANIES_TYPE.
    DATA: COMPANIES TYPE STANDARD TABLE OF COMPANIES_TYPE WITH
                         NON-UNIQUE DEFAULT KEY INITIAL SIZE 20,
          WA_COMPANIES TYPE COMPANIES_TYPE.
    LOOP AT COMPANIES INTO WA_COMPANIES.
      AT NEW NAME.
        NEW-PAGE.
        WRITE / WA_COMPANIES-NAME.
      ENDAT.
      WRITE: / WA_COMPANIES-PRODUCT, WA_COMPANIES-SALES.
      AT END OF NAME.
        SUM.
        WRITE: / WA_COMPANIES-NAME, WA_COMPANIES-SALES.
      ENDAT.
    ENDLOOP.
    The AT statements refer to the field COMPANIES-NAME.
    Notes
    If a control break criterion is not known until runtime, you can use AT NEW (name) or AT END OF (name) to specify it dynamically as the contents of the field name. If name is blank at runtime, the control break criterion is ignored and the sequence of statements is not executed. If name contains an invalid component name, a runtime error occurs.
    By defining an offset and/or length, you can further restrict control break criteria - regardless of whether they are specified statically or dynamically.
    A field symbol pointing to the LOOP output area can also be used as a dynamic control break criterion. If the field symbol does not point to the LOOP output area, a runtime error occurs.
    If you use AT within a LOOP with an explicitly-specified output area, the area must be compatible with the line type of the internal table so that it can be initialized properly (as described above) at the start of a new control level.
    You can restrict control break criteria further, regardless of whether they were defined statically or dynamically, by specifying offset and/or length.
    Variant 3
    AT FIRST.
    Variant 4
    AT LAST.
    Effect
    Executes the appropriate sequence of statements once during the first (AT FIRST) or last (AT LAST) loop pass.
    Example
    TYPES: BEGIN OF COMPANIES_TYPE,
            NAME(30),
            PRODUCT(20),
            SALES TYPE I,
          END   OF COMPANIES_TYPE.
    DATA: COMPANIES TYPE STANDARD TABLE OF COMPANIES_TYPE WITH
                         NON-UNIQUE DEFAULT KEY INITIAL SIZE 20,
          WA_COMPANIES TYPE COMPANIES_TYPE.
    LOOP AT COMPANIES INTO WA_COMPANIES.
    AT FIRST.
    SUM.
    WRITE: 'Sum of all SALES:',
    55 WA_COMPANIES-SALES.
    ENDAT.
    WRITE: / WA_COMPANIES-NAME, WA_COMPANIES-PRODUCT,
    55 WA_COMPANIES-SALES.
    ENDLOOP.

  • Control break statements in smart forms

    Hi,
    Can we use control break statements(at new,at end of) in smart forms?
    if no why?
    if yes, how?
    Regards,
    Sonika

    you can use control block statements in smartforms by using the SORT events.
    In TABLES go to to the SORT section.Here you can give the field by which you want the table to be sorted.There are two radio buttons available for sort : SORT BEGIN and SORT end.
    On selecting any one sort event are generated automatically and event nodes are created in smartforms.Inside these event nodes you can add text nodes or code nodes and write your code.
    SORT BEGIN works like AT NEW
    SORT END works like AT END OF.

  • Control break statments

    Hi all
         in control break statments AT NEW COMMAND will provide astrik and blank in the out put in  right side of the column.why!
        in the case of on change of  it will not give astrik and blank on the right side of the column in the out put . why!
    regards
    Nagendra.

    Control Break Statements:
    1. At First
    2. At last
    3. At New
    4. At End of
    5. on change.
    *at first, at last, at new, at end of are also called as at
    events and these will be used in loop.....endloop of an
    internal table.
    *'on change' can be used in out side of the loop...endloop.
    1.At first event will be executed only for the first
    iteration of the loop...endloop. This event is used for
    writing headings.
    2. At last event will be triggered for the last iteration
    of the loop...endloop.
    3. At new event will be triggered for every new value
    enters in to the field.
    4. event at end of will be triggered if the current running
    value is the last value.
    5. on change will be triggered for any change in the
    specified field value.

  • Triggerring new page in the script

    Hi
    can anybody tell me how to trigger a new page in the script on condition.
    my problem is i want to print material & its discription based on the MRP controller using scripts.
    if the MRP controller changes then it has to trigger a new page in the script.
    page 1.
    MRP controller 102
    material1  material1-discription.
    material2 material2-discritpion.
    new page shoud trigger here
    page 2
    MRP Controller 103
    material1  material1-discription.
    material2 material2-discritpion.
    Thanks in advance

    Hi,
    First Call That text Element Were U Used New-page Coomand.
    SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).
    The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.
    Syntax:
    /: NEW-PAGE page_name
    /: NEW-PAGE
    The current page will be completed and the text in the following lines will be written to the page specified in the form.
    /: NEW-PAGE S1
    As above, except that the page S1 will be taken as the next page.
    If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
    Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.
    2.it can be set in two way
    1 using SE71 ur Script transaction
    u can create new page by clicking page tab in Se71 and goto edit->create Element.. that will create a new page..
    2 Using ur SE38 itself by setting a flag variable = X u can create a new page..
    if page = ' X '.
    new-page.
    endif.
    reward if helpful
    Shiva Kumar

  • Script new page

    Hi i am creating new page in script and giving some text in that page window.
    but that page not all triggering here,
    all ready first and next pages are there in my script .. i created new page,, but not coming...
    could any body explain how to solve my problem..
    thanks,

    Hai,
    First   Call That  text Element  Were U Used New-page Coomand.
    SAPscript automatically inserts a page break when the main window of a page (MAIN) is full. You can use the NEW-PAGE command to force a page break in the text at any point you want one. The text following this command then appears on a new page. The page break is always performed (it is an unconditional page break).
    The NEW-PAGE command completes the current page. This means that all the windows that are still on the page are printed immediately. If you use the NEW-PAGE command without parameters, the page defined in the current form as the next page will be taken next. If, however, your form contains a number of different pages, then you can specify any one of these as the next page to be used.
    Syntax:
    /: NEW-PAGE [page_name]
    /: NEW-PAGE
    The current page will be completed and the text in the following lines will be written to the page specified in the form.
    /: NEW-PAGE S1
    As above, except that the page S1 will be taken as the next page.
    If, in a NEW-PAGE command, you specify a page not contained in the form, the specification is ignored.
    Take care that there are no blank lines immediately before a NEW-PAGE command. If an implicit page break occurs within the blank lines, an unexpected blank page may be printed.
    Regards.
    Eshwar.

  • In the new Pages 5.0, what is the page break shortcut key. I cannot find the key as indicated on the drop down menu.

    in the new Pages 5.0, what is the page break shortcut key (it used to be the Fn + enter). I cannot find the (new) key as indicated on the drop down menu. Please help.

    Hi Bruce and fruhulda,
    ok, I found the keyboard viewer, it only shows the traditional symbol 'return'.  something like a sideway u-turn continued with the arrow under.  This is the Canadian or US keyboard. 
    btw thanks for your suggestion.

  • How do I create a table that breaks for new pages?

    I'm running Pages 5.5.1 on OS X Yosemite 10.10.1 and am having difficulty understanding table behavior.
    Scenario 1 - I create a new file and insert a table at the top of the first (blank) page.  It automatically is selected for Object Placement>Move With Text.  If I add rows to this table, Pages automatically adds a new page and breaks the table so that additional cells appear on the new page.  All well and good.  If I change the Object Placement to Stay on Page, the second page and those cells disappear.
    Scenario 2 - I create a file and first add a few lines to the top of the first page.  Then, I insert a table below those lines.  It is also automatically selected for Object Placement>Move With Text.  When I add rows, the table does not break for the second page, but the entire table jumps to the second page.  If I change the Object Placement to Stay on Page, I can then slide the table back onto page one, but as in Scenario 1 the portion of the table which would continue onto page two disappears.
    So, how do I create a table that I can add to a page which is not blank (as in Scenario 2) which will break automatically onto page 2 instead of jumping, and so the rows appear on page two (not disappear as I describe above)?
    Thank you for your help.

    The inline table is supposed to break but like most things Pages 5 it is buggy and erratic in its behavior.
    Use Pages '09.
    Peter

  • In Indesign I would like to be able to have the tools and the controls open automatically when I open a new page or document. Now I have to select them in the windows drop down.

    I do not want to have to choose these two controls or tools in InDesign each time I open a new page or doc. How can I make them open automatically?

    With nothing open, try pressing the tab key, and/or resetting the workspace.

  • At new control break statement

    hi all,
    I have a requirement where I have to display records for non duplicate matnr.
    I have used this control break statement and got
    stars for all other fields except matn in the outputr.
    code:    at new matnr.
                              write: /10 sy-vline , wa_mara-matnr COLOR 5,
                                      30 sy-vline , wa_mara-ersda COLOR 5 ,
                                      50 sy-vline , wa_mara-ernam COLOR 5 ,
                                      70 sy-vline , wa_mara-laeda COLOR 5 ,
                                      90 sy-vline , wa_mara-mtart COLOR 5 ,
                                      110 sy-vline , wa_mara-matkl COLOR 5 ,
                                      130 sy-vline , wa_mara-meins COLOR 5 ,
                                      150 sy-vline.
                            ENDAT.
    plese do send me solution for this.
    with regards,
    ASHA.

    FAQ. This has been discussed many times in the forum. Please search.

  • Is the new Pages now in control

    I'd like to continue using 09 Pages, but the new Pages downloaded on my iMac without my request or permission now seems to be in control -- that is even if I do not have the new Pages running, all my previous docs produced with 09 Pages come up in the new pages with a query do I want to convert it to the new pages...which means as long as the new pages is in my applications I will never be able to use the 09 Pages. Catch 22 +. Is the new pages that good, and am I going to lose some features I like by going to this new version which has been forced on me. Maybe I'm overreacting, but I would like to have some say in the matter.
    Jay

    Select the doc, but don't open it. Now, CMD+I should bring up an info window, such as this. In the Open with section.This is an example:

  • Hide Interactive Report Control Break from page

    I have a page with an Interactive Report. I have hidden the Search Box and Actions menu (based on users's request). I also want to hide the text on the page for the Control Break I created for the report (the part that shows the column name for the Control Break and the X icon next to it). Anyone know how this is accomplished?
    Application Express 4.0.2.00.07
    Thanks.

    This stuff seems to sit in a table with the following attributes:
    class="control_panel"
    id="apexir_CONTROL_PANEL"So you should be able to apply a style to hide that entire table, such as .control_panel{display:none} or #apexir_CONTROL_PANEL{display:none}

  • How to insert page breaks, I would like certain rows to print on a new page  I am making a childrens dictionary and would like to to automactically print each letter on a new page.  is this possible?

    How do I insert a page break on certain rows in a Numbers spreadsheet.
    I am making and always updating a childrens dictonary and would like to be able to hit print and have each letter start on a new page.
    Is this possible?
    Thanks

    AM,
    Set your view to "Print View" and you will see the individual pages. More pages will be added as you drag content away from the existing pages.
    Arrange your content as you would like to see it printed. That's it. What you see is what will print.
    Jerry

  • Smartforms, how to use control break events

    Please help with this requirement.
    Purchase Docu No.111
    Pur Item No       Mat no       Quantity 
    1                        2356      2000
    2                     1256      2000
    3                     8556      2000
    Purchase Docu No.112
    Pur Item No    Mat no    Quantity 
    1                      9656      2000
    2                      7356      2000
    3                      1356      2000
    Purchase Docu No.113
    Pur Item No    Mat no    Quantity 
    1                      5356      2000
    2                      8356      2000
    This i have to design for the smartform.
    1 header data then its item data.
    like is Script i can call the WIndow elements using control break events in the driver prog but how to get this kind of output in Smartforms.???????
    Thanks

    I dont want trigger new page.
    In the same page i want like this
    I have purchase docu data in only 1 internal table.
    So, for every new VBELN, under this i want its corresponding item details.
    I have created the command node for the main window with 2 rows, in the 1st row i am giving VBELN and in the 2nd row i am giving in item details like item no, matnr etc etc and in the condition its askng Field name and Comparison Value.
    How shold i give condition.??????
    Thanks
    Edited by: Jalaaluddin Syed on May 1, 2008 5:03 PM

Maybe you are looking for