Report with drill-down needs to start display at lowest level
Hi,
I'm not sure if this is in the correct forum but I'm hoping that a moderator will move it to the correct area if there is a better place for this.
I have a report working that shows Master Project information, drills to Projects information and then to Tasks information and this is woking correctly.
For example:
Master Project A
Project A1
Task A1-a
Task A1-b
Task A1-c
Project A2
Task A2-a
Task A2-b
Master Project B and so forth.
This works great; the report opens and shows all the data at the Master Project Level (Master Project A & B), the customer clicks on the Master Project name and the Master Project detail info is hidden and the Projects (A1 & A2) are displayed.
If one of these Project names is clicked, the Project detail info is hidden and the Tasks (A1-a, A1-b & A1-c) are displayed. Everything is great!
BUT, now the customer wants the display to start with the only the Master Project name and Project name displayed and all the Task information displayed. Then if they click on the Project name, the Task info is hidden and the Project detail info is
displayed. In other words, the reverse of the normal procedure.
I've attempted changing the hide/show on the groups, rows, anywhere I could think of and I cannot get it to display correctly. Can anyone come up with a solution?
Thanks in advance,
Tina
Hi BuildWithVS,
Thank you for posting in the MSDN forum.
I’m afraid that it is not the correct forum.
If this issue is related to the SSRS, this forum would be better like this
case:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlreportingservices
If it is related to the report control, please post this issue in this forum:
http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
ALV Reporting with drill down capabillities
I'm creating a abap custom report using the ALV. I want to drill down to CJ03 which is projects. I know how to do it in regular custom reporting, but I don't seem to be able to get it to work using the ALV. Can anyone help?
Thanks.
LindaHi Linda,
Take a look at this sample program. The logic to handle any interaction with the user is in my "PORCESS_USER_COMMANDS" routine.
This is defined in the "I_CALLBACK_USER_COMMAND" parameter in the ALV FM.
Hope this helps.
Cheers,
Pat.
[code]
Modification History
Date | Author | Chg Req # | Description
15.08.2001| Pat Yee | $TMP | Program Creation
This program is an example of how the ALV Display works.
It will display Customer Data.
This report will also show how to display an ALV report with different
colored lines and icons
REPORT zpat.
Include Programs
INCLUDE <icon>.
Database Tables
TABLES: kna1. "Customer Master
Types
TYPE-POOLS: kkblo.
Structures
Structure to hold the Color Information
DATA: BEGIN OF st_color,
color(3) TYPE c,
END OF st_color.
Structure to hold the Icon Information
DATA: BEGIN OF st_icon,
icon(4) TYPE c,
END OF st_icon.
ALV Field Catalog Structure
DATA: st_fieldcat TYPE slis_fieldcat_alv.
ALV Layout Structure
DATA: st_layout TYPE slis_layout_alv.
Internal Tables
Output Table
DATA: BEGIN OF tbl_kna1 OCCURS 0.
INCLUDE STRUCTURE st_icon. "Icon Structure
INCLUDE STRUCTURE kna1. "Customer Master Structure
INCLUDE STRUCTURE st_color. "Color Structure
DATA: END OF tbl_kna1.
ALV Field Catalog Table
DATA: tbl_fieldcat TYPE slis_t_fieldcat_alv.
Variables
DATA: fieldname(30) TYPE c,
g_repid LIKE sy-repid.
Start of Selection
START-OF-SELECTION.
g_repid = sy-repid.
PERFORM get_data.
End of Selection
END-OF-SELECTION.
PERFORM do_fancy_stuff.
PERFORM get_layout.
PERFORM get_fieldcat.
PERFORM create_report.
*& Form CREATE_REPORT
Learn to read the subroutine name!
FORM create_report.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
i_callback_program = g_repid
i_callback_user_command = 'PROCESS_USER_COMMANDS'
it_fieldcat = tbl_fieldcat
i_default = 'X'
i_save = ' '
is_layout = st_layout
TABLES
t_outtab = tbl_kna1
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " CREATE_REPORT
*& Form GET_FIELDCAT
Build the Field Catalog
FORM get_fieldcat.
Here the field catalog is created. To display more fields simply
'uncomment' the additional lines and add the field name. Also note
that the field catalog is much more powerful than this. You can
intensify fields, change the colour, assign reference fields, etc.
Look at type slis_fieldcat_alv for more options.
PERFORM write_fieldcat USING 'ICON' 'TBL_KNA1' ' ' 'X' 1 '2' 'X'
PERFORM write_fieldcat USING 'KUNNR' 'TBL_KNA1' 'KNA1' 'X' 2 ' ' ' '
PERFORM write_fieldcat USING 'NAME1' 'TBL_KNA1' 'KNA1' ' ' 3 '10' ' '
'X'.
PERFORM write_fieldcat USING 'STRAS' 'TBL_KNA1' 'KNA1' ' ' 4 ' ' ' '
PERFORM write_fieldcat USING 'TELF1' 'TBL_KNA1' 'KNA1' ' ' 5 ' ' ' '
PERFORM write_fieldcat USING 'ORT01' 'TBL_KNA1' 'KNA1' ' ' 6 ' ' ' '
PERFORM write_fieldcat USING 'PSTLZ' 'TBL_KNA1' 'KNA1' ' ' 7 ' ' ' '
PERFORM write_fieldcat USING 'SORTL' 'TBL_KNA1' 'KNA1' ' ' 8 ' ' ' '
PERFORM write_fieldcat USING 'ERNAM' 'TBL_KNA1' 'KNA1' ' ' 9 ' ' ' '
PERFORM write_fieldcat USING 'SPRAS' 'TBL_KNA1' 'KNA1' ' ' 10 ' ' ' '
perform write_fieldcat using ' ' 'TBL_KNA1' 'KNA1' ' ' 10 ' '.
perform write_fieldcat using ' ' 'TBL_KNA1' 'KNA1' ' ' 11 ' '.
perform write_fieldcat using ' ' 'TBL_KNA1' 'KNA1' ' ' 12 ' '.
ENDFORM. " GET_FIELDCAT
*& Form WRITE_FIELDCAT
Write the Field Catalog data to the Field Catalog Table
-->name Field name
-->tab Table name
-->st Structure Name
-->key Is this field a Key?
-->pos Position Number
-->length Field Length
-->icon Display as Icon
-->hot Hotspot
FORM write_fieldcat USING name tab st key pos length icon hot.
st_fieldcat-fieldname = name.
st_fieldcat-tabname = tab.
st_fieldcat-ref_tabname = st.
st_fieldcat-key = key.
st_fieldcat-col_pos = pos.
st_fieldcat-outputlen = length.
st_fieldcat-icon = icon.
st_fieldcat-hotspot = hot.
APPEND st_fieldcat TO tbl_fieldcat.
CLEAR st_fieldcat.
ENDFORM. " WRITE_FIELDCAT
*& Form PROCESS_USER_COMMANDS
Interactive Reporting Commands
FORM process_user_commands USING syst-ucomm LIKE syst-ucomm
selfield TYPE slis_selfield.
This subroutine is called when there is user interaction in the output
In this case if the user double clicks the Customer Number then the
program will call transaction XD03 and display the Customer Master
Data
CASE syst-ucomm.
WHEN '&IC1'.
get cursor field fieldname.
READ TABLE tbl_kna1 INDEX selfield-tabindex.
SET PARAMETER ID 'KUN' FIELD tbl_kna1-kunnr.
CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
ENDCASE.
ENDFORM. " PROCESS_USER_COMMANDS
*& Form GET_LAYOUT
set the layout of the ALV.
add color to the row?
FORM get_layout.
st_layout-info_fieldname = 'COLOR'.
st_layout-colwidth_optimize = 'X'.
st_layout-get_selinfos = 'X'.
ENDFORM. " GET_LAYOUT
*& Form get_data
Get some data to play with
FORM get_data.
SELECT * FROM kna1 INTO CORRESPONDING FIELDS OF TABLE tbl_kna1
UP TO 30 ROWS.
ENDFORM. " get_data
*& Form do_fancy_stuff
Do some fancy pants stuff for example changing the color of
lines and adding icons
FORM do_fancy_stuff.
Here we will demonstrate changing the color of ALV Record lines as
well as displaying Icons
LOOP AT tbl_kna1.
All records where NAME1 begins with 'M', will be displayed in Bluish
Green
IF tbl_kna1-name1(1) EQ 'M'.
tbl_kna1-color = 'C41'. "Bluish Green
MODIFY tbl_kna1 TRANSPORTING color.
ENDIF.
All records with no TELF1 will be displayed in White and have a
Warning Icon
IF tbl_kna1-telf1 IS INITIAL.
tbl_kna1-color = 'C00'. "White
tbl_kna1-icon = '@AH@'. "Warning Icon
MODIFY tbl_kna1 TRANSPORTING icon color.
ENDIF.
ENDLOOP.
ENDFORM. " do_fancy_stuff[/code] -
Viewing reports with Drill Down option
Hi all, here is the complaint that we received:
Please try to find a means to help!
When I’m in my Report and when in an account and I go to a deal to alter or look at it, when I return to reports I always am driven back to the top of the report file. If I’m in December and looking at the entire year I have to go through all accounts once again to get to the same starting point. A great irritant. I can’t help but think that there is a better way.
Anyone know if this can be changed? Thank you in advance!!!Sorry, let me explain...
The problem isn't with the report, they have issues with what happens after you drill down into the account from the report and go back to the report.
When they go back to the report after adjusting the account/opp it doesn;t go back to what they were looking at, the view will go to the top of the report. Say they were looking at Account #100 out of 250 (250 total accounts in the report), if they drill down into account 100 and then go back to the report they will be taken back to account #1.
Is that more clear?
What they want is to be able to go back to the view of Account #100. -
I wana a create a matrix report like this
Department Strength Total_Salary
A 10 1000
B 20 5000
C 30 4000
I will also need a drill down for every cell. How I can create that. Is there any live example of such type report available. I wana display it on webpage (not excel or rtf exports plz)Hello,
The following should help you - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/rprt_drill.htm#CIHGBADI
Regards,
Arie. -
Integrating BI reports (with drill down) in EP
Hi All,
We want to integrate some BI reports in EP. What we want to achieve is:
Display a graph (eg indicating sales revenue) in the iView
Upon user click, drill down the report to view by various criteria.
Would appreciate if anyone can provide tips on how to achieve this. Ive been contemplating on whether to use VC etc. My apologies for not being so specific as im unfamiliar in the BW arena. Thanks!Hi,
Once you've created the BW query, report or template in your Web Application Designer you can create a Bex report portal iView on top of it using the iViews templates.
Read <a href="http://help.sap.com/saphelp_nw70/helpdata/en/bd/3d1640d4642402e10000000a1550b0/frameset.htm">this general info</a> on how to Display Content from BI in the Portal and <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/33/39fa40ee14f26fe10000000a1550b0/frameset.htm">here</a> about the Bex iView in specific.
Hope it helps,
Roy -
I have a report consisting of 8 columns, with 4 of them having a drill down link leading to 4 other pages. 1 column is not null, the other 3 can be null.
How do I hide the links when the column value is null?
At present I have defined the URL for each column under 'Column Link' in the column attributes.It would be nice if there was a way to specify conditions on the report attributes column editing pages not only for the entire column, but also for values within the column.
E.G., if column value is negative, print the amount in red with parentheses.
Maybe there's a way I don't know about. The only way so far I've found is to push the logic out into the query, which, as you point out, ends up mixing HTML output with SQL. -
HTMLDB_ITEM report with 'Drill Down'
I have created a report using the HTMLDB_ITEM Package and I would like to link to a form to add more detail. I have tried to create this using the tools but it assigns the value of the hyperlink to #column heading# which is not working. Am I missing something or is there another way of doing it?
Thanks
SimonSimon,
Have you tried to contruct the link manually like so:
select 'detail' link,
htmldb_item.text (1, ename)
from emp -
REPORT PAINTER DRILL DOWN REPORT
Hi,
i need to develop report painter report with drill down for cost elments and month wise
out should be cost elements and all months
Please suggest how to use drill down
Thanks and Regards
RAViAlong these same lines. I have a user that cannot drill down into a drill down report. Let me clarify. This report does have drill down capability as some people can drill down into it but others cannot. If a user has authorization to run a report via GRR3. When they click on an item to drill down they do not get an authorization error statement, all they get is a statment that says "list contains no data". Any ideas why some can drill down and some can't? Thanks
Mark -
Problem in Viewer with drill down, Working fine in Plus
Hi,
I am using the cross tab reports with drill down functionality. In the viewer version I am getting the following error:
An error occurred while handling the event. See the application log for more details.
- The numerical value entered was too low.
This one working fine in Plus. .
As for your information this one is working fine in both plus and viewer in development instance and not working in PROD instance.
Please help me out.
thanks.Update
Hi Guys the report is working fine with cross tab . Its giving the above error when ever I click the Drill to link which takes to the another detail report.
thanks in advance -
Calendar with Drill Down Report
Hello,
Everybody.
I am new to Application Express.
Please any one tell me step by step how to make calendar with drill down report.
Waiting for valuable reply.
Thanks
RahulNot sure if this is what you wanted, but I have links on a calendar, and when you click them, it branches to another page with details about the event.
To do this, create a calendar region. The SQL statement should have at least 2 columns: The date of the "event", and the text to display as a link. You should also choose a primary key that you want to pass to the drill down report when the user clicks. Something like this:
select hiredate date_scheduled,
ename display_column,
empno
from empIn the calendar attributes of that region, there is a place to designate which column is the date, and which should be displayed. Go down a little further and set the column link. Put the page you want to show the drilldown report on, and set any variables you need to.
Hopefully that helped. Its pretty simple once you play around with it - start simple and then once you get the hang of it, make it more complex. -
Exporting a Report to a pdf file with drill down!
Hi,
I would like to export a Report to a pdf file.
My Report includes drill down options. I require the exported pdf with drill down options.
(Similar to Navigation options in a PDF file).
I hope this makes sense.
Please provide a better solution for me.
If am not wrong, this facility is not available with Crystal Reports!!!
Thanks,
Ramesh.Hi Ramesh
You can download the trial versions of the Crystal Report from the following link:
https://websmp202.sap-ag.de/support (Please copy the link and paste it to your web browser).
You can get the license by putting a request in the follwoing link:
https://websmp202.sap-ag.de/support(Click on Request License key under Service Corner).
Hope it helps.
Regards
Sourashree Ghosh -
How to insert "%" into the report figure in report painter/ drill down
Please kindly advice how to insert "%" in the calculated amount in the report painter/ drill down report.
Thank you
SirirakHi,
Create a text variable (for query name, option available in query properties).
Processing Type would be Replacement path, replace with variable.
Give the variable name created for the selection box characteristic in 'Replace with variable' option.
This would replace value of the text variable with the user input value.
Hope this helps! -
Drill down needs to run different request
An existing 5-level drill-down request must be changed to display a different report on drill-down from level 3 and produce this report through level 5. The different report differs in the columns it contains as well as the style and content of the graph. Since the different report is particular to the unique value at level 2, this value must be furnished to the level 3 report for filtering.
I am new enough to the Siebel Analytics/Oracle OBIEE tool that I dont know where to begin looking for an approach to this. Any help you can provide will be appreciated.
CliffHello Cliff, I dont have the BI in front of me but the concept is this:
Instead of creating one report and drilling down the 5 levels
You create 5 reports each report showing what you would want to see in that 'level'. Then instead of drilling down you navigate from the first repor tyou created to the second one and then from the second to the third etc.
If you want the reports you navigate to to be filtered by the value you click on you can filter them as "is prompted".
Navigation can be found on properties>column properties>column/value interaction i think in the criteria. You set the repoirt you want to navigate to when the user clicks on a field. You can also enter multiple navigaation targets.
regards,
Kostis -
What is the difference in Interactive reports and Drill down reports?
What is the difference in Interactive reports and Drill down reports? Are they same?
Hi FRD ,
Both are same .
as far as i know there is no difference .
bye . -
Problem with drill down in time dimension - OBIEE 11G
Hello There,
I have a problem with drill down in time dimension. The hierarchy for time dimension is " Fiscal Year---> Fiscal Quarter---> Month(Name)--->Date". When I select a Time dimension and click results its getting opened in a Pivot table view. The problem here is, when I click the "Total" its getting drilled down to Year ---> Quarter but when I click on "+ sign next to quarter" it should drill down to month for that particular quarter for that particular year but its drilling down to month for that particular quarter for all years.
Any suggestions are much appreciated.
Thanks,
Harry.1.) Congrats for resurrecting a year-old thread.
2.) Your answer is here: "Check the level key of the quarter level...it should include both quarter and year columns. Since a specific quarter occurs every year, quarter column alone can't be used as the level key."
Maybe you are looking for
-
How do I get rid of deactivation error 194:1 in Adobe Acrobat Pro ver 9
How do I get rid of deactivation error 194:1 in Adobe Acrobat Pro ver 9 It happens on multiple PCs
-
Problem with Dynamic Converter
Hi All I am new to Dynamic Converter. I want to convert a .doc and .txt file to html and pdf when I check in. For that I have installed Dynamic Conveter on my CS (10gR3 on linux). Now when i click on Get Conversion link on Content Info Page it gives
-
JSF Problem: Command Button
Can you have a Command Button action event take you to a url? If you can how do you do this, for me it keeps taking me to some default file on my "C" drive (C:\rave\rave)
-
Hi I want to add one custom field in SAP material master table MARA also would like to display this field in MM01/MM02/MM03 screen. Appreciate your expert comments. Regards, Ashwin
-
Arch Linux Packages RSS Feed [solved]
Hello all. Excuse me, but I have no idea in which forum I have to post this. Since yesterday, the Arch Linux Packages RSS Feed is giving me this error: XML Parsing Error: not well-formed Location: http://www.archlinux.org/rdf_feed.php Line Number 75,