Summary to Detail report

Main Report
======================================
Agent                                  10/27/10     11/12/10     11/22/10     12/16/10     Sum:
Agency ACH Correction                                                                             1          1
Agency Address Change                                              1     1
Agency Benefit                1                                         1
Agency Compliance                1                                         1
Agency New Contract                                    2               2
Sum:                                     2                               2     1     1     6
Detail Report
===================================================
WPS ID          Worklist          Account Number     Status     Team Code
8a888a44          Agency Compliance     316650011                          Complete     DFTINF
8a888a05          Agency Benefit     316649906                          Complete     CLMB
8a800013          Agency New Contract     483704070                          Complete     IMO
8a810032          Agency New Contract     483704070                          Complete     IMO
8a800001          Agency Address Change     000000000                          Complete     SYSTEM
8aa0000a          Agency ACH Corrections     999334444                          Complete     DSM
6                              
Will it be possible to achieve in xcelsius?For the Agent and Date in the "summary report"  above  it should display corrosponding number of Records in detail report in a spreadsheet component..
Can you tell me the steps..

User,
What is your name?
You could move the parameter/item to the detail page. Perhaps change it from a hidden item (if it is) to a visible item that users could select from. Then all you're doing when you come from the summary to the detail is setting that item's value.
Note that if the item changes pages you'll want to change the name of the item and therefore any references to it. To make sure you don't miss anything you'll want to run the app though Patrick's APEX Essentials: http://www.inside-oracle-apex.com/apex-essentials/ (this will be integrated in APEX 4)
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/apex/

