Passing record group (data_parameter) to reports server
Hi Frank,
I am using web.show_document for passing parameters to reports.
It is working fine with text_parameter.
Is it possible to pass record group thro' web.show_document?? If not possible,give alternate solution by example.
Regards-
Onkar Vidwans
INDIA
Hi Mandeep,
Could you please tell me how can i pass data parameter from forms to report through run_product.
Similar Messages
-
Passing record group to the report...
Hi
I am using form 6i ..
I have got error while passing record group to the report
Here is the code... , I Wrote it when_button_pressed trigger
declare
pl_id paramlist;
begin
pl_id := Get_Parameter_List('tmpdata');
IF NOT ID_NULL(pl_id) then
destroy_parameter_list(pl_id);
end if;
pl_id:=create_parameter_list('tmpdata');
ADD_PARAMETER(pl_id,'NICE_QUERY',DATA_PARAMETER,'NICE_REC' );
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
RUN_PRODUCT(REPORTS,'E:\DEPT',SYNCHRONOUS,RUNTIME,FILESYSTEM,PL_ID);
The error is frm-47012 There is no record group with this name nice_rec......
ThanksThe error message (FRM-47012) is very specific. Do you have a Record Group defined in the Record Group Node of the Navigator called 'NICE_REC'?
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks! -
How to pass record Group from Forms with DATA_PARAMETER to Reports Server
How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
Thanks,
ArifHi Mandeep,
Could you please tell me how can i pass data parameter from forms to report through run_product. -
How to Pass Record Group to Reports Server ?
How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
Thanks,how come the online help in forms 10g says you can?
or am I missing something.
there is a section on it.
>
Passing Record Groups to Reports or Graphics
You can pass a record group to Reports or Graphics as a DATA parameter. This DATA parameter is a special type of parameter that gives a signal to the integration code to substitute the contents of the record group whose name you give for the results of the query named by the query name you indicate. -
Max processing time or Max records limit reached (Crystal Reports Server)
Although my report runs fine from with Crystal Reports (designer), I get an error when I try to run it from the Crystal Reports Server portal.
I get an error u201CMax processing time or Max records limit reachedu201D.
How can I solve this problem?
Iu2019m accessing a DB2 database on an iSeries Server thru ODBC. I know that the report uses a lot of data. Therefore I have set u201Callow query timeout yesu201D within the ODBC data source. The data connection itself is not the problem, I have no problem running other reports on the same connection.
PS. A do not know whether or not this is the right forum for my post. I first posted within "Java Development - BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server" but I did not get any response.I found the answer to my problem:
1) Log onto the CMC
2) Goto "Servers" in the dropdown menu
3) Expand "Service Categories"
4) Select "Crystal Reports Services
5) In the right window will be listed the currently running services. The 2 services that Dell mentioned are in there under "Description": CrystalReportsProcessingServer and CrystalReports2013ProcessingServer
Hope this helps somebody else. -
Pass DATA_PARAMETER to Report in 10g
I have a form which will pass a Record Group to the Report as a parameter list, it works in 6i but when I migrate to 10g,
the report cannot be run.
In the Form :
A record group named 'Q_QUERY'with 2 columns named 'APPLY_AGT' & 'STATUS' was built and populated.
l_Param_Name := 'Q_QUERY';
l_Param_Value := 'Q_QUERY';
add_parameter (l_PARMLIST_ID, l_Param_Name, DATA_PARAMETER, l_Param_Value);
Then will call the report using RUN_REPORT_OBJECT
And just before calling the report , I am sure the data is already in the Record Group.
In the Report :
A Queries named 'Q_QUERY' as the Data Source
And there is just 2 columns named 'APPLY_AGT' & 'STATUS'
If I run as above, the system will show "Unable to Run Report".
If I removed the "add_parameter (l_PARMLIST_ID, l_Param_Name, DATA_PARAMETER, l_Param_Value);" statement,
the report can be called successfully.
Am I missed something or it really can't do this in 10g ?
Fyi, I have checked the TEXT_PARAMETER can be pass to report successfully, just DATA_PARAMETER can't.
Please help, thanks!Use the following URL to see the exact reprt error in the server:
"http://*rep_server:portno*/reports/rwservlet/showjobid*XXXX*?server=*rep_server*&statusformat=xml"
just replace the words between *s with their values. It will give u an idea as to what went wrong. -
Report server run problem (urgent plz)
i am using developer9i, xp opereting system but i am not able to run report server . infact i dont know where report server reside and how configure report server. otn discussion forum gave me below instructions but i need step by step detail to run report server.
pls help me.
i want to see (Please reffer to Note:204538.1 on
Metalink ) but i could not access metalink.
registration does not alow me. i have no country on
country list and no Support Identifier (CSI, SAC,
Access Code etc.) . but i need access.
please help me. access with path
thanks
mostafizDear see this information this is metalink information
Note:204538.1
Subject: Common Reasons & Troubleshooting: "Unable to communicate with the Reports Server"
Type: BULLETIN
Status: PUBLISHED
Content Type: TEXT/X-HTML
Creation Date: 22-JUL-2002
Last Revision Date: 08-MAR-2005
PURPOSE
========
The main purpose of this document is to list the known causes of the "Unable to
communicate with the Reports Server" error. The terms Reports Server, CGI,
Reports Servlet are also described briefly for a better explanation of this error scenario.
This document includes the following sections :
I. Brief summary on the architecture of Reports Server, CGI and Reports
Servlet
II. Sources of errors encountered when running a report with Reports Server
III. How the CGI (or the Reports Servlet) communicates with the Reports
Server
IV. Possible reasons which lead to "Unable to communicate with the Reports
Server" error.
1) Reports Server is up and running
2) tnsnames.ora and sqlnet.ora problems
3) Effect of parameter "ORACLE_HOME"
4) Effect of parameter "maxconnect"
5) Passing very large parameters to reports server
6) A case specific to OAS 4.0.8.2
7) A case specific to WEBDB version 2.1.0.9.3
V. References
I. Brief summary on the architecture of Reports Server, CGI and Reports Servlet
=================================================================================
In order to understand the causes of the error "Unable to communicate with the
Reports Server", let's first briefly review the Reports Runtime Engines, Reports
Server, the Reports CGI, and Reports Servlet architecture.
There are 4 important layers in Reports Server architecture which should be
understood in order to clearly understand the error "Unable to communicate with
the Reports Server" :
1) The Runtime Engines : This is the main layer where the reports are actually
executed. On unix systems there are "rwrun60" and on NT systems there are
"rwrun60.exe" processes.
2) The Reports Server : The Reports Server recieves the job request and queues
it. When one of its runtime engines becomes available, it sends the
command line to that runtime engine for execution. On Unix systems it is
the "rwmts60" executable and on NT systems it is "rwmts60.exe".
3) The Reports CGI : The Reports Web CGI passes the request to the Reports Server.
The Reports CGI or Servlet converts the request to a command line that can be executed by the Reports Server and
submits it to the specified Reports Server. On Unix platforms this executable
is "rwcgi60" and on NTs it is "rwcgi60.exe.
4) The Reports Servlet : Its functionality and function is just the same as "Reports CGI", but it is
a program written in Java as difference to the CGI program (which is
written in C programming language).
The Reports Server may be running on the same server with the CGI program (or
servlet) OR may reside totally on another machine which does not necessarily have
the same Operating System. For instance CGI may reside in a Windows NT machine
while the Reports server may reside on a Unix box, or any other combination with
Unix-Linux-NT-2000, etc.
The reports are called with a URL similar to below with the CGI :
http://fully.qualified.server.name:PORT/dev60cgi/rwcgi60.exe?server=<REPSERVER>&other_parameters=...........
where fully.qualified.server.name is the name of the server where the Reports CGI
reside, and <REPSERVER> is the name of the server.
II. Sources of errors encountered when running a report with Reports Server
============================================================================
The Reports Web CGI (or the Reports Servlet) makes a call to the Reports Server
and asks it to place the output into some destination (defined by DESTYPE and
DESNAME parameters), then gives back the necessary response to the calling
program. For example if the DESTYPE is "cache", then the Reports server generates
the report to a file in a temporary place and gives it back to CGI and the CGI gives
it back to the calling program. Otherwise, if the DESTYPE is "file", the Reports Server
generates the report output to the requested file and the CGI replies back the
following message : "Report output was successfully written to requested
destination.".
If there is any error in this process, the related error message is returned. The
possible sources of errors can be categorized as follows :
1) The errors that are returned from Reports Server; like the Reports Server can
not find the requested RDF file or the report may be run to file and the
directory where the reports output is asked to be placed does not occur or
similar errors. (Usually the REP-XXXX errors)
2) Another possible cause of error is the errors returned by the RDBMS to the
Reports Server, for example a table not found error or things like that. Of
course from the CGI point of view these errors are again transmitted from the
Reports Server but in fact the error originates from the RDBMS. (Usually the
ORA-XXXX errors)
3) Another possible cause of errors is the CGI itself, for example when the CGI
executable can not connect to the requested Reports Server, then we get the
famous "Unable to communicate with the Reports Server". In this document we will
diagnose the common reasons of this last error.
III. How the CGI (or the Reports Servlet) communicates with the Reports Server
===============================================================================
Having said that "Oracle Reports Server CGI - Unable to communicate with the
Reports Server." error is returned back from the CGI itself, let's discuss the
issue of how the Reports CGI connect to the Reports Server. The name of the
Reports Server given in the URL with "server=....." parameter is, in fact, just
a special tnsnames alias, similar to aliases for database connect strings. As it is
important for the CGI to resolve the alias, the CGI needs to know the HOST name (or the
IP) of the machine where the Reports Server is running and the port on which the
Reports Server is listening. So a typical Reports Server alias is defined as follows :
REP60_<MACHINE>=(ADDRESS = (PROTOCOL = tcp)(HOST = <MACHINE>)(PORT = <PORT>))
This is defined in tnsnames.ora file, and the sqlnet.ora file is also used in
the name resolving operation.
IV. Possible reasons which lead to "Unable to communicate with the Reports Server" error.
==========================================================================================
The possible reasons for the "Unable to communicate with the Reports Server" error :
1) Reports Server is up and running :
Make sure that the Reports Server is really running on the specified server
and listening on the specified port. For details have a look at above
explanations for tnsnames alias of the reports server. And because of this the
CGI could not establish a connection to the Reports Server.
2) tnsnames.ora and sqlnet.ora problems :
As described above, the CGI resolves the details for the reports server using
the "tnsnames.ora" and "sqlnet.ora" files. There may be a problem with them,
here are the possible configuration problems :
a) There is no alias in the tnsnames.ora file for this Reports Server
b) The CGI looks into the wrong directory for the "tnsnames.ora" and "sqlnet.ora"
files. By default the CGI checks the $ORACLE_HOME/net80/admin directory for
these scripts, where the $ORACLE_HOME is the home of the Forms & Reports
installation. Please note that in a typical 9iAS 1.0.X installation there
are two ORACLE_HOME's, one is for the iAS and the other is for the tools,
usually the home for the tools is a directory with name "806" on NT and
"6iserver" on unix systems. By defining TNS_ADMIN in the environment, one
can override the search path for these two files.
The TNS_ADMIN variable can be defined in one of the following places :
i) In the environment : On MS Windows platforms check the "Settings
--> Control Panel --> System". On NTs check the environment TAB and in
Win2K systems check the "Environment Variables" button on Advanced tab.
ii) In "6iserver.conf" file. Details are as follows : The main configuration
file for Apache server is "httpd.conf" file which resides in
$IAS_HOME/Apache/Apache/conf directory. In this file there is a line to
include "oracle_apache.conf" and in this "oracle_apache.conf" file
there is a line to include "$ORACLE_HOME/conf/6iserver.conf" file. And
in this file the TNS_ADMIN variable could be defined as follows :
SetEnvIf Request_URI "rwcgi60" TNS_ADMIN=c:\orant\network\ADMIN
Please note that by defining it this way, the TNS_ADMIN will only be defined
for "rwcgi60" calls, so the other parts of the 9iAS will not be affected by
this setting.
c) In sqlnet.ora the "names.default_domain" is set but in tnsnames.ora the
domain is not defined in the alias description. For example if the
"names.default_domain=world" is present and active in "sqlnet.ora" file
then in the "tnsnames.ora" the alias of the reports server should also have
the ".world" extension appended at the end. And another cause is of course
the vice versa for this. If there is no "names.default_domain" is defined
in the "sqlnet.ora" then the alias in "tnsnames.ora" should not have the
domain extension.
Another important point that should be checked is, if TNS_ADMIN is defined
as described above then the search path is as follows, first the directory
defined by TNS_ADMIN is searched, if the "tnsnames.ora" file is not found in
this directory then $ORACLE_HOME/net80/admin is checked. (And on unix systems
/var/opt/oracle is also checked). These directories are only checked if the file
is not present, so if the "tnsnames.ora" file is present in TNS_ADMIN directory
but the alias is not present, then the other directories are not checked at all.
Let us assume that the tnsnames.ora file is present in the TNS_ADMIN directory but
there is no "sqlnet.ora" files here, then the sqlnet.ora file is checked in
$ORACLE_HOME/net80/admin directory, which could cause the same problem if the
"names.default_domain" is defined in this file.
All the above will result in, CGI to unable to resolve the alias in tnsnames.ora
file so it will not be able to establish a connection to the Reports Server.
3) Wrong "ORACLE_HOME" setting :
Wrong ORACLE_HOME setting. This is usually the case for Reports Servlet,
because the environment settings are defined in "jserv.properties" file for the
servlets and the setting here will effect both the Reports Servlet and the
setting for Oracle JSP and other servlets. So the other servlets or Oracle JSP
may need to set ORACLE_HOME to home of HTTP server while the reports server needs
it to be set to the TOOLS_HOME directory. In this case the best alternative is
not to set ORACLE_HOME in this directory and leave it to registry or defined the
ORACLE_HOME in "6iserver.conf" file just like the TNS_ADMIN defined above. For
details please have a look at the following document :
Note 179609.1 "Getting an error Unable to communicate with the Reports Server
using RWSERVLET"
4) Effect of parameter "maxconnect" :
Another common case for this error is that the CGI request reaches the Reports Server but
the Reports Server refuses connection. The main cause for this case is, that the Reports Server
configuration parameter "maxconnect" is defined too low, there are long running reports on the
server or the server is too busy at that time. Usually a second try some
later time results in a successful connection. If this is the case, the end user
may think that the problem is occasional. For details on this case please
have a look at the following document :
Note 125265.1 "Unable to communicate with the Reports Server"
5) Passing very large parameters to reports server :
Another known reason for this error is, if you are passing large parameters
to the Reports Server which exceeds sqlnet transmission blocks then the request may
end up with this error. To test it try with small parameter values. If you hit
this case, the solution is to increase the SDU (Session data unit size) and the TDU
(Transport unit data size) parameters in tnsnames.ora file, for details please
have a look at the following document :
Note 197358.1 "Passing large parameters to Reports show up a Reports Server
error"
6) A case specific to OAS 4.0.8.2 :
If you are using OAS instead of iAS, and the error appeared after
upgrading to 4.0.8.2 then this is caused because the 4.0.8.2 is using RSF
(Required Support Files) version 8.1.6 and the Reports 6i is using 8.0.6 and the
two could not reside in the same ORACLE_HOME directory. So the solution for this
problem is to create a new batch file and use it from which the actual CGI
executable is called. For details please see the following document :
Note 116754.1 "After applying OAS 4.0.8.2 CGI and Cartridge cannot communicate
to report server"
7) A case specific to WEBDB version 2.1.0.9.3 :
Another known case for this error is with WEBDB version 2.1.0.9.3 or less.
If you are using these old versions of WEBDB as HTTP listener, please have a
look at the following document :
Note 95426.1 "URL Not Found When Calling Oracle Developer Report from WebDB Site"On Windows you can create a Report Services:
rwserver -install server=repserverYou have to choose different names for all servers, like your collegue cannot create a server with the same name. You can start/stop this Report server in Services (control panel). Configuration files can be found under $ORACLE_HOME/reports/conf
Martin -
Most urgent:::: passing parameter list to reports containing record groups
hi
can any one help me , i am getting frm-41214 when i pass a paramter list containing record group as data parameter to run_report_object as parameter, calling report from forms 10g, but when i dont pass the parameter list the report runs displaying no data(as it should do), otherwise it dont run and display the frm-41214
zulfiqarHi!
To suppress Oracle Reports native Parameter Form just add:
add_parameter( pl_id, 'pARAMform', text_parameter, 'NO' );
Andrew Velichko
Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com
null -
hi
can any one help me , i am getting frm-41214 when i pass a paramter list containing record group as data parameter to run_report_object as parameter, calling report from forms 10g, but when i dont pass the parameter list the report runs displaying no data(as it should do), otherwise it dont run and display the frm-41214
zulfiqarHi,
Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
Thanks,
Kimosabe -
Pass Records to Oracle Reports
Hi,
Lets say that I've already fetched a set of records on Oracle Form, I want to pass these records to a Report " on the Report I don't wana use range or where clause to give me these records"
In other way I just want to pass these records on the reports.
Any ideas how to do that please?
Thanks!Francesco,
If you need to send output to the cache, the easiest way to do this is to use the UTL_HTTP package in the database to request a report using a URL just as you would do in a browser. By submitting the request to the report server, you can execute these requests in parallel (unlike srw.run_report, which runs one thing at a time) and also control resource consumption.
If you output the data in XML format, Reports won't generate an empty page for output. (On the other hand, it will generate a file containing XML....)
Hope this helps,
Stewart -
Pass parameter to reports server
1 â Iâve created a report with the following query
select * from scott.emp where depno = :pdep
2 â then I configured an oracle portal to access this report
3 â then in the portal in the tab optional parameters I put the parameter pdep
4 â Executing through the option Customize in the portal, putting a value to the parameter pdep, the report runs perfectly
5 â Runnig the report through a pl/sql like:
htp.tableData(htf.anchor('MANAGER.RPT_BOLETO.show?pdep=' || i..deptno,htf.img( './docs/FOLDER/GESTETNER/IMGS/B.GIF', calt => 'GERAR BOLETO BANCARIO', cattributes => ' border=0"')),'center');
I get the message PARAMETER MISMATCHE
6 â I observed that if I change the parameter p_pdep the error doesnât happen, but the parameter donât go the report server and the report comes blank
How can I pass this parameter to reports server?Hi Mandeep,
Could you please tell me how can i pass data parameter from forms to report through run_product. -
How to hide Group Tree in Crystal Report Server.
Hi all visitors
i have created one crystal report and my report use group to summary the amount of each day.
after i use group to summary, i used text box cover the group. so my group can't click anything.
After that i upload my report to crystal report server, when i viewed my report and when i click on Group Tree, it will show the list of group (group date in crystal report) and it also can click. I don't want to show the Group Tree in Crystal Report Server.
Anybody know how to hide group tree in crystal report server?
Best Regards,Are you talking custom application, or infoview? If it is custom app, you would have to look at the setToolPanelViewType method. if its infoview, no direct way to change this that i know of.
-
SQL Server 2012 Reporting Server Default USER group instance missing
Hi
We have installed SQL Server Reporting Services 2012 on Windows 2012 Server and we can’t see any SSRS default group on windows server group list say something like (SQLServerReportServerUser$TestServer$MSRS11_50.MSSQLSERVER)
created as part of the installation
we are migrating SQL Server 2008 R2 to SQL Server 2012, we were able to see default group for Reporting Server has been created in the earlier versions like SQLServerReportServerUser$TestServer$MSRS10_50.MSSQLSERVER
Can you please assist whether we are missing anything in the SQL Server 2012 installation, this needs to be fixed as part of Report server user authentication
Thanks,
HarishHello,
You can use roles:
http://msdn.microsoft.com/en-us/library/ms156406.aspx
http://msdn.microsoft.com/en-us/library/ms159820(v=sql.110).aspx
http://msdn.microsoft.com/en-us/library/ms156014.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Moving the Reporting Services and Report Server DB into AlwaysON Availability Group
I have configured the new set of SQL 2012 AlwaysOn Availability Group and need to move the SSRS and it's Report Server DB into that Availability Group.
Can anyone give tell me the steps to do this move?
Can I just backup the ReportServer DB into the AG server then import that DB into the SSRS running on the new AlwasyOn AG SQL?Hello,
Based on your description, it seems that you want to move the Report Server database to a different server. If so, both the reportserver and reportservertempdb databases must be moved or copied together. You can move the databases by using Detaching
and Attaching or Backup and Restore.
What's more, you should also backup the encryption keys for the report server database you want to move and then restore to the new server.
You can configure report server databases in Always On Availability Group to be part of a replica; however Reporting Services will not automatically use a different replica for the report server databases when a failover occurs
Reference:
Moving the Report Server Databases to Another Computer
Reporting Services with AlwaysOn Availability Groups (SQL Server)
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Dynamically pass the username and password to report server to invoke reports
Hi
The scenario is as follows:-
9iAS is installed under - Windows 2000 (web server and report Server 6i) and everything works fine.
We have developed a page using pl/sql cartrige (oracle 8i), from that a report is invoked with some parameters. However, the userid and password is stored under keymap file (cgicmd.dat).
Is there anyway to pass dynamically the username and password to report server in order to invoke the report.?
Can any one advise?
nullCheck out
http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com
Maybe you are looking for
-
Save layout option for FITRV_PRINT_TABLE_CONTROL_DATA
Hello, I need to print table control data ,for this am using FITRV_PRINT_TABLE_CONTROL_DATA My requirement is now to have the option to save the layout which is generated after calling this function module. currently 'save layout' is not shown in the
-
I want to upgrade my phone to the new software and it says that I have purchases from my phone not added to my itunes library, so when I go to the songs they are all grayed out and I cannot download. So please help me.
-
Newer Version???
When I launch iPhoto it says I can't open my current photo library using this version of iPhoto. "You can't open your current photo library using this version of iPhoto. You have made changes to your photo library using a newer version of iPhoto. Ple
-
Hello, I am trying to optimize network traffic on our firewall with multiple interfaces. I am trying to understand the output of vmstat -i and what it means. Here is a sample output: $ vmstat -i interrupt total rate clock 741511658 100 qfec0 82563472
-
Can I use the songs that come with adobe Premiere Elements for commercial use/film?
Can I use the default songs that come with adobe Premiere Elements for commercial use; such as in a film?