Force the Summary Sub totals on same page as the Repeating Group

Hello folks,
I have a Group by Left Report where I am showing Patients and the Visits that they have taken for each Department.
I am then doing a Sub Total of the number of Visits the Patient has taken. I would like to make sure that the sub total shows
up on the same page as the data in the Repeating Group. I tried using an Anchor but the Report does not like it.
It gives an Error: REP 1213 - Field references column at a frequency below its group when I anchor from Repeating frame to the sub total footer
and REP 1814 Report cannot be formatted. Object 'Horizontally' can never fit within 'M_1' when I try to anchor the other way.
My goal is to show the Sub Totals (Total) on the same page as the Patient and not go to the next page. I have enclosed the single dashed line and the Total (Label and field) in a Frame.
Output of Report:
Patient ID     Patient Name              Department              Visit
======================================================================
1001           Mary Poppins              Department 001              3
                                         Department 002              4
                                         Department 003              1
                                         Total                       8
1002           Peter Pan                 Department 001              2
                                         Department 002              1
                                         Department 003              2
                                         Total                       5
                                         -----------------------------Thanks in advance!

Pls set the property(page protect of the frame containing both sub total and patient details) to yes.

Similar Messages

  • Keeping heading and detail on the same page

    Hi, I have a report with a group header section and a detail section.  How can I keep the heading section and all the detail section on the same page without starting each group on a new page?
    The detail section will have either 2 or 3 records with some of the objects set to grow if the data doesn't fit on one line.  This results in several changes of group appearing on the same page which is what I want.  However, what I don't want is the header section on one page with the detail section on the next, or the header and some of the detail records on one page with the rest of the detail records on the next.  What I would like is the report to start a new page if the header and all the detail records don't fit on the same page but without starting a new page for every group change.  How can I achieve this?

    you can put the group header and details into a sub report on the old group header section.
    then hide the details section

  • Sales AR Item Type Invoice Print Layout Design "Sub Total" per Page

    Dear Forum Team
    We need some advice on how to modify, fomulate(?) [Sub Total] for each page's 'amount' on the Sales AR Item Type Invoice.
    Currently the 'sub total amount' on each page is showing Grand Total instead of sub total.
    Thanks

    Hi,
    In you PLD, In repetitive area, you might have linked the fields like Item name, Item Description, and so on. In these fields one of the field will be Total for line items.  Am i right?
    If it is so, then in repetitive area footer, Create one Formula field and give formula PageSum("Field_025") (in your case)
    Ie., Field_201 = PageSum("Field_025")
    Field_025 - contains the Line Total of Row items.
    I hope this could help you.
    Raja.S

  • Problem with printing the sub totals

    Hi,
    I am having a problem with smart forms in printing the line items of invoice.
    I need to print the sub total of each page and need to display the sub total in the footer, with the caption 'Balance C f/w'. It works fine in some cases.
    In some cases, the sub total is getting printed wrongly, because its adding the amount of the next page's first line item also. I checked the form page by printing SFSY-PAGE along with the line item's text. It's observed that, the vlaue of SFSY-PAGE for the first line item's  displayed in the second page is '1'. Due to this, the amount for this line item also is getting calculated with the sub total of the previous page.
    Could you please suggest a solution for this problem?
    Thanks & Regards,
    John

    Hi,
    In smartforms, in the general attributes of the FIRST page the Mode for the page counter should be 'Initialize counter' and for the NEXT page it should be 'Increase counter'.
    Please check this in your smartform.
    Regards,
    Ram

  • Unable to remove the redundant group header from the bottom of page

    Hi,
    In one of my projects in I am facing a problem.
    I need to display the details of all available products of the company. While displaying the details, I need to group the products based on some criteria (like type of product, release date) and the grouping is upto 4 level grouping. Grouping criteria can se said as, I need to firstly group all the products based on the type, then on the Release Date and then on two of the client specific values on the Product.
    Along with this, the view of product details is a thumbnail view (Image on top with all details below that line after line) due to which I need to display multiple (5) products in one row.
    The problem which I am facing is:
    The most important criterion for the customer is that there should not be any wastage of space.
    Secondly, they also donu2019t want to see partial data like only the header data in one page and the Product related Data (Image and Info) on the next page.
    In my case, when first page has insufficient space for the next grouped products, it simply displays the group header on the first page. On the second page, it again displays the group header along with the data.
    For reference, images are available at:
    Image1: http://farm4.static.flickr.com/3454/3224626688_aa3cfb8236_m.jpg
    Image2: http://farm4.static.flickr.com/3373/3224626782_0501cf566f_m.jpg
    My requirement is to remove the redundant group header from the first page as it does not make sense without having any data below it.
    I have tried the following options:
    1. I tried to apply setting "Keep Group Together" on the group and "Repeat Group Header On Each Page". But when I apply this, when my second group has more than 5 products (two rows of data) and space on first page can accommodate only 1 row of data, it moves the data on to the second page instead of keeping the 1st row on first page and 2nd on second page. This solution is not acceptable to the customer as it wastes space.
    2. If I remove setting "Keep Group Together" on all the groups, but keep the "Repeat Group Header On Each Page" and remove the "Keep Object Together" in the details section, I can save space. But this is not acceptable to the user as it leaves dangling headers (Orphaned Header Information).
    Need some pointers to overcome this issue as it is very critical for me.
    Thanks in advance,
    Vibhav Agrawal

    Thanks Raghavendra for your reply.
    These solutions provided on the link are not useful for me because of the peculiar layout of my report.
    In my report I am supposed to show details of multiple items (upto 5/6) in a single row.
    All solutions suggest about adding additional header (below group header) and use the formula to use that header to put the data for initial first object and details section for the subsequent objects.
    But, since i need to display multiple items in same row...and data cannot be set as 'format with multiple columns' in the header, hence this solution does not work for me
    Thanks,
    Vibhav Agrawal

  • Repeating group won't consume all space on continuation pages

    I am using Oracle Reports 6i. I have a report that I want everything to print on the first page. Then I want the repeating group in the middle of the first page (~5 lines) to finish printing on all subsequent pages. Right now the repeating group finishes printing on continuation pages, but it won't use the top half of the page (above where the repeating group header appears on the first page). It will use the bottom half of the page. Any ideas on how to make it use the entire page on the continuation pages?

    I added a frame around the fields that were causing the extra white space and set vertical elasticity to variable.
    that took care of the extra white space on the subsequent pages but the fields in the frame now overlap with the fields below it.

  • Interactive report with detail sub-report on the same page

    Hi all,
    I'm fairly new to APEX, sorry if my question is too obvious. I'm using Apex 4.0.2 on top of Oracle 11.2.
    I have an interactive report listing the content of a table. Since there are many columns in that table I would the report to show only a few identifying columns and the complete record currently selected being displayed using another report in a separate region on the same page.
    The "Link Column" on the interactive report does almost that except that it jumps on another page; I would like to simply have a sub-report updated with the selected data instead of a new page displayed. Does anyone know how to do that?
    Thanks for your help,
    Chris

    Chris,
    this sounds like what I normally do in my referential data.
    I use the wizard to create "form with report"
    I make sure that both regions (the form and the report) will be set on the same page number
    then I check/change the order of the regions (report first, form second)
    then I set the form to display in column 2
    regards,
    Richard
    P.S. the report only shows enough columns to recognize the records. the form shows all records

  • Why can't Primary and Sub accounts be accessed on the same page?

    I have a Primary email account and also a sub account.  I normally use Windows Mail to access my email.  In Windows Mail, I can read emails sent to either account, and can also send from either account.
    The only time I go to the Webmail page is when I am traveling and can't access my home computer.  In Verizon Webmail, I can only check the account I log in with.  It's very annoying and time consuming to log in, check one account, sign out, and then log in to check the other account.  By the way I use the same password for both accounts.  Is there anyway that this can be changed?  It should at least give us the option to add a sub account on the same page as the primary account. 

    If you are wanting the messages to come to the same account, an alias would serve you better than a sub account.
    If you really want all of the mail to be in one inbox, set your sub account up in the primary account to be accessed via pop3, or set forwarding on the sub to the primary. That would cause all of your mail to be accessible via the priamry login, but you would still have to log in with the sub to send from that address.
    If you need help finding these settings, please let me know.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Forcing the opendoc call to open in the same page when using web elements

    Hi,
    I'm using the WE Submit web element to send an opendoc call to BOE, I'm calling the same report and re-running with new search criteria.
    Is there a way to force the report to open in the same viewer as opposed to opening a new window?
    Thanks in advance,
    Angela.

    hello Angela,
    i assume that you're using a WETargetPath function along with the submit. normally the submit function should then open the report in the same window.
    for example, if your report has an ID of 12134, then the following code should open the same report in the same window
    stringvar path:= WETargetPath ("rpt", "ID", "12134", "");
    WESubmit ("S1", "Button", "GO", path, '')
    you can also use the last parameter in the WETargetPath to specify a location...using "Same" will force opening in the same window, while "New" will force a new window.
    stringvar path:= WETargetPath ("rpt", "ID", "12134", "weWindow=Same");
    WESubmit ("S1", "Button", "GO", path, '')
    If you've downloaded the latest version of webelements from [here|http://www.sdn.sap.com/irj/boc/webelements] there's a "submit methods" report in the download that you can publish and have a look at the various options.
    cheers,
    jamie

  • Short dump when I do total or sub total in the ALV report

    Hi,
    When I do total or sub-total on the currency field in the ALV report, it'll give a short dump like
    " The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X)".
       Short text of error message:
       Technical information about the message:
       Message classe...... "0K"
       Number.............. 000
       Variable 1.......... " "
       Variable 2.......... " "
       Variable 3.......... " "
       Variable 4.......... " "
       Variable 3.......... " "
       Variable 4.......... " "
    Trigger Location of Runtime Error
        Program                                 SAPLSLVC
        Include                                 LSLVCF36
        Row                                     2,726
        Module type                             (FORM)
        Module Name                             FILL_DATA_TABLE
    sometime when I do the page down on the ALV report, the same short dump is coming.
    Can anyone help me out.
    Thanks
    Selva

    Hi,
    I'm getting this short dump in the standard program.
    I'm getting ALV report display perfectly. the problem is, when I do total or subtotal on the currency fields.
    2704
    2705 ************************************
    2706 * Column per Fieldcat Entry
    2707 ************************************
    2708         ls_lvc_data-value = space.
    2709         clear ls_lvc_data-style.
    2710         loop at it_fcat_local assigning <ls_fcat>
    2711                 where tech ne 'X' and no_out ne 'X'.
    2712           if l_invisible eq 'X'.
    2713             clear l_invisible.
    2714             if <ls_fcat>-do_sum is initial.
    2715               continue.
    2716             else.
    2717               clear ls_lvc_data-col_pos.
    2718             endif.
    2719           endif.
    2720
    2721           add 1 to ls_lvc_data-col_pos.
    2722
    2723           assign component <ls_fcat>-fieldname
    2724                            of structure <ls_data> to <l_field_value>.
    2725           if sy-subrc ne 0.
    >>>>>             message x000(0k).
    2727           endif.
    2728
    in this standard program, I'm getting the dump. the line is mentioned above in the code.

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012
    Hi guys,
    I am developing a report that includes a subreport.
    therefore The report is made up by 2 sections:
    1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific item)
    2) The user click on a Row/column (eg: Item1, to see details that must be shown as graph.
    Here the problem: Searching info about SSRS reporting for subreports, drilldown, nested report and so on, no ones accomplish the requirements for the following reasons:
    1) Subreports: NOT open in the same page. The user must <go back> to see detail for other items, such as Item 2....
    2) Nested and DrillDown: Process data as the Main report (they are hidden and displayed after user action). In my case this leads to performance problem, because: if the main report has 200 objects (it means 200 graphs processed and hidden at the same time
    for the main reports).
    3) DrillThrough and Subreport: The detail data are processed only when the user select the interested item in the main report. Here the problem: the report is shown externally.
    Please, it there any possibility to have a subreport (or anything else) to be executed in the same report as the main report and processed only when the user make action?
    Thanks for your help.

    Hi Fasttrack2,
    According to your description, there is a main report with more than 100 rows of summary information, when users click the item of the row, the report need to jump to detail information shows as graph. The problem you are facing is that you are not sure
    subreport, drilldown or drillthrough report should be used? You hope to set display detail information in the main report and keep high performance of report.
    In Reporting Services, each subreport instance is a separate query execution and a separate report processing task. Subreports are recommended when there are just a few subreport instances. We should not use subreports inside a group when there are many
    group instances, instead, consider using drillthrough reports. Drilldown reports process all data even when the data is first hidden. In order to improve the performance of the report, we can split drilldown reports into parameterized drillthrough reports,
    because Drillthrough reports do not run until a user clicks the drillthrough link in the main report.
    In this case, we can consider using drilldown or drillthrough report. In drilldown report, when we click a plus or minus button to expand or collapse a section of a report, the detail data will be displayed in place. By using drillthrough report, when we
    click the link in the main report, the detail data will be displayed, we can come back to the main report by click return button in the drillthrough report.
    Reference:
    Troubleshooting Reports: Report Performance
    Drillthrough, Drilldown, Subreports, and Nested Data Regions
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • How to get Report Builder to print a section on the same page

    I have a section of my report that is three bands. A header
    band, the detail band, and a total line band. Sometimes this
    section will get split up and print part on the next page. So
    basically I need for this section to print on the same page. I know
    that I could insert a page break right above the header, but this
    will make my report way longer than it needs to be. I have also
    unchecked "split allowed" for that band also but that didn't make a
    difference. Is there some way to group three bands together so that
    if it is two big to print the section on the current page then
    print the whole section on the next page. It is driving our
    accounting lady nuts because when she likes to verify that the
    totals are coming out right and sometimes she has to flip over to
    the next page to continue calculating.

    you need to create a multi-instrument in the environment next to your audio-instrument,then push a cable from there to your audio-instrument.in the arrange window your multi-instrument will appear in the window where you select the track-type next to the audio tracks, audio-busses etc. these midi tracks now trigger your vsti on the selected midi channel.you have to record your midi now on these tracks and not on the audio-instrument track,because there you only trigger its own channel. i hope i explained it well but i think you have understood what i ment.

  • How to create a field in an OAF page which sums two fields in the same page.

    Hi,
    In the HRMS appraisal page, I have two fields in different regions.
    1. One field shows the total score of the competencies.
    2. Another field shows the total scores of the objectives.
    The problem with the appraisal total score is it returns only the rating level id. (It does not take decimal values)
    Hence I want to add the above two fields which is displayed in the same page and show as a new field in the top of the page as the final appraisal score.
    [Something similar to what is mentioned in the metalink document 1315431.1 ]
    We are in 11.5.10.2.
    I am new to OAF and have no idea as to how to achieve the above step. Can anyone guide me in doing it?
    regards

    Hi,
    Went through the steps to do a VO substitution.
    But normally in all the examples given the page will belong to the application where we are modifying.
    Eg. in this case the "about this page" shows /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG
    This is coming under fnd top where all the appraisal VOs and other pages comes under PER_TOP.
    Should I bring all the files from FND_TOP of the server to my PC where jdev is installed.
    I have already taken all the files under $PER_TOP to my PC.
    regards

  • How to exclude last page from the total number of pages counter

    Hi,
    I am customizing the payables remittance RTF template, our requirement is to reset page number to 1 for each payment, i am able to achieve this using "@section"
    also we have a requirement to have a summary page at the end, i am able to get this using "start@last-page:body".
    issue is last page is also considered in the page counter of the last payment.
    i.e. suppose if i am generating remittance for 2 payments which are printing details in two pages and one page respectively, my output will have total 4 pages and it's showing
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 2
    Summary page-4 footer -> 2 of 2
    but i wanted to see
    Payment1 page-1 footer -> 1 of 2
    Payment1 page-2 footer -> 2 of 3
    Payment2 page-3 footer -> 1 of 1
    Summary page-4 footer -> 1 of 1
    Any idea how to remove the summary page from the page counter.
    Rgds,
    -Kamal

    I'm not sure how it was in Acrobat 9, but in XI you add a Header/Footer and
    one of the options it "Page Number and Date Format", where you can select
    the format of the page number to add, some of them contain the total number
    of pages (such as "1 of n").

  • Adding more than one custom binding to the same page

    Hi guys,
    JHeadstart 11.1.1.3.35
    How can I add two custom bindings to the same page ? I have 2 graphs on the same page (in tabbed regions).
    My FORM_GRAPH template for the first one is
    #macro (CUSTOM_BINDING1)
        <graph IterBinding="ActiveVisitsIterator" id="SubjectsActiveVisitsGraph" xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_STACK">
          <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Active"/>
                <item value="Inactive"/>
              </data>
            </series>
            <groups>
              <item value="VisitNo"/>
            </groups>
          </graphDataMap>
        </graph>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING1()")}
    <dvt:barGraph id="barGraph1" value="#{bindings.SubjectsActiveVisitsGraph.graphModel}" subType="BAR_VERT_STACK"
                                        threeDEffect="true" animationOnDisplay="AUTO" seriesRolloverBehavior="RB_HIGHLIGHT">
                            <dvt:background>
                              <dvt:specialEffects/>
                            </dvt:background>
                            <dvt:graphPlotArea/>
                            <dvt:seriesSet>
                              <dvt:series/>
                            </dvt:seriesSet>
                            <dvt:o1Axis/>
                            <dvt:y1Axis/>
                            <dvt:legendArea automaticPlacement="AP_NEVER"/>
                            <dvt:graphTitle text="Subject Status"/>
                            <dvt:o1Title text="Visit"/>
                            <dvt:y1Title text="Number of Subjects"/>
                          </dvt:barGraph>and for my second
    #macro (CUSTOM_BINDING2)
        <graph IterBinding="SiteActiveVistsIterator" id="SitesActiveVistsGraph" xmlns="http://xmlns.oracle.com/adfm/dvt" type="BAR_VERT_STACK">
          <graphDataMap leafOnly="true">
            <series>
              <data>
                <item value="Active"/>
                <item value="Inactive"/>
              </data>
            </series>
            <groups>
              <item value="VisitNo"/>
            </groups>
          </graphDataMap>
        </graph>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING2()")}
    <dvt:barGraph id="barGraph2" value="#{bindings.SitesActiveVistsGraph.graphModel}" subType="BAR_VERT_STACK"
                                                        threeDEffect="true" animationOnDisplay="AUTO" seriesRolloverBehavior="RB_HIGHLIGHT">
                                            <dvt:background>
                                              <dvt:specialEffects/>
                                            </dvt:background>
                                            <dvt:graphPlotArea/>
                                            <dvt:seriesSet>
                                              <dvt:series/>
                                            </dvt:seriesSet>
                                            <dvt:o1Axis/>
                                            <dvt:y1Axis/>
                                            <dvt:legendArea automaticPlacement="AP_NEVER"/>
                                            <dvt:graphTitle text="Site Summary"/>
                                            <dvt:o1Title text="Visit"/>
                                            <dvt:y1Title text="Number of Subjects"/>
                                          </dvt:barGraph>but only the first binding is being added to the page def ? I tried putting both graph bindings in the first custom binding but on generation I get an error "Error while parsing XML for page definition element JhsUsers: Expected 'EOF'." (although the code in the binding macro is exactly the same as in the pagedef when added manually ?
    How can I add both of these graph bindings ?
    Cheers,
    Brent

    Brent,
    In the statement
    ${JHS.pageDefGenerator.addBinding($JHS.page,"JhsUsers","#CUSTOM_BINDING2()")}
    the second argument should be the id of the binding you want to add. You use twice "JhsUsers" as id for the binding.
    This id should be the same id as used in your XML page snippet, so for the first binding it should be "SubjectsActiveVisitsGraph" and for the second binding it should be "SitesActiveVistsGraph"
    Steven Davelaar,
    Jheadstart Team.

Maybe you are looking for