How to keep last line together with table?

Hi guys,
I am new to Reports , so please excuse me for probably primitive question.
I am creating consolidated invoices report consisting of invoice date + 2 last lines of company signature like Yours, XXYYY Ltd.
Depending on number of lines in invoice data it is possible that only these 2 signature lines are printed on last page.
How to force keeping them together with invoice data?
Thanks in advance,
Asnate

Hi,
If you have repeating Invoice lines, and they are filling up your page, then there is no other option but to orphan the "Yours, XXYYY Ltd" onto another page.
Somethings you can do increase the amount of space on your page is decrease the size of your top and bottom margins, and also make sure you have no excess whitespace either in your template or within your placeholders.
Unfortunately, anything that is displayed after a table of repeating lines, where there is no limit to the number of lines, is susceptable to being orphaned, as there is no guarantee that it will fit onto the page.
Hope this helps,
Cj

Similar Messages

  • How to use function module together with tables in Crystal Report?

    Dear all expert,
    I have the following situation where I need to use a function module in my crystal report, But how can I link the FM with the tables so that I can pass out some value from the FM to the report?
    Thank You.

    Hi,
    Hope the following helps..
    1)
    LOOP AT IT_OUTPUT.
    Call the function module to get the tracking number and store the output in the
    variable V_TRACKINGNO.
      IT_OUTPUT-TRACKING_NO = V_TRACKINGNO.
      MODIFY IT_OUTPUT TRANSPORTING TRACKING_NO.
    ENDLOOP.
    2) Date conversion
    DATA: V_CHAR(10) VALUE '2006.11.17'.
    DATA: V_DATE       TYPE SYDATUM.
    CONCATENATE V_CHAR(4) V_CHAR5(2) V_CHAR8(2) INTO V_DATE.
    WRITE: V_DATE TO V_CHAR MM/DD/YYYY.
    WRITE: / 'MM/DD/YYY Format - ',  V_CHAR.
    Please make sure to reward points for helpful answers..
    Thanks,
    Naren

  • How to keep details grouped together when have more than 1 details section

    I want to create a report that has two different detail sections, and then have the report first print all of the results of the first detail section (DETAIL A), followed by the results of the second detail section (DETAIL B).
    But CR prints the first line of DETAIL A, followed by the first line of DETAIL B. It then goes on to the second line of DETAIL A, followed by the second line of DETAIL B, and so on.
    Can anyone tell me how to keep DETAIL A together, followed by DETAIL B?
    thx, jon

    Assuming the data for the two formats are not in the same record, add a new field to the data record (or calculate it based on the record's data) with a value of A or B, then group by it.
    If the data IS in the same record (i.e., one data record generating both formats), subreports are the only way that I can think of...
    HTH,
    Carl

  • How can I create a query with tables in INFOSET?

    Dear Gurus,
    How can I create a query with tables in INFOSET?
    Just tables and fields INFOSET?
    Kind Regards,

    Hello
    Check following SCN Article for your understanding/reference:
    - [Using Infoset Query ,SAP Query and Quick Viewer|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10eab7af-0e54-2c10-28a5-87b47adbe1a5]
    Regards
    JP

  • How to keep lead selections in alv table...

    Hi experts.
    I made a alv.
    A logic  in wdmodifyview is following..
    METHOD wddomodifyview .
      IF first_time EQ abap_true.
        wd_comp_controller->set_alv_config( ).
      ENDIF.
      wd_this->set_maktx( ).  "<- for displaying maktx
    ENDMETHOD.
    When I want to select a line, do not selected.
    I know because of "wd_this->set_maktx( )." sentence.
    But I want to select multi lines in above condition...
    How to keep selected lines in alv?
    Help me please.
    Thanks.
    Regards.

    What logic is taking place in wd_this->set_maktx( )?  It is pretty difficult to say what is causing the issue without knowing what code you are executing?  If you are resetting the context bound to the ALV, that would explain why you are losing your selections.

  • How can I crate a view with tables which require "Left outer join"?

    Hi guys,
    how can I define a view with tables which require "Left outer join"?. In SE11 "View",->tab "Join condition", it seems that it valid only for "Inner Join".
    Please give me some hint.
    Thanks in advance.
    Regards,
    Liying

    Hi
    Inner Join and Outer Join 
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.
    With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view.
    With an outer join, records are also selected for which there is no entry in some of the tables used in the view. (ABAP allows left outer join.)
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.

  • How do I add strings together with JSTL?

    How do I add strings together with JSTL?
    Thanks,
    JN

    Just include them together in an expression string.
    For printing
    <c:out value="${user.lastName}, ${user.firstName}"/>
    or with a set statement
    <c:set var="fullName" value="${user.lastName}, ${user.firstName}"/>

  • Indesign, keep lines together with a number

    Hey,
    Is there a way to make Indesign keep lines together that has a number? My problem is that now in my document there are a lot of lines like:
    blaa blaa 57
    thousand and blaa...
    or:
    blaa blaa 300
    GWh and so on....
    So I would like Indesign keep lines together after a number. Is it possible? How?
    Thanks in advance...

    I think the problem is in the \S that Eugene used and I copied. It's the negation of the \s (any whitespace character) so the expression is looking for a number NOT followed by whitespace.
    Change that to the lowercase version, \s and it will probably do what you want, but might want to actually type a space with the spacebar after the digit wildcard instead if you want to limit the search to just an ordinary word space. \s finds ordinary spaces, fixed width spaces, tabs, and even forced line breaks and paragraph breaks. This might not be a problem for you, but you should keep it in mind.

  • How to select LAST line from a SAP table?

    Hi developers,
    I need to select the last line from a SAP table, NOT from an internal table.
    Something like
    SELECT SINGLE LAST FROM pa00169..
    any help is more than welcome.

    Javier,
    Based on this statement from you:
    "i created a Z table, its a config table that stores some bussines rules, and an id counter, so in order to update that counter i need the last line of the ztable."
    I have one additional solution which is the "text box" approach IF the 'id counter' mentioned above is a numeric data type.
    If so, use an SQL function to get the highest value of ID_COUNTER.
    Then simply add one to it to produce a new, unique, higher-order primary key.
    See below:
    data: l_id_counter like ztable-id_counter.
    data: new_id_counter like ztable-id_counter.
    select max( ID_COUNTER ) from ztable into l_id_counter.
    new_id_counter = l_i_counter + 1.
    Now new_id_counter will be the unique, primary key IF this is the only field in ZTABLE's primary key.
    This will also GUARANTEE that your new record is built correctly.

  • How to get First line item in Table control for BDC.

    Hi,
    I have a requirement while creating the return order from the reference Sales order for BOM.
    Once I compare the line items and delete the items not to be returned, I want to read the first line item which in fact is header, to make some changes.
    How to read  this as cursor points to the last line item.
    -B S B

    Hi Bsb,
    What is exactly unclear to you? =POPO will give a popup screen in which you can enter the order position number. This number will then be on the top of the table which means you can refer to it in BDC with "(01)".
    Regards,
    John.

  • Keeping a picture together with a certain paragraph of text

    I think this is probably a very rookie question but I am having a problem keeping my pictures where I want them. I need them to stay together with a certain paragraphs of text.
    A- "Lock position" doesn't work. I don't care where in the doc. they are as long as they stay with the right text.
    B- Anchored objects don't seem to be the answer, I want to do text wraps around the picture.
    All suggestions are appreciated.
    Bubby Bella

    No, that's not a problem, as long as the anchor is in the right place. Use a "custom" andchored object, rather than inline, and make sure the anchor is in a line ahead of the ones you want to wrap. A custom anchored object can be moved anywhere on the page and will continue to move with the anchor point.
    The illustration below shows two anchored objects with text wrap applied. The anchors are the first characters in the Notes: paragraph, and the postions are set as part of an object style that includes the text wrap, font (for the caption) and position information. The anchored object options dialog dispalyed is for the caption.
    In this case I didn't need to worry about wrapping the top, but pushing the image down on the page gives you this:

  • How to do an interactive form with tables

    I've been asked to recreate an interactive form that was created using several tables. The tables are made up of cells that contain labels of what information is required, followed by blank cells where the user can put the information (text fields). A few of the cells are to contain drop down menus that will contain a list of answers to choose from (combo boxes). I kind of like the idea of doing it in a table just because it keeps everything lined up automatically.
    I am a Lynda.com subscriber, and I found a course on that site that shows how to create interactive forms with InDesign, but it just breezes past doing it with tables. It says you can do it, but doesn't show how. The problem is, one table can contain all three types of cells that I plan to use. I can select the whole table and then choose "Type" in the Buttons and Forms panel, but I would think that would turn the whole table into just one type of field. I can't seem to figure out how to select individual cells of the table to choose different types.
    Is there a way to do that?

    This is work around
    1- Draw a rectangle frame, and without release mouse use up and right arrow key to define rows and columns count and use Ctrld+ down arrow key to reduce space between rows and Ctrl+left arrow key to reduce space between column.
    2- Covert frames to Buttons.

  • How to update last line in a file.

    Hi
    I need to append some text which should be at 2nd last line of a text file. I am getting the last line using RandomAccessFile and by ,
            fileHandler.seek(fileHandler.length()-1-lastLine.length()-1);
            fileHandler.writeUTF("last_line\r"+lastLine.replaceFirst("0x00", "0x80"));the above code i am trying to append the text with the updated last line. But instead of appending, the above code just replaces the last line.
    How to solve this problem ?
    BR
    Umer

    gimbal2 wrote:
    Muhammad Umer wrote:
    Hi
    I need to append some text which should be at 2nd last line of a text file. I am getting the last line using RandomAccessFile and by ,
    fileHandler.seek(fileHandler.length()-1-lastLine.length()-1);
    fileHandler.writeUTF("last_line\r"+lastLine.replaceFirst("0x00", "0x80"));the above code i am trying to append the text with the updated last line. But instead of appending, the above code just replaces the last line.
    How to solve this problem ?
    BR
    UmerRemember that a file, even a text file, is nothing more than a piece of administration: the administration of a collection of bytes to be exact. There are no lines, only bytes. Those bytes may represent something like a line, but that is basically only interesting during the presentation of data, the data itself has nothing to do with lines at all.
    So what you are doing is seeking to a specific location on the harddrive and you are writing some bytes. Whatever was there is overwritten by the new data. You assumed that what would happen is what you see happen in a text editor, that data is inserted at the spot of the cursor, but I hope you realize that you cannot make those assumptions. Also, what you see happening is not what the text editor application is actually doing; the difference between presentation and business logic.Thank you for such a nice explanation. I have solved the problem
    And for PrintWriter i will try it for understanding. Thank you.

  • How to pass Text Lines to z-table..?

    Hi All..
    I have a custome screen, where user inputs text of length 250 Char.
    How to pass this value to Z-table, where i have created a Field with CHAR type and 250 Length..???
    Pavan

    Hi,
          Use below logic.
          data itab like ztable occurs 0 with header line.
          itab-text = screen-text.
            append itab. 
          insert ztable from table itab.
    Regards,
    Amole          
    Regards
    Amole

  • Urgent : How to modify the line type and table type

    I am working on ALV Grid Control, i need to know how to modify the line type values to table type.
                 ls_celltab-fieldname = 'ZSAVINGS '.
                 ls_celltab-style = l_mode.
            INSERT ls_celltab INTO TABLE pt_celltab.
    Here ls_celltab is line type and pt_celltab is table type.
    Please give me the suggestion ASAP.
    C.Bharath Kumar

    Hi,
    Here is the example
    DATA: BEGIN OF LINE,
            LAND(3)  TYPE C,
            NAME(10) TYPE C,
            AGE      TYPE I,
            WEIGHT   TYPE P DECIMALS 2,
          END OF LINE.
    DATA ITAB LIKE SORTED TABLE OF LINE
              WITH NON-UNIQUE KEY LAND NAME AGE WEIGHT.
    LINE-LAND = 'G'.   LINE-NAME   = 'Hans'.
    LINE-AGE  = 20.    LINE-WEIGHT = '80.00'.
    INSERT LINE INTO TABLE ITAB.
    LINE-LAND = 'USA'. LINE-NAME   = 'Nancy'.
    LINE-AGE  = 35.    LINE-WEIGHT = '45.00'.
    INSERT LINE INTO TABLE ITAB.
    Regards
    Sudheer

Maybe you are looking for