Drill Down report in Discoverer
Hi All,
i have to create a Drill Down report in Discoverer and i am not aware of it at all.
If anyone can please provide me with some pointers on how to create a Drill Down report it would be of great help.
Regards,
SK
Hi sk,
Go through this link,you would learn how to drill down and the concepts
[http://www.comp.hkbu.edu.hk/docs/o/dl/bi/B10272_01/4pivdrl.htm#1012030]
Hope it answers your question.Award points.
Best Wishes,
Kranthi.
Similar Messages
-
Drill-down reports Discoverer-style
Hi,
I'm looking for a way to implement drill-down reports in HTMLDB. All the references I found are showing details in a 2nd page for a certain row in the 1st page (e.g. ordered items for an order ID).
I'm not looking for this, but for drill-down "a la Discoverer", such as this example
http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/viewer/lesson1.htm#t7
One can select there multiple criterias for drill down.
Perhaps the solution would be a combination of tree reports with standard reports
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_tree.html
but I don't see clearly how to do it, especially with a lot of drill-down options.
Do you have any suggestions?
Many thanks,
MariusI think there are two differen approaches:
- using the HTML report and doing some "dynamic" SQL at the block level
(That means you have to write the drill down - this is the logic that
is done by the tree - by yourself)
If you ever have done the work to do this in combination with a HTML DB report,
please post it here.
- using the a Tree Page with a special layout and view
Which one to use depends on how often you have to use this.
You can see an example under:
http://htmldb.oracle.com/pls/otn/f?p=41053:30
Here is a quick hack for the Tree Page variant, that may help you.
Using a Tree page uning a view and changing the tree template gives you some of
this functionality. If you have to do more of this kind use a stylesheet (.css) to
controll the layout.
1. Create a View that represents your Hierarchy (Structure)
For every level create a UNION secion.
Using UNION you can get the records from different sources also.
2. Create a Page with a Tree, SQL Query Based.
Use the View that you created before.
NAME .. are the levels of your dimensions
A1, A2 .. are your measures of your fact
ID, PID .. the hierarchy (structure) information
* Step 1 - creating a view:
create or replace view tree as
select id, pid, name, link, a1, a2
from (
-- Level 1 (Root Level)
select
to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
to_char(sum(ORDER_TOTAL),'999G9990D99') a1, to_char(count(*),'999G9990D99') a2
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'YYYY')
UNION
-- Level 2
select
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month'), null,
to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month')
UNION
-- Level 3 (Leaf Level)
select
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day'), null,
to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day')
)If you have a lot of this kind of reports you realy should think to
use discoverer. It does a lot of sql behind the szenes and also in the
presentation logic - this is what you have to do here by hand.
If you have more than two measures (A1,A2) you can do the
formatting in your view (realy ugly, but it is a workaround).
* Step 2: Create the tree page
Tree Query:
select
"ID" id, "PID" pid, "NAME" name,
null link, a1 a1, a2 a2
from TREEBefore Tree:
<table border="0" cellspacing="0" cellpadding="0">After Tree:
</table>Leaf Node:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" align="left">
</td>Leaf Node Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" align="left">
</td>Drill Up:
(up)Indent Vertical Line:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" > </td>Indent Vertical Line Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" > </td>Unexpanded Parent:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Unexpanded Parent Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Expanded Parent:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Expanded Parent Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Parent Node Template:
<tr>#INDENT#
<td style="color:#00319c; background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
valign="CENTER" class="tiny">#NAME#</td>
<td align="right" style="background:#f7f7e7;">#A1#</td>
<td align="right" style="background:#f7f7e7;">#A2#</td>
#DRILL_UP#
</tr>Node Text Template:
<tr>#INDENT#
<td style="color:#00319c; background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
valign="CENTER" class="tiny">#NAME#</td>
<td align="right" style="background:#f7f7e7;">#A1#</td>
<td align="right" style="background:#f7f7e7;">#A2#</td>
</tr>Name Link Anchor Tag:
< a href="#LINK#">#NAME#</a>Name Link Not Anchor Tag:
#NAME#* Extended Version of the View. Use this style of query if you have more than two measures:
create or replace view tree as
select id, pid, name, link,
'<table border="0" cellspacing="0" cellpadding="0" style="background:#f7f7e7;">'||
case when rownum = 1
then '<tr style="background:#cece9c;">'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Amount</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Orders</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
'</tr>'
end||
case
when lvl = 2 then '<tr style="color:#000088;">'
when lvl = 3 then '<tr style="color:#888888;">'
else '<tr>'
end ||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a1,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a2,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a3,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a4,'999G9990D99')||'</td>'||
'</tr>'||
'</table>' a1, null a2
from (
-- Level 1 (Root Level)
select
1 lvl, to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
sum(ORDER_TOTAL) a1, count(*) a2,
count(*)*10 a3, count(*)*100 a4
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'YYYY')
UNION
-- Level 2
select
2, to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month'), null,
sum(ORDER_TOTAL), count(*),
count(*)*10, count(*)*100
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month')
UNION
-- Level 3 (Leaf Level)
select
3, to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day'), null,
sum(ORDER_TOTAL), count(*),
count(*)*10, count(*)*100
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day')
)If you use stylesheets the above query will be more suitable.
See also:
Expand/Collpase Lists
Hope that helps, Willi -
NEED DRILL DOWN REPORTS IN APPS
Hi
I need to generate drill down reports in oracle apps.
Is drill down reports work in Apps?
If it is possible please reply me, please send any document reference on drill down reports
Thanks & Regards
AdinaHi,
What do you mean by drill down reports in Oracle Apps. Do you mean using Reports Developer. It cant be done, that is why the need of Discoverer reports. Discoverer reports can be run ( viewer ) from applications but generally associated with a separate responsibility. You can drill down from there.. -
Drill Down Reports and Drag & Drop capability Tool for Developer2000
I am currently doing my development in Developer2000 rel. 2.0.
I have seen many tools for VB which provide the facility for Drill Down reporting and drag & drop option in reporting, but unable to find any tool for developer2000. I wonder if anyone can guide me about any tool for developer2000 which can provide these facilities in reporting and forms.......
Qamar Bilalyou can use the mouse triggers to do drag and drop.
you have mouse-move and mouse-enter etc...
what do you mean by drill down?
you can do drill down reporting in reports by using srw.run_report built in and you can also use oracle discoverer. -
Hello Experts,
we are implementing oracle EBS R12.1.3 for our one of the client, and they want the feature like drill down reports.
As per my knowledge we cannot create drill down report using oracle reports builder. client doesnt have license for oracle discoverer.
Can I achieve the drill down feature by XML publisher? If yes How??
Thanks,
AtulHi Atul;
please check below thread:
R12: drill down XML Publisher Template
Regard
Helios -
Hi,
How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
Thanx.Hi,
How to add several currency value (USD, LKR) in drill down report - in Due Date Analysis for open Item report (S_ALR_87012168)
Thanx. -
Drill-Down Report Printing Problem for Selection Parameters
Dear Experts,
Have tried to configure Drill-Down Report for Vendor Balances,
Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
Input Parameter Screen
Report Output Screen
Print Preview Screen (First Page - Selection Parameters)
Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
Thanks
Regards
PHello Ms. Preeti,
Thanks for your reply, Have designed the report through FKI0 (FKI*)
Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
Thanks for your help
Kind Regards
P -
Drill Down Report Performance issue?
Hi,
why drill down report is slower performance comparing with Action link/Navigation method? what could be the back end processing?
Thanks
MRDNeed to know/see your config to tell why it is slow, I would suggest to follow best practices for the same.
Drill down back end process something like:
Report fetch next level columns and the all aggregated measures are grouped by next level this may take some time unless you go with aggregate table (is part of best practices)
Appreciate if you mark as correct/helpful -
Hiding fields in ALV DRILLED DOWN REPORT
Hi
My scenario is like this i created a alv drilled down report , in that once the user executes it ,it will displays the header contents of the purchase order.
If the user double clicks on any of the header line item it will displays the item detials of the particular header data..
My probelm is if i double click it i am getting the header details added with the item fields..i want to hide the header detials if i want to c the item level details..
Can any suggest me some better ways to hide the header contents ??
Arun Josephhi,
check ur field cat...
R u using same name?
If possible paste ur code here... -
Drill down report...
HI abapers,
How to create drill down report in alv.
When i double click the particular field, another report has to pop up and display the details of that particular field.
for eg,
When double click the amount spent field other report has to say, For which material the amonut has spend.
Thanking You
arvindhi arv,
for me your scenario is not clear..
you want to drill down the alv .. and show the report in the same program or you want to call another program when u try to hit the alv report..
well for drilling down the same program.. you can use the following method
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'TOP1' " drill down
I_CALLBACK_TOP_OF_PAGE = 'TOP2'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
FORM TOP1 USING UCOMM TYPE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
READ TABLE GT_FINAL_TOTAL INTO GS_FINAL INDEX SELFIELD-TABINDEX.
CASE SELFIELD-TABINDEX.
WHEN SELFIELD-TABINDEX.
perfrom itab2_operation. " in this form you will write the code to get the data for drill dispplay
now defing fieldcatalog again : example :
GS_FCAT-COL_POS = 1.
GS_FCAT-FIELDNAME = 'EBELN'.
GS_FCAT-SELTEXT_L = TEXT-001.
GS_FCAT-FIX_COLUMN = 'X'.
GS_FCAT-OUTPUTLEN = 13.
APPEND GS_FCAT TO GT_FCA
and call alv display again :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = GV_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_TOP_OF_PAGE = 'TOP2'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE = ''
I_GRID_SETTINGS =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FCAT
and if you want to call another progam when u hit..u have to use..submit key work
like SUBMIT ZAFI013R VIA SELECTION-SCREEN AND RETURN. -
Drill down reports in character mode
How to make drill down reports in character mode(remember not bitmapped)using report designer 6
nullI solved the problem in UNIX with this script, replacing the special characters:
sed -i 's/special_1/¡/' $salida
sed -i 's/special_2/¢/' $salida
sed -i 's/special_3/£/' $salida
sed -i 's/special_4/¤/' $salida
sed -i 's/special_5/¥/' $salida
sed -i 's/special_6/¦/' $salida
sed -i 's/special_7/§/' $salida
sed -i 's/special_8/¨/' $salida
sed -i 's/special_9/©/' $salida
sed -i 's/special_10/ª/' $salida -
Drill down report export to pdf
Hi,
I have a drill down report that i need to export to pdf.to get the drill down facility, I used 'HIDE' option for the groups.
The drill down works in crystal.But when I export the crystal report to PDF, I could not see the hidden groups/Tabs, and my drill down doesn;t work.Please suggest me what to do while exporting a drill down report to PDF. Is it possible to export a drill down report to Excel?Can someone suggest the precaustions to be taken while exporting to different formats??
Thank you,
Tatyana.Drill-Down behavior in Crystal doesn't carry over to pdf exports.
Using one of the 3rd-party Crystal Reports schedulers listed at http://www.kenhamady.com/bookmarks.html you can achieve similar behavior in pdf exports by automating the process of:
1. exporting the main report to main pdf.
2. Bursting a detailed report to individual pdf files
3. using Crystal formulas embedded in the main report to generate live links from the exported main pdf to the individual detail pdf files. -
Drill down reports (Reports 3.0)
I am trying to create a series of drill down reports using
Reports 3.0. To do this I have created buttons in each report
which pass parameters to the next report using the
srw.run_report package. I have a problem with the lowest level
report where no errors are reported but the report is generated
as a blank page. When run in isolation, i.e. filling in the
paramters manually, the report works perfectly well. Does anyone
have any ideas? Also, when passing more than one parameter, do
you just have to use the concatenation operator (nicola (guest) wrote:
: I am trying to create a series of drill down reports using
: Reports 3.0. To do this I have created buttons in each report
: which pass parameters to the next report using the
: srw.run_report package. I have a problem with the lowest level
: report where no errors are reported but the report is generated
: as a blank page. When run in isolation, i.e. filling in the
: paramters manually, the report works perfectly well. Does
anyone
: have any ideas? Also, when passing more than one parameter, do
: you just have to use the concatenation operator ( -
Customized drill-down report cannot go to line item level (FGI4 and FGI1)
Hi Expert,
I created a customized drill-down report using New GL features, as follows:
FGI4 create form, with reference to form: 0SAPBLNCE-01
FGI1 create report for the form created.
After that I set some things like characteristic, variables, and output type.
When I execute the report, the data shown cannot be drill-down to line item level:
Goto > Line Item (this function is disabled).
Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
Thanks
sbmelHi sbmel,
For calling up a line item report in a drill down report you need to make the below settins:-
- You first have to generate the line item report with program RGRGENSI for your summary table.
- Then assign the generated line item report to the summary report.
Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
Regards,
Gaurav
Edited by: gka2707 on Jul 19, 2010 8:07 AM -
Drill Down Report in screen painter
Hi Experts,
I have a requirement in dialog programming/screen painter to create a 2 level drill down report. for eac page of the report, it should only contain 10 entries then to view the other entries (11 and up), the button for next page should be click (there is also back button).
First question is how will I have the drill down report (alv list type?) in screen painter?
Second question is how should I process the logic mentioned above (next and back) in screen painter/dialog programming?
Thanks in advance for all teh support. Points will be rewarded.
Cheers,
KurttHai,
Go thru this Threads u ll get an idea,
Drill down report help
Re: regarding Drill Down Reporting
drill down capabilities for an alv grid display field using oops concept
Regards,
Padmam.
Maybe you are looking for
-
Open Delivery value in F.35
Hi, In Credit Master Sheet (F.35), there is a field "Open Delivery value" against which I am getting some value. Can somebody give me Idea regarding how to get the delivery document numbers for those deliveries for which this value is coming? I have
-
BO XI 3.1 DeskI report Calculation mismatch in record values
Hi , I have an Calculation issue in one report after migrated from BO 5.1.6 to BO XI 3.1. After refreshing two reports parallelly, BO XI 3.1 report 1st 3 records of two columns are not at all there in BO 5.1.6 report. in XI 3.1 i am getting 3 more re
-
Problem in getting parameter value from selection screen in web dynpro abap
Hi, I am facing problem in getting parameter value from selection screen. Please find my code below: DATA LT_PAR_ITEM TYPE IF_WD_SELECT_OPTIONS=>TT_SELECTION_SCREEN_ITEM. FIELD-SYMBOLS:<FS_PAR_ITEM> LIKE LINE OF LT_PAR_ITEM,
-
Installation Error: Cannot Install Photoshop
I get the following error when I attempt to install Adobe Photoshop CS4. Installation Error Installation of the following products has failed: Adobe Bridge CS4 Adobe Photoshop CS4 To continue installing the remaining options, click continue. To cance
-
Itunes wont update from version 10.6.3 to 11.1. help!
i am unable to update my itunes. it is saying that my version (10.6.3) is the current version. when i go to plug in my iphone 5, it will not connect to itunes unless my itunes has been updated to 11.1 i went and tried to download the updated itunes f