Report error using landscape style, lines per page errors.

Hi
A Custom report(use character units in designer,11 X 8.5, stadard settings...) developed(reports 2.5 on apps 11), which was working fine previously using standard landscape. The report produces exactly 56 lines physically per page.
Now, in applications ,landscape print style is properties changed, number of rows changed from 66 to 57.
Now report gives error:
'M_XXXX_GRPFR' is not fully enclosed by its enclosing object 'Body'. M_XXXX_GRPFR is the outer most frame in my report layout.
(I tried increasing page size, etc, no use, same error)
Now, I don't understand why it is giving error, as, it prints only 56 physical lines per page when I see the output file generated.
Is that landscape is defined as 57 rows, but it is not exactly 57 physical lines? Because when I took out some stuff from report layout, which now produces only 45 physical lines, it is working fine.
But, I have all 57 phyiscal lines in the report that I want it to work, any suggestions?
Thanks
Rathan.
null

Hi,
Try this, i might work for you.
<?for-each:Q1?>
Here, place KIT ITEM Data table
Below that:
<xsl:variable name="no_of_lines_per_page" select="number(30)"/>
<xsl:variable xdofo:ctx="incontext" name="invLines" select=".//Q2"/>
<?for-each:$invLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
[here KIT COMPONENTS tabel will start]
[In table first cell again start for-each group like below]
<?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?> ---this is in table first cell
[in rest of cells, put your columns xml tags]
<?end if?><?end for-each?> - in last cell.
this is end of Q2 table.
After that put a page break
<xsl:if xdofo:ctx="inblock" test="$start+$lpp<=count($invLines)"><xsl:attribute name="break-before">page</xsl:attribute></xsl:if> -- page break outside the Q2 table.
Now close the invlines for-each group
<?end if?><?end for-each?>
Close the Q1 for-each group.
<?end for-each?>

