Find Report Name based on Report ID
How do I find out the report name based on the report id ('D12C939B-4309-4364-A025-BFDB5203EE0B')?
Hi Sudhir,
Based on my research, I find that the general properties of all the items (including Date Sources, Datasets and reports) on the report server will be stored in the Catalog table in ReportServer database. So that the report name (correspond to Name column)
and report id (correspond to ItemID column) also be stored in the table. If we want to select the report name based on the report id, we can use the query below:
use ReportServer
select Name
from dbo.Catalog
where dbo.Catalog.ItemID='D12C939B-4309-4364-A025-BFDB5203EE0B'
If you have any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
Find Userexit name based on Exit function module
Hi All,
Is there any way to find the userexit name based on the function module.
My exit function module is EXIT_SAPLATPC_001. I want to find the exit name.
Appreciate your help.
Thanks,
Jaffer Ali.SHi
This is the Exit Name: ATP00001 for the Exit FM you have given. I took the package name this exit FM is stored in the Attributes of FM in SE37. In the search criteria of SMOD,after hitting f4..and selecting Information System, I gave the package name...and it gave me the exit name.
P.S: The above method may sometimes lead to giving in more than one exit as result.
Vishwa. -
How to find field name based on screen field name
Hi all,
I need to find field name at run time based on screen field name for doing some check.
Eg, if i have P_CUST on screeen which refers to KUNNR . Then i should be able to find KUNNR based on screen name ie P_CUST during run time.
Thanks in advance.
Thanks and Regards,
TaranamHi
ex:
PARAMETERS :
p_carrid LIKE spfli-carrid,
p_connid LIKE spfli-connid.
DATA:
T_DYNPRO TYPE
STANDARD TABLE
OF DYNPREAD
WITH HEADER LINE,
W_PROG LIKE D020S-PROG,
W_DYNP LIKE D020S-DNUM.
CLEAR: FIELD_VALUE, T_DYNPRO.
FIELD_VALUE-FIELDNAME = 'P_CARRID'.
APPEND FIELD_VALUE TO T_DYNPRO.
w_prog = sy-repid.
w_dynp = sy-dynnr.
***TO READ VALUES on screen
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = W_PROG
DYNUMB = W_DYNP
TRANSLATE_TO_UPPER = 'X'
TABLES
DYNPFIELDS = T_DYNPRO.
Reward if helpful.
Best Wishes,
Chandralekha -
FM to Find segment name based on material class type
Hi Experts,
is there any function module availble to find out the segment name based on material class or material class type?
Please use a more informative subject line in the future.
Edited by: Rob Burbank on Feb 17, 2009 10:33 AMHI,
Try with transcation Code WE41
Thanks
Kalyan -
Finding Template Name Based on the Query
Is there a way to find the Technical Name of a Template in which a query is being used? I tried the Where-Used command on the query but it doesn't show which templates are using it.
The "Where used" from the BEx query designer will display all the templates and workbooks which uses that query.
The template will be displayed only if the dataprovider assignment for the query is done in the template definition not thru the URL. -
Find query name based on workbook id and vice versa
Hi,
I need to developed a progarm in which user can enter Query name ( tech name ) and it should display all workbooks releated to it and vice versa .
Is there any tables which stores this relationship.?
Wating for response.
Thx in advance .
Regards
Nileshhi Nilesh,
Table RSRWORKBOOK WORKBOOKID, GENUNIID is the query ID;
goto RSRREPDIR for detail query properties
(query belongs, in bex analyzer, right click cell 'properties', tab 'information' - query id)
Queries in Work Book
determine the workbooks
table with list of work books
hope this helps. -
Crystal Reports XI and Sun One 6.1 web server SP 5 Error finding JNDI name
I am trying to create a Crystal Reports XI report in a JSP using Sun One 6.1 Web server sp 5.
At this point I am getting the error �Error finding JNDI name� on Sun One
The application will run on Netbeans/Tomcat
I have done the following:
I edited CRConfig.xml
<?xml version="1.0" encoding="utf-8"?>
<CrystalReportEngine-configuration>
�
<DataDriverCommon>
<JavaDir>C:\Program Files\Java\j2re1.4.2_10\bin</JavaDir>
<Classpath>C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar;�</Classpath>
�
<JDBC>
<CacheRowSetSize>100</CacheRowSetSize>
<JDBCURL>jdbc:oracle:thin:@10.10.10.10:1521:dev</JDBCURL>
<JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
<JDBCUserName>lab_ro</JDBCUserName>
<JNDIURL></JNDIURL>
�
</JDBC>
I created a report using JDBC (JNDI) connection and have the JNDI Connection set to the name of DATA.
The report works just fine in Crystal Reports.
Then in Netbeans I created an application and it runs in the Tomcat part of Netbeans
In context.xml I have:
<Context path="/BOEnterpriseTest3">
<Resource name="jdbc/dev" auth="Container" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev"
username="theuserid" password="thepassword" maxActive="20" maxIdle="10" maxWait="-1"/>
</Context>
In web.xml I have
<web-app>
<context-param>
<param-name>crystal_image_uri</param-name>
<param-value>crystalreportviewers11</param-value>
</context-param>
�
<taglib>
<taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
<taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
</taglib>
<resource-ref>
<description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
<res-ref-name>jdbc/dev10g</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
<res-ref-name>Data</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>
in web-inf\sun-web.xml I have
<sun-web-app>
<resource-ref>
<res-ref-name>jdbc/dev10g</res-ref-name>
<jndi-name>Data</jndi-name>
</resource-ref>
</sun-web-app>
I have copied all of Common Files\Business Objects\3.0\java\lib and Common Files\Business Objects\3.0\java\lib\external to the lib folder
I have copied crystalreportviewers11 to the root of my web application
I have tried to load the JNDI information and display the report
<%@page pageEncoding="UTF-8"
import="com.crystaldecisions.reports.reportengineinterface.*,
com.crystaldecisions.report.web.viewer.*,
javax.naming.*,
javax.sql.*,
java.sql.*"%>
<%
InitialContext initContext = new InitialContext();
DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
try{
// Look up our data source
DataSource ds = (DataSource)initCtx.lookup("Data");
out.println("found ds under jdbc/Data");
catch ( NamingException e ){
// Look up our data source
DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
initCtx.bind("Data", ds);
out.println("found ds under java:com/env:jdbc/Data - bound into root initial context for Crystal to find");
%>
<%
//Use the relative path to the report; the physical or full qualified URL cannot be used.
String reportName = "useridincluded.rpt";
//Database username and password
String userName = "theuserid";
String password = "thepassword";
//check to see if the Report Source Session Variable already exist
Object reportSource = session.getAttribute("Report1");
// Create a new ConnectionInfos and ConnectionInfo object
com.crystaldecisions.sdk.occa.report.data.ConnectionInfos connectionInfos = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfos();
com.crystaldecisions.sdk.occa.report.data.ConnectionInfo connectionInfo = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfo();
//Set username and password for the report's database
connectionInfo.setUserName(userName);
connectionInfo.setPassword(password);
//Add object to collection
connectionInfos.add(connectionInfo);
//---------- Create a ReportClientDocument -------------
com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();
//---------- Set the path to the location of the report soruce -------------
//Open report.
reportClientDocument.open(reportName, 0);
//Get the report source
reportSource = reportClientDocument.getReportSource();
//---------- Create the viewer and render the report -------------
//create the CrystalReportViewer object
com.crystaldecisions.report.web.viewer.CrystalReportViewer crystalReportViewer = new com.crystaldecisions.report.web.viewer.CrystalReportViewer();
//set the reportsource property of the viewer
crystalReportViewer.setReportSource(reportSource);
//set the DB logon into the viewer
crystalReportViewer.setDatabaseLogonInfos(connectionInfos);
//set viewer attributes
crystalReportViewer.setOwnPage(true);
crystalReportViewer.setOwnForm(true);
crystalReportViewer.refresh();
//set the CrystalReportViewer print mode
//crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.ACTIVEX);
crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.PDF);
//process the report
crystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
%>
On the Sun One Web server
On the Java Tab
JDBC Connection Pools
Pool Name = dev10g
Class name = oracle.jdbc.pool.OracleDataSource
User id = theuserid
url = 10.10.10.10
password=thepassword
JDBC Resources
JNDI Name=dev10g
Pool = dev10g
I get the error finding JNDI name � how do I tell Sun One where the JNDI is to make Crystal Reports work?I tried the following to test the JNDI
I am trying to do JNDI in Sun One Web server 6.1 sp 5 but I seem to be missing an important part. I get two different errors based on the JSP code, �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance� or �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�.
Context.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/BOTest">
<Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
<Resource name="Data" auth="Container" type="javax.sql.DataSource"
driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
</Context>Sun-one.xml:
<sun-web-app>
<context-root>BOTest</context-root>
<resource-ref>
<res-ref-name>jdbc/dev10g</res-ref-name>
<jndi-name>jdbc/dev10g</jndi-name>
</resource-ref>
</sun-web-app>web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
<resource-ref>
<description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
<res-ref-name>jdbc/dev10g</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref>
<description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
<res-ref-name>Data</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>server.xml has:
<RESOURCES>
- <JDBCCONNECTIONPOOL name="dev10g" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
<PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
<PROPERTY name="User" value="lab_ro" />
<PROPERTY name="Password" value="0asphalt1" />
</JDBCCONNECTIONPOOL>
<JDBCRESOURCE jndiname="jdbc/dev10g" poolname="dev10g" enabled="on" />
<JDBCRESOURCE jndiname="Data" poolname="dev10g" enabled="on" />
- <JDBCCONNECTIONPOOL name="Data" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
<PROPERTY name="User" value="lab_ro" />
<PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
<PROPERTY name="Password" value="0asphalt1" />
</JDBCCONNECTIONPOOL>
<JDBCRESOURCE jndiname="jdbc/Data" poolname="Data" enabled="on" />
<JDBCRESOURCE jndiname="dev10g" poolname="dev10g" enabled="on" />
</RESOURCES>I am getting the following error: �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�
With the following code:
<%@page
import="java.io.*,
javax.sql.*,
javax.naming.*,
java.sql.*,
java.util.*"%>
<%
Context init;
Context ctx;
DataSource datasource;
Connection con;
try
init = new InitialContext();
Context envCtx = (Context) init.lookup("java:comp/env");
datasource = (DataSource) envCtx.lookup("jdbc/dev10g");
catch(NamingException ex)
out.print("Cannot retrieve data source: " + ex.toString(true));
return;
try
con = datasource.getConnection();
catch (Exception e)
out.print("Cannot retrieve connection: " + e.toString());
return;
try
PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
ResultSet results = pstmt.executeQuery();
while (results.next())
out.println(results.getString(1));
catch(Exception ex)
out.print("Got connection, can't execute query: " + ex.toString());
return;
%>I get the following error: Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance
With the following code:
<%@page
import="java.io.*,
javax.sql.*,
javax.naming.*,
java.sql.*,
java.util.*"%>
<%
Context init;
Context ctx;
DataSource datasource;
Connection con;
try
init = new InitialContext();
ctx = (Context) init.lookup("java:comp/env");
datasource = (DataSource) ctx.lookup("jdbc/dev10g");
catch(NamingException ex)
out.print("Cannot retrieve data source: " + ex.toString(true));
return;
try
con = datasource.getConnection();
catch (Exception e)
out.print("Cannot retrieve connection: " + e.toString());
return;
try
PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
ResultSet results = pstmt.executeQuery();
while (results.next())
out.println(results.getString(1));
catch(Exception ex)
out.print("Got connection, can't execute query: " + ex.toString());
return;
%> -
How to find Report Server Name
Dear All
Assalam-o-Alikum
i am running the report using "run_report_object" on "Forms [32 Bit] Version 9.0.4.0.19 (Production)". the problem is that i don't know the Name of Report server, can any body can tell me that from where i find the name of report server.
i have to give the report server name to run report.
Thanks
Best Regards
Farrukh Shaikhhi
u have to install the report server something like this.
rwserver -install server=server_name autostart=yeswhen u installed the report server so u can use u r own report server name.
and u have to use the above code in DOS.
full path.
c:\Developer_home\bin\rwserver -install server_name(Any Name) autostart=yes
sarah -
FRM - 41219 CANNOT FIND REPORT INVALID ID - CALLING REPORT FROM FORM
I am using Developer Suite 10g (forms 9i, reports 9i) . windows XP.
I am using the following code in WHEN-BUTTON-PRESSED-PRESSED trigger in form to call report.
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
BEGIN
repid := find_report_object('C:\EMP.RDF');
v_rep := RUN_REPORT_OBJECT(repid);
END;
as as result It is displaying FRM - 41219 CANNOT FIND REPORT INVALID ID.
I have used the EMP.JSP also in find_report_object built-in. But there is no difference.
what could be the reason - plz give the solution.
with thanks
by GMSUnless you made a mistake and overlooked it, what I suggested should work. Having said that, you did not mention the exact Forms version you are using. There may have been a problem in the version you are using which was corrected in a later release. I tested the example I offered using Forms 10.1.2.3 and it works correctly. Carefully review what you did. Verify that the file actually exists in the file system. Also, I would recommend renaming the file with all lower case letters and referencing it in the form with all lower case letters. Here is the complete code of the form I tested. I will also include the property values from the Report object.
Report1 settings:
Name - REPORT1
Subclass Information -
Comments -
Filename - dummy.rdf
Execution Mode - Batch
Communication Mode - Synchronous
Data Source Data Block - <Null>
Query Name -
Report Destination Type - File
Report Destination Name -
Report Destination Format -
Report Server -
Other Reports Parameters - On the form create the following items in BLOCK1:
Text fields:
<li>SERVERNAME
<li>REPNAME
<li>OTHERPARAMS
Button:
<li>CALL_REP
In the WHEN-BUTTON-PRESSED trigger add this code:
Declare
repid REPORT_OBJECT;
v_rep varchar2(256);
rep_status varchar2(256);
Begin
repid := find_report_object('REPORT1');
-- Set Report Object properties
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'HTML');
-- Comm mode 1 = SYNCHRONOUS
-- Comm mode 2 = ASYNCHRONOUS
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, 1);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, :block1.SERVERNAME);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :block1.REPNAME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,:block1.otherparams);
SYNCHRONIZE;
-- Run report and get status
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := report_object_status(v_rep);
SYNCHRONIZE;
-- Wait for Reports to generate results
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
SYNCHRONIZE;
-- If DESTYPE is appropriate for displaying to user, execute WEB.SHOW ;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||:block1.SERVERNAME,'_blank');
ELSE
message(rep_status);
END IF;
END; When you run the form, enter the Report Server name and the Report filename (include the path if you have not configured REPORTS_PATH). Then click on the button. Note that the substr logic may need to be altered slightly if you are using an old version of Forms/Reports.
. -
HOw to find Report program associated module pool program?
HOw to find Report program associated module pool program?
I.e
Me21n is the tcode.I want to find screens related to this tcode.
Associated report program is RM_MEPO_GUI.(It has no screens hence it is a report program).
(if module program is attached to tcode,i can easily find entries in d020s)
Here report program is calling a module pool program SAPLMEGUI(Has screens).
If i give the Tcode Me21n,i want to list out all the screens of it..
Can u give any suggestion....Hi Sampath.
Manually i can see it (by seeing in system-status)..
programmatically i want to know..
for ex:if u take Tcode:Va01
we can get program (dialog) and tcode in Tstc table .
If we know the program name(dialog), we can find program and screens in d020s table.
Va01 is atatched to a module pool program..No problem to find screens..
In case of me21n,
It is atatched to report program(calling module pool program)..
Here i could not be able to get the screens ..
I think u undrstood my problem.. -
FRM 41215: CAN NOT FIND REPORT - Please help
Hi,
I am new to oracle 9i. I am trying to convert the forms in 8i to 9i. While i am doing i have many forms calling reports thru run_product. Now i am changing those into run_report_object. Even though i am getting errors like FRM 41215: CAN NOT FIND REPORT , INVALID REPORT ID.
declare
repid report_object;
v_rep varchar2(100);
begin
repid := find_report_object('mrnr0028');
v_rep := RUN_REPORT_OBJECT(repid);
end;
This is the command i have used. Is there anything wrong, or is there any necessity to specify any particular path for report files.
Pls help me asap.
ThanksI HAVE CREATE THIS PROGRAM UNIT(WITH LOT OF HARD WORK) FOR CHARACTRE AS WELL AS DEFAULT REPORT
RUNING ON WEB
-----------------FOR CHARACTER REPORT
procedure web_report_c ( type varchar2,parameter varchar2) is
report_id Report_Object;
report_job_id VARCHAR2(100);
report_status varchar2(100);
FILE_NAME VARCHAR2(100);
web_name varchar2(300);
user_name varchar2(30);
BEGIN
user_name:=get_application_property(username);
if type='PRINTER' THEN
report_id:= find_report_object('REPORTNODE');
file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.RRPT'; --use in case of character mode report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report TEMPRARY
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing parameter to report
report_job_id:=run_report_object(report_id);
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop --checking report status
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
end loop;
IF report_status='FINISHED' THEN --if report is finished then make call to report
-- web_name:='HTTP://logi/'||file_name;
WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
else
MESSAGE('Report has failed. '||'status is -'||report_status);
end if;
ELSIF type='SCREEN' THEN
report_id:= find_report_object('REPORTNODE');
file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.txt'; --use txt in case of character mode report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report TEMPRARY
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing report parameter
report_job_id:=run_report_object(report_id);
report_status:=REPORT_OBJECT_STATUS(report_JOB_id); --checking of report status
while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
end loop;
IF report_status='FINISHED' THEN --if report status is finished then make call to report
--web_name:='HTTP://ORACORP/logi/'||file_name;
WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
else
MESSAGE('Report has failed. '||'status is -'||report_status);
end if;
end if;
end;
------------FOR DEFAULT REPORT
procedure web_report_c ( type varchar2,parameter varchar2) is
report_id Report_Object;
report_job_id VARCHAR2(100);
report_status varchar2(100);
FILE_NAME VARCHAR2(100);
web_name varchar2(300);
user_name varchar2(30);
BEGIN
user_name:=get_application_property(username);
if type='PRINTER' THEN
report_id:= find_report_object('REPORTNODE');
file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.RRPT'; --use in case of character mode report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing parameter to report
report_job_id:=run_report_object(report_id);
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop --checking report status
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
end loop;
IF report_status='FINISHED' THEN --if report is finished then make call to report
-- web_name:='HTTP://logi/'||file_name;
WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
else
MESSAGE('Report has failed. '||'status is -'||report_status);
end if;
ELSIF type='SCREEN' THEN
report_id:= find_report_object('REPORTNODE');
file_name:=user_name||to_char(sysdate,'-ddmmyy_hh24miss')||'.txt'; --use txt in case of character mode report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'c:\logiWWW\temp\'||file_name); --where u want to save report
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'REPSERVER'); --report server name
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,parameter); --passing report parameter
report_job_id:=run_report_object(report_id);
report_status:=REPORT_OBJECT_STATUS(report_JOB_id); --checking of report status
while report_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') loop
report_status:=REPORT_OBJECT_STATUS(report_JOB_id);
end loop;
IF report_status='FINISHED' THEN --if report status is finished then make call to report
--web_name:='HTTP://ORACORP/logi/'||file_name;
WEB.SHOW_DOCUMENT('/logi/'||file_name,'_BLANK');
else
MESSAGE('Report has failed. '||'status is -'||report_status);
end if;
end if;
end; -
Frm-41219 Error finding report
Hi everyone
I am trying to run report from a push button from form.Every time i am getting error FRM-41219 Cannot find report. Invalid ID.
Of course report exists and is compiled.I specified REPORTS_PATH variable in registry to point to my folder,
PROCEDURE print_report IS
repid REPORT_OBJECT;
report_job_id VARCHAR2(100);
BEGIN
repid := FIND_REPORT_OBJECT('DEPARTMENT');
report_job_id := RUN_REPORT_OBJECT(repid);
END;
Is tis a report Services Settings issue? What settings need to be done in Report Services? Or there is some other reason.
Please help me, I am stucked
Thank uHello,
'DEPARTMENT' in
repid := FIND_REPORT_OBJECT('DEPARTMENT');
is not the name of a REP or RDF file, it is the name of
a report object which should have been created in Forms.
You can check if the object exists in the Forms Builder :
Open the FMB
Go in the "Object Navigator"
Check if an Object called DEPARTMENT exist under the
Reports node. (If it does not exist, create it)
Regards -
Finder reports all internal hard drives as zero kb, disk utility correct
After upgrading to 10.5.3 finder is reporting internal HD's as zero KB in size and will not allow files to be coppied to them. Very Bad. Disk utility reports proper size and utilization. Does anyone have suggestions of where to start. File permissions have been repaired, before and after OS upgrade. Upgrade done from download not software update.
Also USB subsystem appears to lock up occasionally disabling mouse and keyboard, both via ADC monitor and tower connections. Motherboard battery is depleted, though I thought this would only affect system time, could it be creating other issues?I also just had this problem. jdisk reports 83gigs used of 300GBs, finder reports 299GBs used.
-
Hello Everybody,
I am using Sharepoint server 2013 , SQL Server 2012 SP1, PerfomancePoint and Reporting Services in SharePoint integrated mode.
I built one report in SSDTusing an Analysis Services Cube. This report has 3 parameters. So the idea is use Dashboard Designer to use this SSRS Report and connect it with some PP Filters.
The issue is that I am always obtaining "Unable to find report specified by URL,Please verify that both Server URL and Report URL are correct".
I have the following settings in the PP Report:
Server Mode: SharePoint Integrated
SharePoint Site: http://MySharrepointSite:PortNumber/sites/bicenter
Document library : Documents (selected from drop down, my report is deployed to document library)
Report : report.rdl
When I select the report from drop down list its giving the error in a pop up message box as "Unable
to find report specified by URL,Please verify that both Server URL and Report URL are correct".
I have tried to use the most simple report, only with one parameter, but is always displaying the error above.
When I open the report directly from documents library its working fine and even it is working fine (
when I deployed the report) but the issue is parameters are not showing.
Any idea? Please help.
Thanks in Advance."Unable to connect to the server at CALYSTO\ReportService.
Hello Tom,
It should be "ReportServer" in the URL, not "ReportService".
In "Reporting Service Configuration Manager" look up the correct URL. Open Internet Explorer with right-mouse click => "Run as Administrator" and open the URL, this should work. Navigate to "Side setting" (on top right side),
go to tab "Security" and add your account with role "System Administrator". Afterwards you should be able to open the URL without running IE as admin.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
URGENT : FRM-41219 Can not find report : INVALID ID
hello all
The same problem i have also posted in forms forum..
i am getting the exception FRM-41219 when calling the report from my form with the method RUN_REPORT_OBJECT.
I m calling the report in my program unit method as follows :
DECLARE
Pl_Id ParameterList;
RepId REPORT_OBJECT;
Vrep Varchar2(1000);
BEGIN
add_parameter(pl_id,'report_parameter',text_parameter,record_block.input_box);
RepId := find_repor_object('report_name');
Vrep := RUN_REPORT_OBJECT(RepId,Pl_Id);
END;
But when i run the fmx .. i get the exception "FRM-41219 can not find report :Invalid ID"
I have checked all possiblities i.e. i have also called the method as RUN_REPORT_OBJECT(RepId) and also RUN_REPORT_OBJECT(ReportName)..but in all cases i am getting the same error..i have also checked the environment variable ..it contains the correct path of my application folder where the report is available.
Kindly help me with this
if any body knows the solution..or the cause for it..please let me know here or contact me on this address
[email protected]
thank you.Try this:
DECLARE
Report_Id report_object;
v_rep varchar2(200);
rep_status varchar2(20);
BEGIN
report_id:=FIND_REPORT_OBJECT('EMP');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,:REPORT_NAME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,:REPORT_DESFORMAT);
if :REPORT_DESTYPE='CACHE' then
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
elsif :REPORT_DESTYPE='FILE' then
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
end if
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:REPORT_DESNAME);
v_rep := RUN_REPORT_OBJECT(report_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
if rep_status = 'FINISHED' then
message('Report Completed');
else
message('Error when running report.');
end if;
END;
Thanks
Rohit
Maybe you are looking for
-
Customer 9000AAAE : Exception 7 in function module VIEW_KUAG2
Hi, Hi all, When I do the intercompany billing for STO (vf01), I got the system message attached below. The customer 9000AAAE is a ship to party and assigned to the ordering plant. It has the partner function SH. So can anybody kindly tell me where i
-
Use of "overflow:auto" in a div vs a table
Pest is back. I am building pages where there are potentially VERY long tables, and I only want them to take up "X"px of vertical space. Using a <div> to surround the table, adjusting the height and width of the <div> to whatever I want has been VER
-
What software do I need to view Flash 8 content?
What do I need to view Flash 8 content? I do not need to create content, just view it. Thank you! Peter
-
IPhoto erased from MacBook Pro. Please help!!
I installled iPhoto again usuing the applications disk that came in the box but every time I open iPhoto it closes unexpectedly. Can someone please tell me how I can get iPhoto completely installed again? Thank you!
-
Can any one tell a good book for renderers..