Group Above - 1 Master & 2 Detail Queries

Hi Techies,
I have 2 queries(Q1 & Q2). Using Q1, I fetch the master records. Q2 fetches Detail records from a set of 3 tables. I created a group above report using wizard. It works fine.
Now I want to add 1 more query Q3 which is same as Q2 but the resulting records differ based on the type 'English' or 'Arabic'. I have hard coded the Type in the queries to fetch the respective records.
Master Query Key is datalinked to both the Detail queries Q2 and Q3 using PK. I have the display of records as DOWN in the wizard. The Arabic details are shrunk and displayed in a very small in font. Pls advise on how to go about this.
Thanks,
Sri

Hi,
You could implement Master/Detail regions just by mapping a
field in the master dataset to the detail dataset. In your case,
you can create two dataset as shown below.
var master = new Spry.Data.XMLDataSet("path to xml",
"xpath");
let's say you have an "id" element in your master dataset.
and detail dataset depends on it, then you can pass it to the
detail dataset in the url as a request paramter (or any other
technique).
var detail = new Spry.Data.XMLDataSet("path to
xml?id={master::id}", "xpath");
So, whenever the current row changed in the master dataset,
the detail dataset makes a call to the server with the selected id
and the detail region gets updated automatically.

Similar Messages

  • Group above master/detail report; page break causes repeat of master frame

    Hi
    I have a a group above master/detail report; when there is a page break part way through the master frame it causes the whole master frame to be repeated on the next page. I don't want this to happen, I just want the remainder of the master frame to be displayed on the next page. any ideas?
    TIA

    Hi
    I've tried switching the "Page Protect" to No at the page level and the "Print Object On" is set to "First Page" but it doesn't solve the problem. The whole master frame is repeated on the next page when a page break occurs part way through. The master/detail Repeating Frame "Print Object On" is set to "Last Page".
    Any other ideas?
    TIA

  • Master table, detail table, detail table not getting refreshed selection

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    will i have to use table selection listener
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5

    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

  • Master table detail table with SQL based read only VO with bind variables

    i have a page where i am displaying data as master table and detail table. both table VOs are based on SQL queries which use bind variables.
    i have a view link between vos of type 1:M
    i created master table detail table page by dropping detail iterator from data control panel under master and selecting master table detail table
    on my page i see detail table records getting populated only for first record of parent table.
    on changing parent record, child table shows same records and does not refresh
    i am using partial triggers on both tables to be populated on a button click as i need to pass some bind variables to VOs which are taken as input from users
    how can i show corresponding rows in detail table when parent record in table changes
    is it possible declaratively to have master detail table view when both VOs have bind variables
    jdev 11 1 1 5
    these are the SQLs used
    Parent SQL Based VO Query
    SELECT to_char(d.status_date,'yyyymmddhh24') TIME123, count(DISTINCT d.c4)
    FROM t1 d,
    t2 w
    WHERE w.c1 = nvl(:ou, w.c1)
    AND UPPER(w.c2) = UPPER(nvl(:tt, w.c2))
    AND d.c3 >= :startTime AND :startTime IS NOT NULL
    AND d.c3 <= :endTime AND :endTime IS NOT NULL
    AND d.c4 = w.c4
    AND UPPER(d.status) = 'CLOSED'
    GROUP BY to_char(status_date,'yyyymmddhh24') ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    Child SQL Based VO Query
    SELECT w.c1,
    w.c5 - w.c6 processing_time,
    w.c3,
    w.c6,
    w.c7,
    w.c8,
    to_char(d.status_date,'yyyymmddhh24') TIME123 FROM t1 d,
    t2 w
    WHERE w.c2 = nvl(:ou, w.c2)
    AND UPPER(w.c3) = UPPER(nvl(:tt, w.c3))
    AND d.c4 >= :startTime AND :startTime IS NOT NULL
    AND d.c4 <= :endTime AND :endTime IS NOT NULL
    AND d.c1 = w.c1
    AND UPPER(d.status) = 'CLOSED' ORDER BY to_char(status_date,'yyyymmddhh24') DESC
    view link is based on column TIME123

    Instead of doing the master-detail layout by dragging the details over, can you try a new page where you first drag the master VO over and then drag the detail VO over, and then set partialTrigger from the detail to point to the master?

  • Group Above Report ?

    Hi All,
    I am using reports 6i.
    I designed a master/detail report with style group above.
    Its working fine. But I need every master record has to start from a new page.
    But now First master record with its details ends at page no 8 and second master record starts at
    page no 8 itself.
    how to make the report output as new master record starts from a new page.
    Help will be appreciated.
    Regards
    Sankar MN

    Hello,
    You can use the "Repeating Frame" property : Maximum Records Per Page
    Set this property to 1 for the Master Repeating Frame
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_maximum_records_per_page.htm
    Regards

  • Generate text file from a group above report

    i have problem in generating report in developer 6 report builder my report is master -detail(group above report)
    when i generate text file or csv file then my report is not in group above,master records are repeated along with every detail record.
    is there any solution that i generate group above report in text or csv file
    instead of pdf,rtf,html
    please mail me
    [email protected]

    Can you try adding this in your URL delimited_hdr=NO
    I am not sure it works.
    Just give a try

  • How to create material group in material master.

    hi guru's
    can anybody explain me how to create a new material group in material master.
    i wantto add a material group while creating material master MM01..
    thanks
    sap-mm

    Hi,
    In this step you create material groups.
    You also have the option of using the same transaction to carry out the following activities:
    Creating superior hierarchy levels
    Assigning the superior hierarchy levels to a material group hierarchy
    Assigning the base material group to the material group hierarchy
    Assigning characteristics profiles below material group level
    Requirements
    Your R/3 System is configured as an SAP Retail System.
    Activities
    1. Create superior hierarchy levels
       You create hierarchy levels using transaction WG01 (creating
       material groups) via menu options MG environment --> Hierarchy
       level --> Create
    2. Assign the superior hierarchy levels to a material group hierarchy
       You assign hierarchy levels to a hierarchy using transaction WG01
       (creating material groups) via menu options MG environment -->
       Hierarchy level --> Maint. MG hierarchy
    3. Create material groups (base material groups) and then maintain the
       pre-defined materials (reference material/material group material)
    4. Assign the base material group to the material group hierarchy
       You assign the material group to the hierarchy using transaction
       WG01 (creating material groups)
    5. Assign characteristics profiles below material group level
       You assign characteristics profiles using transaction WG01
       (creating material groups)
    Further notes
    When creating material groups and then maintaining the pre-defined materials (reference material/material group material) you should be aware of the following.
    As these materials can be created automatically using a minimum of data, you should follow this procedure with a check and possibly further maintenance, especially of plant-specific data. The material group reference material should be defined in as much detail as possible so as to keep the workload to a minimum when you have to create more materials for this material group.
    All hierarchy allocations involving a material group (base material group) and a higher or lower hierarchy level can be carried out on the initial screen (there is no need to switch to the detail screen). All further hierarchy allocations can be defined top-down when you maintain material group hierarchies.
    Only the material groups are transported automatically!
    Reward if useful.
    Chandru

  • Break Column in Group Above Report - Causing Error in Data Groupings

    Since I'm required to designate at least one Break Column in my Group Above report, I created a dummy column in my SELECT statement. I did this so that I could designate the required minimum of at least one break column, but I designated one that won't have any impact on how the report is ordered, because it will be the same value (NULL) for every record. So, my SELECT statement starts out looking something like this:
    SELECT
    NULL break_column,
    column_1 column1_name,
    column_2 column2_name,
    column_3 column3_name,
    column_4 column4_name,
    column_5 column5_name
    I needed for the break column to have no impact on the ordering of the report because I need for the ORDER BY clause to completely control how the report is sorted, w/o any interference by a hard-coded break column. I need this because my intention is to make the ORDER BY clause dynamic, and a hard-coded break column with actual data would supercede the ORDER BY clause, thereby making it static.
    Everything is working correctly with regard to how the report is sorting the records designated as group columns; however, the detail columns are getting all messed up as far as what main record they're grouped under.
    By this I mean that when I designate only one break column, some details may display under the wrong group, where they're not supposed to. For example, each page consists of demographic info. about a specific record on a table, and the details listed under it should be the individual comments that have been made on that record. The issue I'm seeing is that for some records, it's showing comments from not only the record for that group, but it continues to list out comments made for other requests as well, when those comments should be displayed under their own respective records.
    Why is this happening when I designate only one break column, and how can I keep it from doing this?

    Did you get a solution for this?
    I have the same problem.
    Any help would be appreciated.
    Thanks,
    Madhu

  • How to design group above report manualy

    I want to design group above report manually. How can i define main repeating frame and then internal repeating frame like report builder.

    Hi,
    one possibel way is:
    //-- loop through all master values
    &lt;?for-each:DEPT_ROW?&gt;
    //-- store the master key in a variable
    &lt;?xdoxslt:set_variable($_XDOCTX,'v_DEPTNO',DEPTNO)?&gt;
    //-- Output of master data
    &lt;?DEPTNO?&gt;
    &lt;?DNAME?&gt;
    //-- Loop through second dataset looking vor all data suitable to the current master key
    &lt;?for-each://EMP_ROW[xdoxslt:get_variable($_XDOCTX, 'v_DEPTNO')=DEPTNO]?&gt;
    &lt;?ENAME?&gt;
    &lt;?JOB?&gt;
    &lt;?end for-each?&gt;
    &lt;?end for-each?&gt;
    Hope that helps
    Rainer

  • Group above report problem

    hi,
    To get clear idea i am using emp table as an example.
    I am creating a report using style GroupAbove and save it in .jsp file.
    I took empno as group .
    My report was displayed in this way:
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499
    ename job sal comm deptno
    allen sales 1600 30 30
    ramu manager 4000 0 20
    and so on...
    page2 :
    empno 7499
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ename job sal comm deptno
    ramu worker 300 0 40
    ..... so on
    But My result should be in this way :
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499(problem :Here i dont want to display heading of ename.... and so on)
    allen sales 1600 30 30
    ramu manager 4000 0 20
    page 2:(if next page starts then should start with heading of ename... and so on)
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ramu worker 300 0 40
    ..... so on
    If any one know this probelm help me soon
    it's very urgent
    with regard's
    vijay

    You may have been better to use deptno as the group column in your example, since I'm not sure that grouping on empno makes sense (and hence makes the example difficult to picture).
    That said, it seems that the problem is that you only want the details headings to be displayed once per page (for a group above report). This isn't going to be too easy, and will require some coding, but bear with me.
    The first thing to do is to create a PL/SQL package with a single boolean variable in it. This will be used a flag to determine whether the headers should be displayed.
    In the before report trigger, set this variable to TRUE.
    In the format trigger for the frame containing all the boilerplate labels, check to see if the variable is TRUE. If it is then set it to FALSE, and return TRUE.
    If it's not then return FALSE (to suppress the display).
    In the between pages trigger set the variable to TRUE.
    Hope this helps (and that I've understood the problem),
    Danny

  • Group above report - help please

    Good Morning,
    I'm trying to create a group above report that resembles the following:
    LETTER TYPE: 00001
    BATCH TOTAL NOREPLY
    1234 3 1
    2345 2 0
    TOTAL VOL. FOR LETTER 00001 5
    I've tried using:
    select ltrtype, batch, count(reply)
    from ltr
    where reply = 'N'
    group by ltrtype, batch
    which does give me the correct figures under the NOREPLY Heading, but I can't get the correct figures for the TOTAL heading (NOTE: The figures in the TOTAL column should be a total of both the reply = 'Y' and reply = 'N' for the ltrtype and batch - the figures in the NOREPLY column should be a total of only the reply = 'N' for the ltrtype and batch.) I hope this explanation is clear
    I've also tried eliminating the where clause, but then I get the correct figures under the TOTAL heading, but I can't get the correct figures for the NOREPLY heading.
    I've also tried using two queries and a data link, but I couldn't get that to work either.
    Any help would be greatly appreciated.
    Thanks.

    Go to report wizard and check the groups and fields tabs. Otherwise map the repeating frames accordingly.

  • Group left and group above

    I am trying to do a group left within or below a group above, like so.
    Name John Doe
    Incident Activity
    12345 Apply
    Accept
    Modify
    12346 Apply
    Accept
    Modify
    Name Bill Smith
    Incident Activity
    12347 Apply
    Accept
    Modify
    12348 Apply
    Accept
    Modify
    I can't figure out how to specify different types of grouping for different groups.
    Any suggestions?
    null

    Make a group above report for the first 2 groups. in the Data model extend the detail's repeating enclosing frame.
    Inside this frame draw an additional default layout (a button in the Layout Editor on the left toolbar) and inside this one insert your detail group.
    Or... you can create an above group without any break first, then separate a group in the Data Model and add a repeating frame around the detail columns. Specifi as source of this frame the name of the detail group from the Data Model.

  • Group above and left classic reports

    how can i group above and left in an existing classic reports? is there any document around here please share it to me.

    >
    Please update your forum profile with a real handle instead of "user13653962".
    how can i group above and left in an existing classic reports? What does "group above and left" mean? A demonstration layout on apex.oracle.com or here (using tags<tt>\...\</tt> tags to preserve formatting) would be helpful.
    The options for break formatting on classic reports are:
    <li>The basic built-in control break features.
    <li>Simple DIY break layout on any number of columns using analytics in the source query: +{message:id=10679160}+
    <li>Complex report layout with multi-level headings using analytics in the source query and a custom named column report template with conditional row templates: +{message:id=9816577}+
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.

  • How to Serial No Printing in Report - group Above Report

    In Scott Schema , report data query - select rownum, emp, ename, job, deptno from emp;
    Reprot type : group Above.
    If I am not using group above, serial no like 1,2,3 is printing correctly. But if i use group above, serial no are not printing on order. it is printing like 5,4,3, 8.. li
    How to print serially with group above.
    Thanks in advance for the help

    O.Developer wrote:
    In Scott Schema , report data query - select rownum, emp, ename, job, deptno from emp;
    Reprot type : group Above.
    If I am not using group above, serial no like 1,2,3 is printing correctly. But if i use group above, serial no are not printing on order. it is printing like 5,4,3, 8.. li
    How to print serially with group above.Avoid rownum and use summary column at detail block and set following property.
    Summary function :count
    summary column : ename
    reset at : <group name>Your serial problem solved.
    Hope this helps...
    Hamid

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

Maybe you are looking for

  • Master-Detail Problem SESSION & REQUEST

    I'd really appreciate some help with this: I got a very simple master detail application, with a data table in the master page that gets it's data from a spring-hibernate bean, pretty straightforward. My business requirement indicates that at first t

  • HT4906 how do you delete pictures in photo stream?

    how do you delete pictures in photo stream

  • Email Notifications from Project 2013 has Project Server 2010 in the subject

    When Project 2013 sends out task reminders it has "Task reminders - Microsoft Project Server 2010 notification service" in the subject line.  Anyone know how or where this can be changed from 2010 to 2013.  New On premise installation of Project 2013

  • Cant find my "settings icon"

    Hi, i cant seem to find my " settings" icon on my iphone 4. I'v checked all folders and its not in any. I can only find it when i use the "search".. Pls how do i get it back on the apps page?

  • User Exit in PD

    Hello All- Can you please let me know if there is a userexit that I can enhance when maintaining any Org. Management objects mainly when maintaining Infotype 1005. Thanks- Chakri.