Similar Messages

  • How to give no of lines per page in alv report

    hi
    could anybody tell me
    how to give no of lines per page in alv report
    i need bottom of page too
    if possible plz send the code too
    it ll be very helpful to me
    thanx
    kals.

    Hi,
    This is possible, using some of the events in the ALV.
    You could use AFTER_LINE_OUTPUT event and call you form after say, a certain line count is reached on the list output.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-name.
      MOVE 'AFTER_LINE_OUTPUT' TO gw_event-form.
      APPEND gw_event TO gt_events.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                it_events                = gt_events[]
    and define the form for each event as follows - this would be a dynamic call by the ALV.
    *&      Form  after_line_output
    *       Form for the After Line Output Event in the internal table
    *      --> rs_lineinfo
    FORM after_line_output USING rs_lineinfo TYPE slis_lineinfo.
      IF sy-linno eq v_linno.          "Defaulted value for line count
        perform write_footer.
        NEW-PAGE.
      ENDIF.
    ENDFORM.                    " after_line_output
    For lines per page:
    rs_lineinfo-tabindex would give you the index of the current line in the list, which you could use to read the t_outtab table, and reduce the line count of items displayed on the earlier page.
    There are a few other events too, like BEFORE_LINE_OUTPUT and END_OF_LIST which you can use as required and print the data.
    Regards,
    Anil.

  • How to get Fixed lines per page  ? really Urgent !!!

    I am facing problem with the fixed lines per page. The Footer block(Subtotal) is moving up leaving space at the bottom when the number of items is less.
    I have a two groups : one for KIT ITEMS and other for KIT COMPONENTS. When i am generating report for only KIT ITEMS i am getting fixed footer by using
    <xsl:variable name="no_of_lines_per_page" select="number(30)"/>
    <?for-each@section:Q1?>
    <xsl:variable xdofo:ctx="incontext" name="inner_group" select=".//Q2"/>
    <?for-each:$inner_group?><?if:(position()-1) mod $no_of_lines_per_page=0?>
    <xsl:variable name="first_rec" xdofo:ctx="incontext" select="position()"/>
    but when i try generate the report in combination with KIT COMPONENTS together, i am not able to fix the number of lines per page. The Footer is going into next page. Now i have Q2 and Q3 where Q2 is Parent Kit Item and Q3 is Child Kit Components.
    How can i get fixed lines per page for Q3 with respect to Q2 ?
    I would really appreciate if anyone can reply me fast.

    Hi Thanks for the link.I used the code which is there in this link. It is working for the items coming from Q2( Kit Parent Items) , but I want fixed number of lines combine for both Kit parent and its kit components( i.e Q2 and Q3 ). Could you please tell me , code to get fixed number of lines for this. It is really very urgent.

  • Deskjet 5525 printing random characters, one line per page when printing both sides of page

    Hi. I have a deskjet 5525 wireless all in one printer. 
    I have installed all of the necessary hardware and have updated it. We have two computers running windows 7, 64 bit. I have not been able to update the firmware on the printer because the HP Device Updater program that does it cannot communicate with the printer via usb cable or wireless on two different computers I have tried.
    When trying to print two sided documents, it will print ok for about two pages, but then, it will start printing on line per page of random characters, blurred lines of text, gargabe basically.
    This is the second printer as the vendor replace the first one with the same problem. You would say, oh a software problem, but I have reinstalled the HP Deskjet 5520 series SW a couple of times, reinstalled the printer, but the problem continues. 
    An old HP deskjet 3845 worked for us pretty well on the same computers.
    Please help.

    Hi Onemangosta,
    I would like to help with the garbled text you are experiencing. I have found a great document for you to use and I can also help you with the firmware update.
    Troubleshoot text that might be gibberish, nonsense, or look garbled or scrambled
    In order to update the firmware on your printer ensure the printer is on the wireless network and touch the Web Services icon (this icon is the 1st of the 4 that run across the top of the front panel - looks like 2 little cell phones). Scroll through the Web Services menu, find and select Product Updates, select Check for Product Updates.
    If the printer is already up to date the front panel will say so, if it is not, the download and install will begin. It is possible you were unable to do the update form the computer because the printer does not need an update. The HP Device Updater will only see a printer that requires the update.
    Hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • 25 lines per page?

    How do I set up pages to have exactly 25 lines per page?
    Thanks in advance!
    Jessica

    Welcome to Apple Discussions
    Create a page that looks just the way you want it, with 25 lines in the typeface and point size you want to use. Adjust the top and bottom margins to fit those 25 lines. Save as template. Always use that template and do not change type size or line spacing.
    Walt

  • Control Lines per Page

    I need some information on how to control the number of lines that print on a page. I have designed a purchase order .rtf template. I can only print so many po lines per page and still leave room for a footer to print at the bottom of each page. Thanks for any help...

    See this
    Can you limit returned rows in a loop?
    See this thread ,
    you can do
    1. page-break
    2. sub-totalling
    3. control number of rows displayed in a page
    Re: Can you limit returned rows in a loop?

  • Why only few lines per pages

    Hello, I am customizing standard ebusiness suite reports GLRGNL.rdf.
    The problem is data goes to the 2nd page, 3rd page … but there is only about 4 lines on each page. Data on 2nd or 3rd pages for examples refer to the same repeating frame as those on the 1st page and “maximum row per page” is set to 0.
    I don’t know where the page break comes from. I didn’t change layout properties (width, height).
    Thanks for your help

    Hi all, the problem is solved. It was due to bad print condition on frame (fixed).
    I still have one problem. After every page, there is also a blank page (which is not numbered).
    Does anyone have an idea?
    Thanks.

  • I am trying to use old style figures in Page '14 I guess, the latest version. Do I need to use a specific font? Where should I look.

    I am trying to use old style figures for a school typology project. I can't find them. I think I might need a specific font, but I dont know what that would be.

    austinjschafer wrote:
    The gear was at the top left, not the bottom. Just for future help.
    Thanks!  I guess they were bored with having at the bottom for 10 years....
    You will probably find that the typography panel in Pages 5 is kind of broken, you need to close it and reopen for each new font, and I think small caps and various other things do not work yet.

  • Interactive Reports: Display data on two lines per row?

    Is it somehow possible to display a single row across two lines in an interactive report?
    Something like this:
    Row1 Field 1, Row1 Field 2, Row1 Field 3
    Row1 Field 4 (spanning across the other fields)
    Row2 Field 1, Row2 Field 2, Row2 Field 3
    Row2 Field 4 (spanning across the other fields)
    Row3 Field 1, Row3 Field 2, Row3 Field 3
    Row3 Field 4 (spanning across the other fields)
    ... etc
    For example, I have a "Remarks" column that would look better on its own line, rather than being squeezed into the same row with the other columns.
    I realize that this layout might not be possible out-of-the-box, but I was thinking that perhaps some javascript/jQuery trick could be used. Unfortunately, my jQuery-fu is not strong yet, so I'm asking for help...
    (I also know that this type of layout is possible using a classic report with a custom template, but I would prefer to use the Interactive Report if at all possible.)
    - Morten

    Hi,
    Try this to page HTML header
    <style>
    .apexir_WORKSHEET_DATA td{white-space:nowrap!important;}
    </style>At least it work with firefox 3.5 for me
    Br, Jari

  • Error using a taskflow inside a page fragment

    Hi,
    I am using a taskflow with a region in a jspx and it works.
    But when I put the region in a page fragment, and then call the page fragment from the jspx I get the following error:
    <Sep 13, 2012 8:39:07 AM PDT> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
    java.lang.IllegalStateException: The expression "#{bindings.processViewerTaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
    This is typically due to an error in the configuration of the objects referenced by this expression.
    If it helps, the expression "#{bindings.processViewerTaskflow1}" evaluates to "null".
    If it helps, the expression "#{bindings}" evaluates to "null". Now using an empty RegionModel instead.
         at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:441)
         at oracle.adf.view.rich.component.fragment.UIXRegion._beginInterruptibleRegion(UIXRegion.java:727)
         at oracle.adf.view.rich.component.fragment.UIXRegion.setupChildrenVisitingContext(UIXRegion.java:538)
         at org.apache.myfaces.trinidad.component.UIXComponent.setupChildrenEncodingContext(UIXComponent.java:1156)
    I did all the bindings using the jdeveloper.
    This is the jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="untitled6.jspx" id="d1">
    <af:form id="f1">
    <jsp:include page="/untitled3.jsff"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    And this is the untitled3.jsff file:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:region value="#{bindings.processViewerTaskflow1.regionModel}" id="r1"/>
    </jsp:root>
    What is wrong ?
    Thanks

    Hi Pablo
    Frank already mentioned clearly in his post. I just want to share some useful links. First start with the link, like What to use When. And see the section where it clearly says we cannot share the data between the parent and its child adf region having JSFF and vice versa. This is achieved using Parameters Map etc.
    What to use When - http://www.oracle.com/technetwork/testcontent/adfregioninteraction-155145.html
    Fixed - http://www.baigzeeshan.com/2010/04/creating-pages-with-regions-in-oracle.html
    Dynamic - http://www.baigzeeshan.com/2010/06/working-with-dynamic-regions-in-oracle.html
    Thanks
    Ravi Jegga

  • Plus "+" signs appear in subject when using "Mail Link to This Page" error

    When I choose File > Mail Link to This Page in Safari for Windows (all recent/current versions), Safari opens a new Outlook email message window with a link to the web page I want to send in the content area of the message as it should, however the subject line contains plus sign "+" symbols between every word in the web page's title, as shown here:
    Subject: Apple-+Support+-+Discussions+-+Post+Message:+NewTopic
    Any tips on how to make those distracting plus signs go away?
    Joe

    Yeah, I've posted the same inquiry. I'm surprised we haven't heard anything back yet regarding this annoying issue w/ the "+" symbols showing up in the Subject line every time we mail a link.
    Hopefully we'll get some type of assistance soon.
    Good luck!

  • Put one query result in two newspaper style columns per page

    I have a query that returns about 1000 rows of data but I only need to see 3 fields so on a page it only takes up a couple inches of space. I want to make the data wrap so it prints down the left side column then continues the list on the right hand side (like a newspaper article flows) I have no idea how to make it look like this:
    ROWONE DATE       ROWFOUR DATE
    ROWTWO DATE       ROWFIVE DATE
    ROWTHREE DATE       ROWSIX DATE
    Page 1
    ROWSEVEN DATE       ROWNINE DATE
    ROWEIGHT DATE       ROWTEN DATE
    Page 2
    Any ideas?
    Message was edited by:
    user463998

    Well, probably I'm not the best to give advice but it did work for me. I put a frame to fill the whole page, then the repeating frame in which I wanted my data, then added my columns to the repeating frame... edited the properties of the repeating frame to print down/across and it worked (though I had to resize the repeating frame to make it a bit smaller because I guess it has to be able to easily fit two wide before it'll print in the second column.)

  • Has an error in CRM webui (Business Server Page Error)

    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Define component usage 'CUKNOWARTValueHelp'
    Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT
    Error Name
    Program CL_BSP_WD_REPOSITORY==========CP
    Include CL_BSP_WD_REPOSITORY==========CM00C
    ABAP Class CL_BSP_WD_REPOSITORY
    Method GET_CMP_USAGE_DEF
    Line 18
    Long text -
    Error type: Exception
    Your SAP Business Server Pages Team
    Not able to figure our how to fix it.
    Tx
    Sabina

    Hi Sabina,
    The error is caused because the Component usage 'CUKNOWARTValueHelp" is missing. Open the associated BSP application and check if there is a component usage defined in the Runtime Repository. If there is no custom enhancement to the BSP you are dealing with, then this issue might be present in Standard. If that is the case, check if the note suggested by Hasan helps.
    Good luck.
    Regards,
    Prathap

  • Trying to sync Sharepoint calendar w/ Outlook for mac; Protocol Error; Used about:config and get same error.

    I'm trying to sync a Sharepoint calendar with Outlook on my mac. When I click on "Connect to Client", I get this error:
    Firefox doesn't know how to open this address, because the protocol (stssync) isn't associated with any program.
    I used the about:config instructions to create a new string:
    * Type about:config into the address bar and press Enter.
    * Right-click -> New -> Boolean -> Name: network.protocol-handler.external.foo -> Value -> true (Replacing foo with the protocol you're specifying)
    * Right-click -> New -> String -> Name: network.protocol-handler.app.foo -> Value -> /path/to/app (Replacing foo with the protocol you're specifying and /path/to/app with the path to the application you want to run.
    * Ensure network.protocol-handler.expose-all is set to true.
    The path I used (which opens Outlook if I click on the icon) is:
    /Applications/Microsoft Office 2011/Microsoft Outlook.app
    I'm still getting the same error message.
    Please help me to allow Firefox to open stssync pages so that I can sync my calendars.
    Thank you in advance.

    Straight from the Mothership:
    http://www.officeformac.com/ms/ProductForums/Office/6960
    NO SHAREPOINT INTEGRATION!
    To be considered a true business software, wouldn't this be a nice feature? Oh yeah, I left feedback and hope many others will as well.
    On 11/12/10 9:19 AM, [email protected] wrote:
    > How do I view SharePoint contacts in Outlook 2011? In windows the
    > "Connect to Outlook" button is highlighted, however on a Mac it is
    > greyed out and I can see no way to add them from Outlook.
    ''Currently, Outlook for Mac has no SharePoint integration.''
    Please be sure to let Microsoft know you'd like to see this feature in
    future versions by using the Help --> Send Feedback mechanism in any
    Office application.
    Hope this helps!

  • How to give the no of lines per a page in alv report

    hi
    could u plz inform me
    how to give the no of lines per page in alv report
    in ordinary report we can give line-count na
    how can we give in alvs.
    thanx
    kals.

    Hi Kalyan,
    There is another Forum(Abap Development) where u can post abap related stuffs and u can also get quick answers there..
    Cheers...
    Santosh

Maybe you are looking for

  • How to view the No. of connections used in DB as Normal user?

    Hi, I have an clarification about to view the number of connections in DB as normal user. As sys user, we can see the Max. no. of connections / number of connections used in Database. In the sameway, Do we have any option to view those details as nor

  • Oracle forms/reports on java

    HI ALL, We are in the midst of migrating java from 1.3 to 1.42 or 1.5. So what I would like to know is that, is there any compatibility issue with oracle forms 6i running on jre 1.5 or 1.42 and Oracle Report 9i running on JRE 1.42 or Java 1.5. Is the

  • Unable to call a Packaged function in SQL statement??

    I have written a package & overloaded a function 3 times. I am using different parameter name for overloading & call as follows: my_pkg.ovrld_func(p_1 => v_val) my_pkg.ovrld_func(p_2 => v_val) my_pkg.ovrld_func(p_3 => v_val) When i use this statement

  • How do I set up calendar events that will be for another time zone? My events shift once I travel

    How do I set up calendar events that will be for another time zone? My events shift once I travel. The same is true when I am traveling and in another time zone, how do I best set up my events so they are in the correct time slot upon my return?

  • Phone adapter

    I would like to get an adapter for voip service. However the router is downstairs and nowhere near the computer. Currently the computer connects to the internet through a usb adapter. Would I have to get a WAP, switch, and an adapter, or is their an