Page break for a group and sub group based on page length

Hi
I have a requirement where in I need to develop a report which has the following requirement. I am attaching the sample xml and rtf files for reference:
1) There are 3 groups in the Data Model. G1, G2 and G3. G1 contains G2 and G2 contains G3. I need to display that data in that order in the rtf template. Pretty straight forward.
2) The tricky part, however, is that the report needs to have a page break on the following conditions:
    a) When the value of col1 changes which is in G1
    b) On col3 (in G2), but only when there is not enough space on the page to accommodate the values present in G3, ie col5 and col6 alongwith the values in G2. This means when the value of col3, which is present in G2, changes and if there is not enough space to accommodate G2 and G3 on the same page, it should break and start on a new page. The table which should come together is marked in grey color in the RTF template.
What I have done till now to achieve this?
I have created a parent table with two rows. In the second row I have made sure that the row doesn't break across pages. This is true for all the subsequent tables in the report. Now, in that second row, I have col1 in a nested table within a repeating group G1. Inside G1 there is a nested table for G2 and within G2 I have another table for the group G3. The row is not breaking across pages for all the tables that have been created.
I have tried all the permutations and combinations of nested tables, keeping G1, G2 and G3 in the same table but different rows, having G1 in one table and nesting G2 and G3 in another, keeping G2 and G3 in a separate table altogether, Keeping G1, G2 and G3 all of them in the separate table. All of them are apparently not working.
Is there anyway where we can either get hold of the current position of the cursor and the total number of rows on that page? Or any other solution that is possible? Or if I can have to make changes in the data model?
Thanks a lot in advance
Sid

Hello Sid,
I have checked your report and XML Sample and you haven't linked the fields from XML Sample to your .rtf report.
You can use <?for-each?> syntax for your groups to print the content.
I recommend you to review our "Creating RTF templates" manual:
http://docs.oracle.com/cd/E28280_01/bi.1111/e22254/create_rtf_tmpl.htm#BIPRD2354
Regards,
Liviu

