Passing Mulitiple Parameters in a Drill Down Report
Hi,
I can pass single parameter in a Drill Down Report..
But i cant passes more then one parameter at same time,,
Example.
First I tried Dates passes to another Report its work
srw.run_report('report=D:\REPORTS\LIST_OF_DISBRUSTMENTS destype=screen paramform=yes
SDATE='||TO_DATE(:SDATE)||'');
Now I want SDATE with 2 other parameters that are
Acct_MGR and EDATE...how can i use them in Drill Down Report..
I tried as Much I can but Parameter hasnt pass properly.
did you try using + sign, e.g.
.....+Acct_MGR=:acmgr+EDATE=:enddate
Similar Messages
-
Passing Filter criteria parameters to drill-down reports
Hi,
I have a scenario, where my base report prompts a filter criteria for date range (from & to date) based on this criteria, I populate my base report with data's.
Suppose if i have a drill-down, can i make use of the filter criteria value selected in the base report and pass the same value to my next-level drill-down report as criteria.
Please let me know if this is possible. Also, let me know if there is any alternate approach available to achieve the same.
My environment details are provided below.
BAM (11.1.1.3)
Report: Summary crosstab
Any help would be greatly appreciated.
Thanks & regards,
DKHi pypawar,
Thanx for ur reply.
We are not using heirarchical drilling in our case, we are using another report for drill-down.
I will give some more background for this issue.
We have a scenario where we used the date filter for getting the from and to dates based on which we display our Master report (cross-tab).
Further, when drilling down from the master report to child report(which uses the same dataobject as master); we are not able to pass the dates input that were provided in master report as filter criteria.
While assigning parameters in the drill-down for the child report, we are not able to find an option to pass the date value selected in the master report to child report for filter criteria.
In an alternate approach, what we did to resolve the above issue was to pass the primary key fields of the data object while drill-down. But while passing primary keys, we realised there are cases where large number of values are getting passed as filter criteria to child reports and in some case it fails since there large number values getting passed as filter criteria.(in our case the chance of this value could be few 100's to 1000's). You can find details for this error in CACHEEXCEPTION during drill-down in BAM reports
Please let me know if this is possible. Also, let me know if there is any alternate approach available to achieve the same.
Any help would be greatly appreciated.
Thanks & regards,
DK -
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 -
Unable to pass parameter from a hyperlink in drill down report
Hi,
I have created a drill down report.
Master report has a column with hyperlink
with url to call detail report.
"http://webserver/dev60cgi/RWCGI60.EXE?item+the_prodid=200376"
when i see the detail report i get the value of the_prodid parameter as null.
any help will be highly appreciated.Thanks very much.
It worked for me also.
Now i am getting here something new
i have wrriten a function which returs javascript and i this is being passed to report using before report trigger.
I am using
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text) tag to do this.
When i run this report from report builder it works fine but when this is invoked from
a report server i get a blank page and the window status says tranferrring data from webserver nothing comes up.
Now when i remove the contents of before report trigger it works fine.
my before report trigger conetenst are
function Before_Report return boolean is
HTML_Text VarChar2(32000);
begin
HTML_Text := '<html> ' | |chr(10)| |
mainpagejavascript| |
'<body dir=LTR bgcolor="#ffffff">'| |chr(10); -- for 6i the body tag dir=&Direction would work and be set at runtime
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text);
return (TRUE);
end;
mainpagejavascript function returns
<script language="javascipt">
function test()
alert("I have a problem");
</script>
can anybody help me out in this.
Thanks in advance
shailesh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Haithem Abdelkefi:
Yes, the drill down works.
We have a field with this Format Trigger.
function F_EQP_GRPFormatTrigger return boolean is
begin
srw.set_hyperlink (:p_url| |'&report=INP-A2.2.rep&p_eqp_grp='| |:eqp| |'&desformat='| |:desformat);
return (TRUE);
end;
Haithem<HR></BLOCKQUOTE>
null -
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 ( -
Multi-Use Drill Down Reports?
Hi,
I'm just starting out with reporting in SSRS so this may be a silly question but I'm struggling to find a way to do what I want :)
I have a large graphical report with several top 10 reports on different a cube. (eg. top 10 number of events, top ten numbers of computers affected)
I want drill down reports for both the Event Name and Computer Name, also to be able to click on the header of the report and get a complete unrestricted report. I have created a drill down report that has all the data and if I choose one item (say computer
name) I can drop down to the drill down and filter the table in that with the computer name and return any results for that computer. I cant figure out how to have a secondary link that passes a wildcard to returns all results. I'd also like to have the ability
to send an event name to the same drill down and a wildcard for the computer name. However I cant figure out how to get the filter on the table to accept any wildcards.
I dont want to have to create multiple reports for each of the different drilldowns, is this possible? (Easy to understand answers for a newbie if possible :) )Hi Chris_C2000,
If I understand correctly, you have configure “Go to report” action in your report. It is Drillthrough in SSRS. You want to pass a value link to the corresponding report. We can add parameters in the drillthrough report, then pass parameters values to the
report.
I have create a simple report in my test environment. Suppose we have the same dataset (DataSet1) in main report and subreport with two fields: CalendarYear, SalesAmount. Please refer to it.
Subreport:
Add a table in the report body, fill with CalendarYear, SalesAmount fields.
Add another dataset (DataSet2) with CalenderYear field.
Add a parameter (CalenderYear) get Available Values from DataSet2 CalenderYear field.
Add filter in the DataSet1, with values below:
Expression: [CalenderYear]
Operator: =
Value: [@CalenderYear]
Main report:
Add a chart in the report, fill SalesAmount in the Values dialog box, CalenderYear in the Category Groups dialog box.
Right click the bar in the chart, click Series Properties.
Click Action in the left pane. Select “Go to report” option.
Select the subreport below “Specify a report” prompt.
Click Add icon below, and fill with following values:
Name: CalenderYear Value: [CalenderYear]
Then, when we preview the report, we can click the specific bar link to the subreport get the corresponding data.
Reference:
http://technet.microsoft.com/en-us/library/aa337477(v=sql.105).aspx
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Drill Down Reports - Very Urgent
I have the following situation.
I want to create a drill down report and pass parameters from the
master report to the detail.
I built 2 simple tabular reports Drill1 (master) and Drill2 (detail). I have placed a button in the repeating frame of the Drill1 report, and I wrote the following code in its trigger:
srw.run_report('report=DRILL2');
I have tested the report and it works just fine.
But .... I want to pass as a parameter to the second report the value of a field. According to the documentation I shall change the button trigger to
srw.run_report('report=DRILL2 paramform=No p_1=''' || :field1 || ''''); -- (the value is a string)
I did so but it gives me the REP-0159 error. Am I doing something wrong?
Note that I am using reports version 6.8.12.1
Thanks
Ioannahi Ioanna,
The Problem seems to be with the quotes in your srw.run_report command line . The appropriate commandline should be
srw.run_report('report=DRILL2 paramform=No p_1='||:field1||' ... <rest of the cmd line >');
( note the quotes before / after ||:fie1d1|| .. )
Regards
Oracle Reports Team -
Drill down reports using SVG component
I've created and dynamic report and an SVG chart following the examples of the tutorials. I was wondering if, and how, it was possible to create drill-down reports i.e report on colour, then clicking on that colour would reveal the types of car and so on. Does anyone have an example?
Thanks
DarrenDarren,
The query for an SVG chart requires 3 columns: Link, Label, and Value. You use the Link value to provide a link to another page. This link can also pass parameters to the next page.
If you set up a page for each "level" of your drill-down (e.g. color, type of car, etc), you can link from the higher-level page to the lower level page and pass the value that was clicked on in the chart.
Take a look in the HTML DB User's Guide for the section about "Using f?p Syntax to Link Pages": http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#BEIJCIAG
You would use that syntax in the Link column of the query for your chart. Here is part of a query I used to drill down from one pie char to another (on page 3), passing the selected project to a variable called P3_PROJECT.
select 'f?p=&APP_ID.:3:&SESSION.::NO::P3_PROJECT:' || Project L,
Project, sum(Time)
from v_timesheet
where ...
Does that help? -
Export current view or drill down report
Post Author: Rainer
CA Forum: Exporting
My Enviroment: CR XI, Delphi, ActiveXReportViewer Hello together,how can I export the current view or a drilled down report with the COM object.I didn't find a way to get the current view object (IReport) I think there must be a solution, because the default export method can export the current view.Thanks RainerPost Author: jarrodnewman
CA Forum: Exporting
My setup isn't exactly the same but this might help you: I had this problem with Crystal.Net in Visual Studio 2005. This link helped me resolve it. http://diamond.businessobjects.com/node/1956
My export routine used to just export the ReportDocument object. But this object does not contain any information on the currently displayed group level. So when I built a report modeled very closely after the sample 'World Sales Report.rpt' my export routine would only export the main view even if I was drilled down into other group levels of the report. I learned that the CrystalReportsViewer object is what contains the drill-down level in the ViewInfo.ViewContext object. So the link above solved this for me.
As a side note, I also had to manipulate suppressing and unsuppressing sections on export which can't be done via the CrystalReportsViewer object. So I had to save a copy of the current ViewInfo object to local variable. Then I modified the ReportDocument object to unsuppress and suppress certain sections. Then I set this modified ReportDocument object as the RecordSource of the CrystalReportsViewer object and passed as parameters the new NonHTTPCachedReportSource object and the saved ViewInfo object to my new export routine. This allowed me to preserve the drill-down view properties but apply it to a different ReportSource. I can supply (c#) code if needed. ( I don't usually show the ReportHeader or PageFooter sections in my online view of reports but I need to show them when I export a report)...
- Jarrod ([email protected]) -
Hi,
I'm using reports6i.
I want to create a drill down report, the main report is AgentDetails.rdf , in that i've placed a button to call AgentContacts.rdf.
But i want to pass parameters from AgentDetails to AgentContacts. So what code i need to write for the buttons action?
Please guide me how to do this?Hi,
I've written this in the PL/SQL of the button
procedure U_1ButtonAction is
begin
srw.run_report('report=AgentContacts.rdf
p_code='||:AMR_CODE||' P_company='||:P_COMPANY||' P_catg='||:P_CATG||'
P_USER='||:P_USER||' paramform=no');
end;But i'm getting these errors
REP_0159:Syntax Error on Commandline
REP-1428:'u_1buttonaction':Error While Running SRW.RUN_REPORT
Please Help -
Parameter Problem with Drill down reports
Hi,
I have created a drill down report.
I have a master report which list all the employee names and a detail report which list the contact details for each employee selected.
The URL looks like this http://webser/dev60cgi/rwcgi60.exe?detail&p_empid = 1200
detail is a kepmapping entry in cgicmd
this does not work and the detail report does not get the p_empid value.
Now if i enter the compelete url like http://webser/dev60cgi/rwcgi60.exe?server=rep_ss&report=det.rdf......
it works.
Any suggestions !
Thanks,
Shailesh
nullHi,
I got this resolved by using javascript and doing explicit form submit. As our information is highly secured we don't want the users to see any of the URL links from href, browser or from view source.
I got the first two resolved but when i do a view source i could se in header sections of html view souce the follwing code
<head>
< base href="http://webser.../522222.htm>
</head>
is there any way using reports i can hide this.
Any help, suggestions or reference will be highly apprecaited.
Thanks,
Shailesh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by the oracle reports team:
hello,
did you specify the token %* in the CGICMD.DAT file so additional parameters are picked up from the URL ?
regards,
the oracle reports team<HR></BLOCKQUOTE>
null -
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. -
Drill Down Report using Crystal reports in eclipse and jspviewer
Hi
I want to understand how to write a drill down report since I have a requirement for my project, so I tried to run the sample drill down.rpt that is available with Crystal Reports 2008 Complete Reference book by George Peck.
I can see the results correctly( i.e. can drill down) in the preview tab . Since I am working inside the eclipse, the way I run the reports is first "Create report viewer JSP" by right clicking the report and have a url mapping to this jsp. I am running the reports from a hyperlink that maps to the url which will launch the jsp.
the jsp is:-
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="Drill Down-viewer" reportSourceVar="Drill Down" isOwnPage="true" allowDrillDown="true">
<crviewer:report reportName="reports/Drill Down.rpt" />
</crviewer:viewer>
The one that was created by "Create report viewer JSP" did not had "allowDrillDown" attribute at all .But I added it since it isnt working.
So when I launch my web app and click on the link to run the report, I get the report results but only to the summary level. When I double click the summary level I get a 404 error page.
Can please anyone suggest what is going on.
Thanks
poonamOk. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
CrystalReportViewer1.ReportSource = ("path to report")
End Sub
In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
crReportDocument.Load("path to report")
'Bind the report to the viewer
CrystalReportViewer1.ReportSource = crReportDocument
End Sub
If you have a report added to the project (strongly typed) the code would be:
CrystalReportViewer1.ReportSource = New myReport()
For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
The developer help files are here:
[SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
[SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
- Ludek -
Set headers for drill-down reports.
Hi!!!
The problem we have by now is when printing a report, selected characteristis are showed in header as "multiple values" instead of showing the real values that user have choose.
Does anybody knows how to set headers for drill-down reports in order to see selected characteristics?
Thanks in advance...
Adela Cambiasso.Sorry, me again...
I have found yet they way to show in the header the report parameters, I mean, the selection criterias that user used when execute the report... I was able to show selected characteristics inside de report but not the selection criteria...
Do you know what I have lost? or what to use for this?
Thanks again.
Adela. -
KCA0 - Convert Aspect for drill-down report in ECC6
Hello experts,
Do you know the steps to convert an aspect (for drill-down reports) from 3.0 to ECC6? And how to add it to the list in transaction KCR0 (Execute Drill-down report). SAP has mentioned transaction KCA0 for doing a conversion after the upgrade but I am not familiar with this transaction. Please help!
Thanks and Best regards,
ChuongHi,
You can use all the statements in HR also.
For getting the AB values,there are macros and function modules available.
Macros:
rp-imp-c2-b2.
You need to pass b2 key values before calling macro.For eg,
MOVE pernr-pernr TO b2-key-pernr.(since u r using LDB)
MOVE year TO b2-key-pabrj. (year you need to pass)
MOVE period TO b2-key-pabrp. (month)
MOVE '1' TO b2-key-cltyp.
have a look at these Function Modules also.
HR_WORK_SCHEDULE_TIMES
HR_TIME_RESULTS_GET
HR_TIME_RESULTS_IN_INTERVAL
HR_WORK_SCHEDULE_TIMES
Reward points if helpful.
Regards,
Manoj.
Maybe you are looking for
-
Hi All, I have a discoverer report based on a function, function is executed and insert the Data into Global Temporary table. When I try to execute the Function in one Discoverer TAB and Display the Data by SELECTING FROM Global Temporary table in an
-
help...
-
Determine the role of the logged in User
Dear experts, I am working on SRM 7.0 version, I want to determine wether the logged in user is an approver, buyer or a general user ( Role determination ). Can you please suggest a way for this. Thanks & Regards, Murthy
-
Outgoing mail appearing in Today smart folder
This isn't a major issue - however - I use smart folders in Mail and whenever I send out an email (reply or otherwise) that email temporarily shows up in the Today smart mailbox as it's being sent before being placed in the Sent folder. Any thougths
-
Shared Services(11.x) installation problem
hi on our dev environment we have uninstalled all the hyperion(9.2.x) components and have tried to install the hss of the new version(11x).But we are unable to install as its default taking the previous HSS schema(which has already been deleted). So