Similar Messages

  • Hoe top create summary and detail report using ABAP QUERY

    Hi ,
    Can any one suggest me how to create summary and detailed report using ABAP Quey.
    Regards,
    Raghu.

    Hi,
    Table Declaration
    tables:mara,mast.
    *Declaring the internal table
    data: begin of itab_new occurs 0,
          matnr like mara-matnr,     "Material No
          ernam like mara-ernam,     "Material Created by
          mtart like mara-mtart,     "Material Type
          matkl like mara-matkl,     "Material Desc
          werks like mast-werks,     "Plant
          aenam like mast-aenam,     "BOM created
          stlal like mast-stlal,     "Alternative BOM
          end of itab_new.
    select-options: p_matnr for mara-matnr.
    CODE A : Retrieving the data from the database
         select  f~matnr f~ernam f~mtart f~matkl m~werks m~aenam m~stlal
         into table itab_new
         from mara as f inner join mast as m
         on f~matnr = m~matnr
         where f~matnr in p_matnr.
    CODE B : Retrieving the data from the database.
        SELECT FMATNR FERNAM FMTART FMATKL MWERKS MAENAM M~STLAL
        INTO TABLE ITAB_NEW
        FROM MARA AS F INNER JOIN MAST AS M
        ON FMATNR = MMATNR
        WHERE F~MATNR = P_MATNR.
        SORT ITAB_NEW BY ERNAM.
    loop at itab_new.
    write:/5  itab_new-matnr,itab_new-ernam,itab_new-mtart,itab_new-matkl,itab_new-werks,itab_new-aenam,itab_new-stlal.
    endloop.
    *TABLES: MARA , MAST.
    *DATA:BEGIN OF ITAB_NEW OCCURS 0,
                 MATNR LIKE MARA-MATNR,
                 ERNAM LIKE MARA-ERNAM,
                 MTART LIKE MARA-MTART,
                 MATKL LIKE MARA-MATKL,
                 END OF ITAB_NEW.
       SELECT MATNR ERNAM MTART MATKL
       INTO TABLE ITAB_NEW
       FROM MARA
       WHERE MTART = 'T'
       ORDER BY MATNR ERNAM MTART MATKL.
    *DATA: BEGIN OF ITAB OCCURS 0,
         MATNR LIKE MARA-MATNR,
         END OF ITAB.
    Thank U,
    Jay....

  • Drilling down from Summary to detailed reporting.

    Hello all,
    I am sure this can be done in BW but I just dont know how we can do it.
    My client requirement is when we run a report on the cube we see all the totals for commitement item (we have cmmt item hierarchy that we are using) and then we are at a particular cmmt item for eg Office supplies the total being $1000 they want to double click on the cmmt item (drill down) to see all the transaction for that particular cmmt item.
    How can this be achieved ? Can we use RRI for this?
    Someone please share some advice
    Thanks in adavnce.
    KM

    Hello,
    When I am done with rsbbs. And I open the summary report in Bex Analyzer now I want to see detailed transactions for a particular cmmt item. Do I have to double click on it or Do i have to right mouse click and say Go to -> Detailed report?
    I tried both the things, when I double click it says no applicable data available. and when i do go to-> detailed report it takes me to the report but it shows me everything rather than only transaction for that particular cmmt item. How do we make that happen so that it should know I want to see data only for the cmmt item i click on?
    Thanks,
    KM

  • Drill down from Summary to Detail Report

    BI Publisher 11g
    I creating a set of reports consisting of a single summary report and several detail reports. The user should be able to click on a row in the Summary report and this will pass those parameters to the detail report. Detail report will now show with corresponding values selected in Summary report. Thanks in Advance!

    Explain exactly how you create your 2 reports.
    The second one must have "is prompted" filters if you want it to use the values of the first one.

  • Passing parameter from Summary to Detail report

    Hi,
    I have a summary report that has ID. Clicking on ID leads ot detail report. However, the parameter stays on the detail report. I also want to enable stand alone viewing of the detail rpeort. How can that be achieved?
    Regards

    User,
    What is your name?
    You could move the parameter/item to the detail page. Perhaps change it from a hidden item (if it is) to a visible item that users could select from. Then all you're doing when you come from the summary to the detail is setting that item's value.
    Note that if the item changes pages you'll want to change the name of the item and therefore any references to it. To make sure you don't miss anything you'll want to run the app though Patrick's APEX Essentials: http://www.inside-oracle-apex.com/apex-essentials/ (this will be integrated in APEX 4)
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • Use different Layouts for Summary and Details in Drill down report

    Hi All,
    I have a 2 level drill down report in ALV.
    The summary report has certain fields and the Detail report has different fields. Now my problem is that when i use a default layout (with all fields of summary report) for the summary report, and drill down to the detail report i'm missing the fields on detail that are not in Summary. And if i save the default layout as default (with all fields of Detail) and go back to sumary, I'm missing the some other fields on summary (which are not on detail report).
    Is there a way to make different default layouts for each of those summary and detail reports:
    Also as the layouts are choosen by the user, i cannot hardcode any particular layout;
    So if the user chooses a layout for detail; it has to stay the same layout for the detail report if he goes to summary and then back to detail; unless the user changes the layout again.
    I'm using two different Layout types for each report. but i still cannot get the desired effect.
    Data:
          gt_layout_s             type slis_layout_alv,
          gt_layout_d             type slis_layout_alv,
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_s</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_summary.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_d</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_detail_disp.

    Here is how you differentiate between the layout of two different grids. There is the parameter, IS_VARIANT in the function. You usually leave it empty or pass only the report name and username. <b>What you need to do is to pass unique string for each grids to the HANDLE field of the parameter IS_VARIANT.</b> You can probably hard code it as HEADER and DETAILS in your case. Once that is done, system identified that these two different layout for different grids.
    Regards,
    Ravi
    Note : Please mark all the helpful answers<u></u>

  • Summary and the Detail Report

    Hi All,
    I want to create a summary and detail report in two different layouts on one single report,based the input summary or the detail report shoud execute...,how to do the same.
    Thanks in advance
    C.Somasundaram

    Hi,
    bring your two different layouts in seperate frames and write format triggers on this frames to show or suppress them (depending on your input). Connect the two frames with an collabsing anchor.
    Regards
    Rainer

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • Navigating from Summary Report to Detail Report in OBIEE 11g

    Hi,
    I have creted two reports.One corresponds to Summary and the other Detail.By clicking on one of the fields in
    the Summary report the values are captured and then the detail report is displayed based on the values selected.
    Now,What I need to know is whether I can populate the values I have selected in Summary Report(values correspond to only a single field) as some text in the Detail report.
    I am using 11.1.5 just in case you need to know,but any help would be greatly appreciated.
    Regards
    Navin.G

    another way if you want to stay in one document and continue to use drilling is to build 2 blocks and hide/unhide as you drill
    block1 - shows your totals
    block2 - shows the details
    then use block hiding (see below) to cause block1 to disappear when you drill past a certain level. using the same (but opposite logic) you would have block2 appear
    block hiding in webi - how to:
    sadly webi doesnt have this feature directly the way that Crystal does but you can emulate it using SHOW WHEN EMPTY,block filtering and DrilFilters. The latter detects your level of drill.
    block1 filter formula - return a TRUE result when DrillFilters tell you that you havent drilled into detail yet. Set SHOW WHEN EMPTY=No
    when you do drill Block1's formula will be FALSE, the block will then technically be EMPTY and therefor wont show
    Block2's filter logic will return FALSE when DrillFilters tells you that you are still on Block1's level of drilling. But when you drill Block2's level of drill, DrillFilters in Block2's filter formula will return TRUE and its rows will be returned. It wont be empty so it will show.

  • Summary-Detail Report

    Hi Friends,
    I have a Summary-Detail report.
    The report has minimum 2 pages.
    First page is Summary and 2nd onwards detail...
    In the first page, i will print the summary of goods despatched along with the description of goods.
    eg:
    To
    company
    ..address
    Subject...
    Body....
    Package Type | Qty | Description
    Carton | 10 | Contains 100 packs in each carton
    ............................................ To be delivered as separate packs
    ..............................................Handle with care.
    Despatched date is 12-sep-2009
    Pallets | 250 | Despatched date is 12-sep-2009
    Tins | 2100 | Despatched date is 12-sep-2009
    Signatory..... Date...........................
    This is my report structure....Usually one id will have only one package type. But the description against
    that ID is stored in a separate table and the each letter in the description is precious. The length of the description
    can be 40 to 4000..User is allowed to enter the description as a multi -record or a single record.
    In the report, pkg_type and qty is one repeating frame and description is another repeating frame.
    I have to print as many characters in the first page can enclose and the remaining characters i need to print after the detail part.
    As the description column can contain any no.of characters, i cannot handle it using no.of records...Because if i set to print
    first 5 records in the first page and the remaining in last page using serial no.column, then there is a posssibility that the when it reached the third record, whole space is consumed and
    report will get extended to second page, this should not happen...summary cannot be given in 2 pages...
    Am new to reports..Kindly help me to solve this problem..
    Regards
    Dora
    Edited by: Dora on Sep 30, 2009 8:50 AM

    Thanks Lalitk,
    As u said...I created a db procedure...becoz i want to make several this kind of report using same table.
    For the proc. I gave max.no.of characters as parameter and it returns the two strings ,first with max. no of characters (concatenating the records if it does not reach the max.no) for first page and the other with remainging of the record(s) as string for second page...
    Regards
    Dora.

  • Create Summary Report w/Detail Reports

    I have created a detail report (or tab within the document) that shows the monthly revenue per customer & calculates average monthly revenue per customer.  How can I create a summary report (tab within the document) that only shows the customer & the average revenue per customer (so it does not bring back multiple lines for each customer)?  This would allow my users a quick view of the average rev per customer and then could go into the detail to see the monthly rev per customer.

    Thanks everyone, sorry for not being more descriptive (obviously I'm new to this!).  So in my document I have a simple table that looks something like this: 
    Name               Contract Date           Month                  Revenue
    John Doe          3/1/2011                   April 2011            $1.00
    John Doe          3/1/2011                   May 2011             $1.00
                                                                     Monthly Ave:     $1.00  
    Jane Doe          1/1/2011                   March 2011           $1.00
    Jane Doe          1/1/2011                   April 2011              $1.00
    Jane Doe          1/1/2011                   March 2011           $1.00
                                                                     Monthly Ave:     $1.00 
    The monthly Ave is a simple calculation (=ave) that I added when I split the table.
    What I'd like to do is have another "tab" (report) in the same document that summarizes that data to be something like this:
    Name          Contract Date          Monthly Ave
    John Doe          3/1/2011              $1.00
    Jane Doe          1/1/2011              $1.00

  • E-Mail Summary Report and Detailed Report Automatically

    Hi, I have just started a new job (1st IT job since leaving college) and I've been told that our Small Business Server 2011 used to email a Summary Report directly to a specified email address, as well as a weekly Detailed Report to the same email address,
    but that has stopped sending reports now. How do i make sure that the reports are automatically generated and sent out via email to the specified address. Any help would be great.

    Hi,
    Based on your description, I understand that there some issue occurred in Report feature in the SBS 2011.
    On current situation, please refer to following steps and troubleshoot this issue. Then check if can help you.
    1. Login the SBS server. Please open Windows SBS Console and select
    Reports tab. In the Reports panel, select a report (Summary or Detailed), then View report properties. In Report Properties page, please select
    E-Mail Options to check if had added the correct user account or e-mail address. Also please select Schedule tab, and check if had configured correctly.
    2. Then manually click
    Generate report option in Tasks. Please check if successfully generated the report. If not, please refer to following TechNet article and repair Monitoring and Reporting features in the SBS server. Then monitor the result.
    Repair Monitoring and Reporting Features
    in Windows Small Business Server 2011 Standard
    3. If generated the report successfully, please manually click
    Generate report and e-mail report option in Tasks. Then check if run successfully. Or any error message occurred?
    4. If this issue still exists, please refer to following path: C:\Program Files\Windows Small Business Server\Logs\MonitoringServiceLogs and check if there has some log files
    which be related to Report (Summary or Detailed). If has, please check if can find some more clues. Meanwhile, please open Event Viewer and check if find some relevant errors. Those may hope us to go further analyze.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Datawarehouse query detail report result doesn't match summary report.

    Hello,
    In our DW, we run a detail report query ( like below No. 1) , while in the summary report, in which the query is partially based on aggregated table T_AGG_UNC_GROSS (like below No.2), the query result doesn' match the query result of the details report. (supposed to match exactly)
    To pick out the problem why summary report (like below NO.3) doesn't match details report. I put two filters in the details query with the filter is "year 2007", filter location is "California")
    I can get 295 selected.
    while I put above two filters in summary report, get no row selected.
    I suspect aggregation table has some problem (wrong aggregated).
    Is there any method I can pick out the problem behind?
    thanks a lot in advance.
    --1.detail report
    select D1.c14 as c1,
    D1.c13 as c2,
    D1.c12 as c3,
    D1.c11 as c4,
    D1.c10 as c5,
    D1.c15 as c6,
    D1.c9 as c7,
    D1.c8 as c8,
    D1.c7 as c9,
    D1.c6 as c10,
    D1.c5 as c11,
    D1.c16 as c12,
    D1.c17 as c13,
    D1.c18 as c14,
    D1.c19 as c15,
    D1.c4 as c16,
    D1.c3 as c17,
    D1.c20 as c18,
    D1.c2 as c19,
    D1.c21 as c20,
    D1.c22 as c21,
    D1.c1 as c22
    from
    (select /*+ full(T278878) full(T144662) full(T144546) full(T144557) full(T144665) full(T155155) */ sum(T144442.FINAL_BILL_AMOUNT) as c1,
    sum(T144400.WRITE_OFF_AMOUNT) as c2,
    case when T144416.FMCI_IND = 'Y' then 'Yes-fMCI' else 'No-fMCI' end as c3,
    T144442.IS_FIOS_FLAG as c4,
    T314105.DATE_DESC as c5,
    T144442.CYCLES_DELINQUENT as c6,
    T144590.DATE_DESC as c7,
    T144564.DATE_DESC as c8,
    T144557.LOB_CODE as c9,
    case when T144442.IS_NEVER_PAY_FLAG = 1 then 'Yes-NP' else 'No-NP' end as c10,
    T144416.CLASS_OF_SERVICE as c11,
    T144416.ACCOUNT_NAME as c12,
    T144416.BTN as c13,
    T144416.ACCOUNT_NUMBER as c14,
    T144634.ACCOUNT_STATUS as c15,
    T144687.CSG_ID as c16,
    T441666.DISCONNECT_REASON_DESC as c17,
    T144612.LOB_CODE as c18,
    T144612.STATE_CODE as c19,
    T144640.DATE_DESC as c20,
    T144586.PRIMARY_CIC_CATEGORY as c21,
    T144586.SECONDARY_CIC_DESC as c22
    from
    V_D_STATE T144612 /* V_D_STATE_UNCGRO */ ,
    D_DISCONNECT_REASON T441666 /* D_DISCONNECT_REASON_UNCG */ ,
    D_CUSTOMER_SERVICES_GROUP T144687 /* D_CUSTOMER_SERVICES_GROUP_UNCGRO */ ,
    V_D_ACCOUNT_STATUS_FINAL T144634 /* V_D_ACCOUNT_STATUS_UNCGRO */ ,
    D_DATE T144640 /* D_DATE_UNCGRO */ ,
    V_D_CARRIER_CODES T144586 /* V_D_CARRIER_CODES_UNCGRO */ ,
    F_UNCOLLECTIBLES T144400 /* F_UNCOLLECTIBLES_UNCGRO */ ,
    D_ACCOUNT T144416 /* D_ACCOUNT_UNCGRO */ ,
    D_ACCOUNT_DETAIL T144442 /* D_ACCOUNT_DETAIL_UNCGRO */ ,
    D_LINE_OF_BUSINESS T144557 /* D_LINE_OF_BUSINESS_UNCGRO */ ,
    D_DATE T144564 /* D_DATE_UNCGRO_CONNECT */ ,
    D_DATE T144590 /* D_DATE_UNCGRO_FINAL */ ,
    D_DATE T314105 /* D_DATE_UNCGRO_DISCONNECT */
    where ( T144400.ORGANIZATION_ID = T144612.ORGANIZATION_ID and T144416.ACCOUNT_STATUS_ID = T144634.ACCOUNT_STATUS_ID and T144400.WRITE_OFF_DATE = T144640.DATE_ID and T144400.CIC_CODE_ID = T144586.CIC_CODE_ID and T144416.CUSTOMER_SERVICE_GROUP = T144687.CSG_CD and T144400.ACCOUNT_ID = T144442.ACCOUNT_ID and T144400.ACCOUNT_ID = T144416.ACCOUNT_ID and T144400.DISCONNECT_DATE = T314105.DATE_ID and T144400.WRITEOFF_REFERRAL_IND = 'WRO' and T144416.DISCONNECT_REASON = T441666.DISCONNECT_REASON and T144612.U_STATE_DESC = 'California - BUSINESS' and T144640.YEAR_DESC = 'Year 2007' and T441666.DISCONNECT_REASON_DESC <> 'G' and T144416.FINAL_BILL_DATE = T144590.DATE_ID and T144416.CONNECTION_DATE = T144564.DATE_ID and T144416.LOB_ID = T144557.LOB_ID and T441666.DISCONNECT_REASON_DESC <> 'H' )
    group by T144416.ACCOUNT_NAME, T144416.ACCOUNT_NUMBER, T144416.BTN, T144416.CLASS_OF_SERVICE, T144442.IS_FIOS_FLAG, T144442.CYCLES_DELINQUENT, T144557.LOB_CODE, T144564.DATE_DESC, T144586.PRIMARY_CIC_CATEGORY, T144586.SECONDARY_CIC_DESC, T144590.DATE_DESC, T144612.LOB_CODE, T144612.STATE_CODE, T144634.ACCOUNT_STATUS, T144640.DATE_DESC, T144687.CSG_ID, T314105.DATE_DESC, T441666.DISCONNECT_REASON_DESC, case when T144416.FMCI_IND = 'Y' then 'Yes-fMCI' else 'No-fMCI' end , case when T144442.IS_NEVER_PAY_FLAG = 1 then 'Yes-NP' else 'No-NP' end
    ) D1;
    295 rows selected.
    --2. aggregation table T_AGG_UNC_GROSS
    create table T_AGG_UNC_GROSS parallel nologging as
    SELECT a.account_id,a.ORGANIZATION_ID,a.UNC_LOB_ID,
    MAX (a.WRITEOFF_REFERRAL_IND) AS WRITEOFF_REFERRAL_IND,
    MAX (a.WRITE_OFF_DATE) AS WRITE_OFF_DATE,
    COUNT (1) AS NO_OF_UNC,
    MAX(a.DISCONNECT_DATE) as DISCONNECT_DATE,
    sum(a.WRITE_OFF_AMOUNT) as WRITE_OFF_AMOUNT
    FROM f_uncollectibles a
    GROUP BY a.account_id,a.ORGANIZATION_ID,a.UNC_LOB_ID;
    ---3. sumarry resport (query)
    select SUBSTR (f.WRITE_OFF_DATE, 5, 2)
    || '/'
    || SUBSTR (f.WRITE_OFF_DATE, 7, 2)
    || '/'
    || SUBSTR (f.WRITE_OFF_DATE, 0, 4)
    writeoff_date,
    'ALL CIC',
    o.U_STATE_DESC,
    s.U_ACCOUNT_STATUS,
    rl.RISK_LEVEL,
    d.Amount_Range_ID || ' - WR',
    f.WRITEOFF_REFERRAL_IND,
    fi.fios_flag_desc,
    DR.DISCONNECT_REASON || '-' || DR.DISCONNECT_REASON_DESC,
    b.BEHAVIOR_SCORE || ' - B',
    cs.csg_cd || ' - CG',
    CASE WHEN d.IS_NEVER_PAY_FLAG = 1 THEN 'Yes-NP' ELSE 'No-NP' END
    AS Neverpay_Ind,
    CASE WHEN u.FMCI_IND = 'Y' THEN 'Yes-fMCI' ELSE 'No-fMCI' END
    AS FMCI_IND,
    lob.DESCRIPTION,
    COUNT (f.Account_id) No_of_Accounts,
    SUM (d.NO_DENIAL_NOTICES) NO_DENIAL_NOTICES,
    SUM (d.CYCLES_DELINQUENT) CYCLES_DELINQUENT,
    sum(f.WRITE_OFF_AMOUNT) WRITE_OFF_AMOUNT ,
    sum(d.FINAL_BILL_AMOUNT) FINAL_BILL_AMOUNT
    FROM t_agg_unc_gross f,
    d_account u,
    d_account_detail d,
    D_DISCONNECT_REASON DR,
    d_writeoff_amount_range a,
    v_d_account_status_final s,
    D_BEHAVIOR_RANGE b,
    v_d_state o,
    d_Fios_Indicator fi,
    d_risk_level rl,
    d_customer_services_group cs,
    D_UNCOLLECTIBELS_LOB lob,
    D_DATE
    WHERE f.account_id = u.account_id
    AND u.account_id = d.account_id
    AND d.Amount_Range_ID = a.wo_range_id
    AND d.IS_FIOS_FLAG = fi.FIOS_FLAG
    AND u.Account_Status_ID = S.ACCOUNT_STATUS_ID
    AND u.RISK_LEVEL_ID = rl.risk_level_id
    AND o.organization_id = f.organization_id
    AND dr.DISCONNECT_REASON = u.DISCONNECT_REASON
    AND d.BEHAVIOR_SCORE12 = b.BEHAVIOR_SCORE
    AND u.CUSTOMER_SERVICE_GROUP = cs.csg_cd
    AND Dr.disconnect_reason NOT IN ('H', 'G')
    AND lob.LOB_UNC_ID =f.UNC_LOB_ID
    AND o.U_STATE_DESC = 'California - BUSINESS'
    AND D_DATE.YEAR_DESC = 'Year 2007'
    and  u.FINAL_BILL_DATE = D_DATE.DATE_ID
    --and u.CONNECTION_DATE = D_DATE.DATE_ID
    GROUP BY SUBSTR (f.WRITE_OFF_DATE, 5, 2)
    || '/'
    || SUBSTR (f.WRITE_OFF_DATE, 7, 2)
    || '/'
    || SUBSTR (f.WRITE_OFF_DATE, 0, 4),
    'ALL CIC',
    o.U_STATE_DESC,
    s.U_ACCOUNT_STATUS,
    rl.RISK_LEVEL,
    d.Amount_Range_ID || ' - WR',
    f.WRITEOFF_REFERRAL_IND,
    fi.fios_flag_desc,
    DR.DISCONNECT_REASON || '-' || DR.DISCONNECT_REASON_DESC,
    b.BEHAVIOR_SCORE || ' - B',
    cs.csg_cd || ' - CG',
    lob.DESCRIPTION,
    CASE WHEN d.IS_NEVER_PAY_FLAG = 1 THEN 'Yes-NP' ELSE 'No-NP' END,
    CASE WHEN u.FMCI_IND = 'Y' THEN 'Yes-fMCI' ELSE 'No-fMCI' END;
    no row selected.
    Edited by: ROY123 on Jul 23, 2010 12:17 PM

    fixed.

  • Require a detail report for  archiving on FI_FICA in SARA

    Hello all,
    When I run the Transaction SARA for the object FI_FICA for the Write step, the report dsiplays only the summary of the results.
    I mean only the count of the number of the Objects that will be archived.
    But I want to display a detailed log of which are the objects that are flagged for archiving. I tried to find out any Enhancements or BADI's but unable to find out.
    Can somone please let me know if there is any scope to pull out the detailed report, by plugging in some custom code or if is there any other way to do that.
    Thanks in advance.
    Thanks & regards,
    Y Gautham

    Hi Gautham,
    I don't know if you have already tried this but what you can do in the variant that you have created for the write program, at the bottom there are several select for the logs. For the first one "Detail Log" select "Complete", for the second one "Log Output" select "List and Application Log", save the variant and run the write program again (in test mode if you just want to see the output that you'd get). This should give you the detailed report that you're looking for.
    Let me know if this works.
    Cheers.

  • Passing multiple parameter values to a detail report.  How?

    Help!
    I have a Summary report and a Detail report.
    Summary report has a parameter that may have multiple values (ie returning an array).
    I need to pass these values to the Detail report.
    Anybody has managed to do it?
    Thanks in advance...
    Inga

    Thank you for your reply Sunil...
    The problem is as follows:
    I have a report portlet that has a parameter with multiple values. Ie I would have two status values passed into this Summary report that shows, say total sum for those statuses. I have a link from this report to a detail report, and i need to pass both of these values into the detail report.
    I have tried adding a parameter (p_status_param) in the SQL query that would be a part of link by building it in "PL/SQL after header section" and doing the parameter replace.
    SQL query:
    select
    '<a href="./RTS.RPT_OPEN_CALLS_BY_ASSIGNEE_01.SHOW?p_arg_names=p_assigned_user_id&p_arg_values='||cr.assigned_user_id||''||:p_status_param||'''><font class=portletText1>'||s.user_name||'</font></a>' full_name,
      cr.assigned_user_id,
      count(*) total_calls
    from 
      trts_call_request cr,
      trts_security s
    where
      cr.assigned_user_id = s.user_id
      and cr.current_status_id in :p_status
      and cr.assigned_user_id in :p_assigned_user_id)
    group by
      s.user_name,
      assigned_user_id
    PL/SQL:
    declare
        v_return    varchar2(32767) := '';
    begin
        for i in 1..l_arg_names.count loop
            if l_arg_names(i) = p_reference_path||'.p_status' then
                v_return := v_return || '&p_arg_names=p_status&p_arg_values='||l_arg_values(i);
            end if;
        end loop;
         myats30.wwv_name_value.replace_value(l_arg_names, l_arg_values, 'p_status_param',myats30.wwv_standard_util.string_to_table2(v_return) );
    htp.p(v_return);
    end;
    However, when you run the report, this is what you get (see what the parameter has been replaced with):
    ORA-00907: missing right parenthesis (WWV-11230)
    Failed to parse as RTS - select '<a href=./RTS.RPT_OPEN_CALLS_BY_ASSIGNEE_01.SHOW?p_arg_names=p_assigned_user_id&p_arg_values='||cr.assigned_user_id||''|| ( :zz21, :zz22, :zz23 ) _param||''"><font class=portletText1>'||s.user_name||'</font></a>' full_name, cr.assigned_user_id, count(*) total_calls from trts_call_request cr, trts_security s where cr.assigned_user_id = s.user_id and cr.current_status_id in ( :zz21, :zz22, :zz23 ) and cr.assigned_user_id in :p_assigned_user_id) group by s.user_name, assigned_user_id order by ASSIGNED_USER_ID ASC (WWV-08300)
    Any ideas how I could build this link programatically???
    Thank you...

Maybe you are looking for

  • Moving my iTunes library from old hard drive to new laptop

    I apologize if this has been discussed before, but, just today I punched my laptop screen and shattered it (the laptop has been asking for it lately, it's been acting up and I was planning on buying a new one anyhow). I removed the hard drive and it'

  • How to show the "latest" row in a dynamically growing Jtable

    I thought, this topic was poeted before, but as I could not find it, here is my question. I have a Jtable ( 5 columns ) putted on a JScrollbar. Adding new rows lets the vertical-scrollbar shrink, thus showing there are more rows towards the end. But

  • So my 80 GB ipod classic is frozen...

    My ipod is frozen in pause and locked mode with the screen light on. When I connect to my macbook or lock/unlock it nothing happens. Anyone know how to fix? Thanks apple community!

  • No ringtone

    i can't get the ringtones to work eventhough I had selected in the settings to have both the vibrations and ringtone selected. any suggestions . I have already tried to repristinare the iphone but to no avail

  • How to choose the right format?

    Hello, on my website (2hinsurance.com) I've created the costum header and put there logo whic I created with adobe photoshop cs5.1 and when I scroll down the titles of pages down of them crosses the header text. The logo text is in JPEG format. I've