Similar Messages

  • Creation of new employee groups and sub groups

    Hi All,
    What all the steps should I follow to create new employee groups and sub groups? and  How many structures should I create for this?
    Its urgent pls.......
    Good replies will be rewarded!!!!
    Regards,
    Sita

    Hi
    You can create the employee groups depending up on your clients requirement, Eg: Permanent, Temporary, Seasonal, Trainee, Advisor etc
    And define the employee subgroups and assign them to the employee groups Like
    Enterprise structure>Definition>Human Resource Management-->Employee Groups & Employee Groups
    Enterprise structure>Assignment>Human Resource Management-->Assign employee subgroup to employee group
    you can create employee subgroups depending up on your requirement like asst manager, manager, GM, MD, VP ETC an assign them to the employee subgroups ok.
    Ensure that certain empployee subgroups may not be assigned to employee group based on requiremen, but create all the employee sub groups which is existing in the organization.
    Regards

  • Change employee group and sub group

    Hi all,
    During the new hire if an employees group and subgroup are enetered wrongly, how shouldl they be corrected. We have scenarios when the emplooyes group and sub group are corrected after a month or so and the users want to correct the same
    How do we do it?

    Goto PA40 reselect the same Hire action for this employee and click execute. In IT0000 screen enter the new EG/ESG.
    and save it. Then Save the IT0001, then fill rest of the infotypes.
    If you have already process the payroll and the new Emp group / Sub group is in different payroll area you wont be able to change it.

  • Singapore - Employee Group and Sub groups

    Hi Gurus
    While making employee groups and sub group for SG what factors should one keeep in mind??

    Hi,
    When we are assigning the employee groups to sub groups select 25 singapore country allowed in the table V_T503Z.
    that factor we need to remember.
    Good luck
    Devi

  • Defining / Assigning Employee Groups and Sub Groups.

    I have defined a Personnel Area for e.g Barron Hotels - London  BH01 and Barron Hotels - Manchester - BH02.  I have also defined  there respective Personnel Subareas.
    What exact steps much I take to define the Employee Group and Employee Sub Groups and how do I link (Assign) them to corresponding  the Personnel Area  and Personnel subareas  defined above.
    Can some one please show me the exact steps. I have heard SM30  and V_503_ALL  mentioned but how  exactly are these used.
    Many thanks.

    Hi Tomuri,
    There is no link between EG-ESGs and Personnel Area -Subareas..  All these form an Enterprise Structure for an organisation and it can be seen against an employee in IT0001 - Org Assignment.
    Well, you have created PA as well as PSAs.  Now what you do is, similarly create EG- ESGs.. say for example..
    Emplyee Groups as A- Associate, B- Managers... etc...
    Employee Subgropus as A1, A2,..  B1, B2.. etc...
    Path: IMG-> Enterprise structure->Definition->Human Resources Management-> Employee Groups and
    -> Employee Subgroups
    When you create Personnel Areas.. you need to assign them to a Company Code...
    Path: IMG-> Enterprise structure->Assignment->Human Resources Management-> Assign Personnel Area to Company Code
    Similarly, when you create Employee Subgroups, you assign it to Employee Groups (EGs)
    Path: IMG-> Enterprise structure->Assignment->Human Resources Management
    -> Assign employee subgroup to employee group
    Next is the table you mentioned in your query... V_503_ALL... this clubs the groupings for -> ES grouping for collective agreement provision, Employee subgroup grouping for primary wage types, time quota types, work schedule etc,,, these are according to company requirements..
    For any further queires, do reply...
    I hope the information proveded helps you...
    Award points if the query was resolved...
    Good luck..
    Regards,
    Shweta

  • Page break for a category group of a chart - SSRS 2008 R2

    Hi,
    I need to add a page break for one of two category groups of a my chart. Is it possible, please?
    I need to create a chart for this category group to mantain readable the report.
    Thanks

    Hi There
    You can create two graphs and put them inside two separate rectangles and add page break
     after first rectangle and add a filter to your chart for first category group for first chart and second category group for second chart.
    This is best you can do
    If you have any question please let me know.
    Many Thanks
    Syed Qazafi Anjum
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.

  • Page Breaks for Grouping

    Hi,
    I have created a sql report and used page breaks for displaying department wise employee info with salary sum at the end of column. Everything is going well showing employees in departments and sum salary except one problem which is on some pages at the end where space left it shows heading for next department and on next page under next department's heading it starts with previous department's last column ie sum of salary and then shows next department's data.
    Database 11G
    APex Version 3.0.1
    Thanks
    Sajjad
    Edited by: Sajjad on Feb 24, 2012 1:47 AM

    Sajjad wrote:
    Hi,
    I have created a sql report and used page breaks for displaying department wise employee info with salary sum at the end of column. Everything is going well showing employees in departments and sum salary except one problem which is on some pages at the end where space left it shows heading for next department and on next page under next department's heading it starts with previous department's last column ie sum of salary and then shows next department's data.
    Database 11G
    APex Version 3.0.1Suggest you try reproducing this on apex.oracle.com so we can see the exact nature of the problem.

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • Collapse group and next group stays on next page

    I have a group that is by customer and I have it defaulted to show expanded view when report is first opened. The expanded view showing all the details spans all the way to the end of page 1 so that the second customer shows up at the beginning
    of page 2.  When I click to collapse customer 1 so it is now only 1 row, I want to see customer 2 right below it, not have to move to page 2 to see the next customer.  Is there a way I can get this to work?  I guess I'm looking for it to repaginate
    somehow on collapse or something along those lines.

    Hi jms1070,
    According to your description, you want to apply page break when expand rows in a group. Right?
    In Reporting Services, we can't put any expression to apply logic in page break property. Also the collapse/expand can't be used as field in expression. In this scenario, it's only possible for the first group spanning page 1 when the page size is same
    as the heights of the details rows within first group. If you set the page break between each group instance, the group 2 is always on page 2. So it's impossible to repaginate based on collapse/expand. Your requirement can't be achieved currently.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Excise modvat accounts not defined for DLFC transaction and excise group

    Dear Experts,
    Iam raising this question after checking all the contents related to Sub Transaction type in SDN.
    My prob is: for raw material sales scenario i have created order delivery and invoice. For Invoice i have done account determination with a different G/L in VKOA. Now i have to create an excise invoice and the accounting entry for central ED on sales should go to different G/L account. for account determination i have done the following settings:
    Maintained Sub transaction type in
    IMG -> Logistics - General -> Tax on Goods movement -> India -> Basic Settings
    ->Maintain Sub Transaction types
    IMG -> Logistics - General -> Tax on Goods movement -> India ->
    Account determination -> Specify Excise Accounts per Excise Transaction.
    Here against DLFC sub transaction Type is maintained..
    Also
    IMG -> Logistics - General -> Tax on Goods movement -> India -> Account determination -> Specify G/L Accounts per Excise Transaction
    Here maintained Excise group with DLFC Company Code subtransaction type, chart of accounts and all required GL Account .
    But when the iam creating Excise Invoice in J1IIN and clicking on Subtransaction type-F4, no entries are shown. No values found is the message in green. Message no. DH801
    If i use subtransaction type and enter billing document and enter, the following error message comes:
    "Excise modvat accounts not defined for DLFC transaction and excise group"
    Iam unable to understand why the subtransaction type maintained is not showing in TCODE J1IIN?
    Regards

    For the error message DH801, please check note 840911
    Excise modvat accounts not defined for
           DLFC transaction and excise group"
    Please check  your G/L assignments "Specify G/L Accounts per Excise Transaction"
    thanks
    G. Lakshmipathi

  • Employee Group , Employee Sub Group and Pay Scale Group

    Hi Experts,
    In which table or feature we are grouping
    Employee Group , Employee Sub Group and Pay Scale Group
    Thanks in Advacne.
    Regards,
    IFF

    Hi
    All groupings are based on the SAP HR sub modules like for Time fro Personal work schedule we group in table  V_001P_N
    So for each sub module we have different table.
    Please specify your exact requirement.
    Thanks
    Sheetal

  • How does schedule with RESTful API a Webi report for a group of users ("Schedule For" to "Schedule for specified users and user groups" with one or more users/groups)?

    SAB BO 4.1 SP1
    Does it have an RESTful API to schedule a Webi report with the parameter to specify a group of users ("Schedule For" to "Schedule for specified users and user groups" with one or more users/groups)?

    Hello Ricardo,
    have you try a call like this one ?
        <schedule>
          <name>"test"</name>"
          <format type=\"webi\"/>
          <destination>
            <inbox>
             <to>userId1,userId2,userId3,groupId1,groupId12</to>
            </inbox>
          </destination>
        </schedule>
    Regards
    Stephane

  • Excise modvat accounts not defined for CEIV transaction and excise group`

    Dear All,
    During outgoing excise cancellation i am getting the massage
    `Excise modvat accounts not defined for CEIV transaction and excise group`
    I have checked the following,
    GL is assigned in excise account determination.
    the transection type CEIV is assigned to account  field cenvat sup.
    Please put some light on this issue.
    Thanks in advance.
    deepti

    Dear Deepti
    Follow the IMG Path.
    Logistics-General --> Tax on Goods Movements --> India --> Account Determination --> Specify Excise Accounts per Excise Transaction.
    Here you have to define respective G/L accounts for "Excise Transaction Type CEIV".   Check with your FI Guy if you have any clarification.
    Thanks
    G. Lakshmipathi

  • PGI for both main and sub items (Sales BOM)

    Hello SD friends,
    I'm trying to map some BOM scenario.
    Only main item should be relevant for princing.
    Here's what I've done :
    1. Create sales BOM via CS01
    2. Maintain item category group ERLA for main item and NORM for sub item MM01
    3. Maintain item category TAQ for main item and TAE for sub item VOV4
    When I wanna do PGI, system creates material document only for main item.
    Which means that PGI has not been done for sub items.
    Is there any way to make PGI possible for both main and sub items ??
    Regards,
    Bahia.

    Can you clear, that why you want to issue both Main item/Sub Item, where your pricing is @ main item level.
    in Main item level Pricing, Main item itself includes components. Once you issue the main item. from Inventory this main item wil be reduced.
    Eg:  In Case of Main Item- Computer (Assume Components - Monitor , Keyboard , CPU & Mouse)
    Price for Computer - $1200.   Component prices individually- $300 , $100, $700, $100 - These prices applicable only when you sell as BOM at Subitem level Pricing Or Seperately )-
    In SO: - Order Computer (System explodes Components to verify,which are the subitems consists in Main Item)
      DEL:-  Components will be copied in Delivery , but not for dispatch (Sch Line Cat:CT has these controls)
    Inv: Only Main item will be displayed for print.
    NOTE:  for your requirement, you can change the Schline Category from CT - CN- which is relevant for delivery with movement type i601 -in SO. Then you can dispatch components & these components will not copied into Invoice ,as they are not relevant for billing.
    If you want CN has to determined automatically, maintain Schline Category determination accordingly.
    Hope it helps,
    Any info, please revert

  • Primary Group and Additional Group in Solaris 10

    hi!
    We've just freshly installed a Solaris 10 system. I'm very new in Solaris. There's something i noticed, and i'm not sure whether is that normal.
    In the user screen in solaris management console, i notice that i'm not able to see the Primary group and additonal group list. What i can see is only the Primary group in ID format. I'm able to see it only the first time when i launch the Solaris management console or switch from one workplace to another. After right clicking on the user properties for the second time, it disappear and show only the primary group id in integer. On the left hand side of the screen, it says "The group cannot be listed. You can change the primary group 10 to another valid integer. Because of error or oversight, group membership cannot be found. You can enter a number for the primary group, but cannot choose from a list of groupnames. Also you cannot choose Seconday Group until the group info is available". "Check group files, NIS maps, or load for possible corruption. If you have not already populated appropiate files or maps, See administrator guide, Naming and Directory Services(DNS, NIS, LDAP) or docs.sun.com for LDAP see also Solaris Management console help, about the toolbox editor to manage LDAP"
    Is that normal? What could be wrong here? Please advise. Thanks.

    hi! Anyone can provide advise on the issue i encountered?

Maybe you are looking for

  • Acrobat 9 PRO - Forms Tracker Question

    1. When distributing a form via acrobat.com to multiple targets, can I keep email addresses confidential from individual members on the distribution list? 2. When distributing a form to multiple email addresses simultaneously, is it possible to creat

  • Create a Pattern in Photoshop CS5

    Hi I can't create a Pattern of a selection area. When I try to create the Pattern at Edit->Define Pattern, this option isn't available. I will tell you the steps I'm taking: ->Create a new doc and use Paint Bucket Tool to paint it with Black (this is

  • Accessing iTunes Store keeps causing my iTunes to shut down on PC

    I have just installed an upgrade on my PC to Windows 8.1. While iTunes seems to be working, when I click on the Store menu it causes iTunes to shut down. I can access iTunes on my devices. Is anyone else having this problem? I've also tried reinstall

  • ILearning 6.0 in windows.

    How can I install iLearning 6.0 in windows 7 64 bit? Is that possible? Because only windows 32 bit is available with in the edelivery.oracle.com download section.

  • Problem with app x86 - x64

    Hi, Develop an app, with DI api, in windows 7 32bits it works perfectly, but in windows server 2008 x64 not, no connect with SAP , since I must compile the app in order that it works?. SAP B1 8.8, SQL Server 2008, windows server 2008 x64 Thanks, Carl