Conver rdf file to the report in apex
Hi,
I have to migrate my report from rdf to apex... Is there any way to do it...
Thought of doing converion to xml in middle. But perhaps, the form2xml doesn't accepts this xml file...
any one please help me out on this..
Thanks,
There is no equivalent in the APEX environment.
Classic/Interactive reports use SQL to generate a web page.
BI Publisher could be used as an alternative reporting mechanism to generate PDF/office documents, but there is no reason why you couldn't call Oracle Reports from APEX - if you retain your application server, of course.
The statement of direction for oracle development tools provides a good high-level overview of oracle's recommended options.
http://www.oracle.com/technetwork/issue-archive/2010/toolssod-3-129969.pdf
Scott
Similar Messages
-
How to refresh a local file in the Reporting Studio?
Hello,
I need to refresh a few local files in the Reporting Studio via script, but obviously command
ActiveDocument.Sections["Sectionname"].Process()
does not work, since it's not a query. What else could I use?
Many thanks for any answer.I am confused...How is the solution not exactly what I look for ?
You asked how to refresh imported data files via script.
You correctly identified that the Imported file is not a Query.
However if you look at the Object model closely you will notice properties that if you can think outside the box will allow you to treat the imported file like a query section.
ActiveDocument.Sections["data.csv"].ProcessSequenceNum
ActiveDocument.Sections["data.csv"].IncludeInProcessAllBy strategically setting unwanted sections not to process via
ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = falseand setting targeted section(s)...imported file(s) to process via
ActiveDocument.Sections["Sectionname"].IncludeInProcessAll = trueThen
ActiveDocument.ProcessAll()Your section(s) will refresh.
If this is not a satisfactory solution then move the data files to a database or create a DSN entry and OCE to those files instead of importing them. -
PSUNX failed to post files to the report repository
Dear All,
i've just faced this issue. Before submitting here, this i've tried various things posted on web but not getting the solution,So posting here.
If someone might have an idea about this...
These are my settings
Report Node Definition URL
http://irshr.irs.co.id:8000/psreports/irshr
URI Host: irshr.irs.co.id
URI Resource:SchedulerTransfer/irshr
Peoplesoft ligin URL :http://irshr.irs.co.id:8000/psp/irshr/EMPLOYEE/HRMS......
and the error
11:18:07AM Request is reassigned from server PSNT to server PSUNX
10 11:18:19AM Process request completed successfully.
10 11:18:33AM Java Exception: Error while wr ite to file:java.lang.StringIn dexOutOfBoundsException: Strin g index out of range: -1 (63, 49)
10 11:18:33AM SchedulerTransfer Servlet error.
11:18:33AM PSUNX failed to post files to the report repository. Server scheduled to try again on 2011-02-07-11.18.47.999881. See log
10 11:18:48AM Java Exception: Error while wr ite to file:java.lang.StringIn dexOutOfBoundsException: Strin g index out of range: -1 (63, 49)
10 11:18:48AM SchedulerTransfer Servlet error.
11:18:48AM PSUNX failed to post files to the report repository. Server scheduled to try again on 2011-02-07-11.19.02.999526. See log
10 11:19:03AM Java Exception: Error while wr ite to file:java.lang.StringIn dexOutOfBoundsException: Strin g index out of range: -1 (63, 49)
10 11:19:03AM SchedulerTransfer Servlet error.
11:19:03AM HTTP transfer error.Also have the role "process sheduler admin" assigned to PS.
Standard reports of Peoplsoft are running well but this is a customised SQR report that is giving error.
-RegardsMichel,
This is the SQR code.(My first SQR report) :-)
! IRSEMPCN.sqr: Employee Report *
! Description: Employee Report
! Confidentiality Information: *
! This module contains confidential and proprietary information *
! of Oracle; it is not to be copied, reproduced, or transmitted *
! in any form, by any means, in whole or in part, nor is it to *
! be used for any purpose other than that for which it is *
! expressly provided under the applicable license agreement. *
! Copyright (C) 2007 Oracle. All Rights Reserved. *
! Creator : **** *
! Date : 29 Juni 2010 *
#Include 'setenv.sqc' !Set environment
#Include 'datetime.sqc' !Routines for date and time formatting
#Include 'number.sqc' !Routines to format numbers
#Include 'stdapi.sqc'
#Include 'datetime.sqc' !Routines for date and time formatting
#Include 'datemath.sqc' !Routines for date arithmetic
#Include 'number.sqc' !Routines to format numbers
begin-report
do Init-DateTime
do Init-Number
do Get-Current-DateTime
do Init-Report
! do Reset
do Stdapi-Term
end-report
begin-setup
declare-variable
text $BU
! text1 $plant
! text2 $empid
end-declare
end-setup
! Procedure: Init-Report
! Description: Initialise header and run control variables.
begin-procedure Init-Report
move 'IRSEM1' to $ReportID
move 'IRS Employee' to $ReportTitle
do Stdapi-Init
if $prcs_process_instance = ''
else
do Select-Parameters
end-if
do Report
end-procedure
! Procedure: Select-Parameters
! Description : Select the parameter values from the run control page
begin-procedure Select-Parameters
begin-select
PARA.IRS_BU
let $BU = &PARA.IRS_BU
! let $plant = &PARA.IRS_DEPT
FROM PS_PRCSRUNCNTL_EMP PARA
WHERE PARA.OPRID = $prcs_oprid
AND PARA.RUN_CNTL_ID = $prcs_run_cntl_id
end-select
do Get-OPRCLASS ($prcs_oprid,$oprclass)
do Get-SetId($oprclass, $setid)
!do Process-Get-Employee-Details($emplid)
end-procedure
! Procedure: Get-OPRCLASS !
! Descr: Get operator class !
BEGIN-PROCEDURE Get-OPRCLASS ($PRCS_OPRID, :$oprclass)
LET $OPRCLASS =''
BEGIN-SELECT
OPRCLASS &OPRCLASS
move &OPRCLASS to $oprclass
FROM PSOPRDEFN
WHERE OPRID = $PRCS_OPRID
END-SELECT
END-PROCEDURE Get-OPRCLASS
! Procedure: Get-SetId !
! Descr: Get Set ID !
BEGIN-PROCEDURE Get-SetId($OPRCLASS, :$setid)
LET $setid =''
BEGIN-SELECT
SETID &SETID
move &SETID to $setid
FROM PS_OPR_DEF_TBL_HR
WHERE OPRCLASS = $OPRCLASS
END-SELECT
END-PROCEDURE Get-SetId
! Procedure: Report
! Description:
begin-procedure Report
!let $FileName = 'E:\psft\psdmo\sqr\' || 'IRSEM1' || to_char(#prcs_process_instance) || '.csv'
let $FileName = '{FILEPREFIX}' || '\IRSEM1' || '.csv'
open $FileName as 1 for-writing record=20000:VARY
write 1 from 'Business Unit,Department,Grade,Count'
do Process-Get-Employee-Details($BU)
close 1
end-procedure
! Procedure: Process-Get-Employee-Name
! Description: Get Employee Name
begin-procedure Process-Get-Employee-Details($BU)
begin-select
PS_BUSUNIT_HR_VW.DESCR &BUSINESSUNIT ,
PS_DEPT_TBL.DESCR &DEPARTMENT ,
PS_JOBCODE_TBL.DESCR &GRADE ,
COUNT(PS_JOBCODE_TBL.DESCR) &COUNT
move &BUSINESSUNIT to $BUSINESSUNIT
move &DEPARTMENT to $DEPARTMENT
move &GRADE to $GRADE
move &COUNT to $COUNT
write 1 from $BUSINESSUNIT ',' $DEPARTMENT ',' $GRADE ',' $COUNT
From PS_JOB,PS_JOBCODE_TBL,PS_BUSUNIT_HR_VW,PS_DEPT_TBL
Where PS_JOB.Jobcode=PS_JOBCODE_TBL.Jobcode
and PS_JOB.BUSINESS_UNIT=PS_BUSUNIT_HR_VW.BUSINESS_UNIT
AND PS_JOB.DEPTID=PS_DEPT_TBL.DEPTID
AND PS_DEPT_TBL.EFF_STATUS='A'
And Rownum<5
Group by PS_BUSUNIT_HR_VW.DESCR,PS_DEPT_TBL.DESCR,PS_JOBCODE_TBL.DESCR
Order by PS_BUSUNIT_HR_VW.DESCR
end-select
end-procedure
-
To store time only in the table and get it to the report in Apex
Hi,
I am very very new to Apex.
I get a txt file with around 57 columns(comma seperated). In apex we import this and insert it into a database table (csv into table) and then generate a reports out of this table using procedure/packages. we have different fields in this extract which gives different dates and times ( thats right dates and time comes seperate in seperate columns). I would like to insert this dates and times seperately into the table. thats is, getting a table as an exact image of the extract we receive.What data type do I choose to save just the time.
I can only see 'date' data type where I can have both date and time. But can't find anything just for time.
The main use of this time(s) saved seperately in the table is , I can then easily display it in reports.
The report the users want has got fields like transport start time, duty start time etc..
If you can't save time seperately in the database table, then can somebody suggest a way of saving it in table (in the method available)and then getting the time seperated out into the report.
Currently the users use macro on excel to get this reports and formatting a cell to 'time' is simple.
Any suggestions welcome.
Regards
LizaVarad,
I have been trying to get this date-time issue in different areas in my application.
From csv to table its working (once I got dates in the extract adjusted to '02mar2009' format).
Now I have manipulation to do on this datetime.
Say I have datetime1, to get datetime2 I have to get datetime1 and reduce some minutes.
I got the time part into l_temp after reducing the minutes.
datetime2 :=to_date(sysdate || l_temp,'dd-mon-yyyy hh24mi');
It gives an error saying 'literals doesn't match format string' (both at sql command and PL/SQL in apex
I even tried datetime2 :=to_date(to_char(sysdate,'dd-mon-yyyy') || l_temp,'dd-mon-yyyy hh24mi');
gets the same error in apex but this works fine in sql command.
But if I put datetime2 :=to_date('02mar09' || l_temp,'dd-mon-yyyy hh24mi');
Do you know why? Can you suggest something?
Obviously, I can't hard code it. I have read the date from table1 and write it to table 2 with after this manipulation.
Any suggestion?
regards
Liza
Edited by: liza on Mar 3, 2009 5:13 PM -
Can't save a report file in the Reports Builder
dev environment : w2k, Oracle92iDS(rel 2) and patch set 9.0.2.2.0
Problem description :
Saving a report corrupts the report file(jsp, rdf) in the reports builder, when a report has the bind variable used in the functions.
I can execute the report well, if I don't try to save .
The moment the file is saved and the report can never be reopened and run.
Please note it works fine when there is no bind variabled used in the function. Here are the steps to reproduce.
Can someone verify this, if so is there an workaround for this problem on the Reports Builder?
===
set serveroutput on
create or replace
package Q_REP_test
as
type drec is record
sdate date
type dreccursor is ref cursor return drec;
Procedure Get_sysdate(retdate out dreccursor);
procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor);
end q_rep_test;
show errors
create or replace
package body q_rep_Test
as
procedure Get_sysdate(retdate out dreccursor)
is
begin
open retdate for
select sysdate retdate from dual;
end;
procedure add_days_tocurdate(no_of_days in number, retdate out dreccursor)
is
begin
open retdate for
select sysdate+no_of_days retdate from dual;
end;
end q_rep_test;
show errors
===
Invoke the SP as follows:
===
function QR_1RefCurDS return q_rep_test.dreccursor is
tempc q_rep_test.dreccursor ;
begin
q_rep_test.add_days_tocurdate(:p_1,tempc);
return tempc;
end;
===
1. Create a report
2. create an user parameter(p_1)
3. add a pl/sql as above
4. run it(to verify the report works)
5. save it.
6. close the report
7. Open it again, you get an as
"REP-0002: Unable to retrieve a string from the Report Builder Message file". Now it is corrupted and can't be used at all.Mac OS X 10.9.2
MacBook Pro Retina 15" Late 2013 w/ nVidia GT 750M
Adobe Audition 6.0 Build 732 (64 bit)
Downloaded WAV file from internet in a ZIP. Unzipped it. Played it in iTunes. Quit iTunes. Right clicked the file and chose Open With and Adobe Audition CC. I'm pretty sure this is the first time I've opened Audition on this computer, since I just recenly upgraded from an older MacBook. Edited the WAV, had the issue. Read the forums, closed and was prompted to save. Saved and then it finished closing. Right clicked on the file again and chose Open With and Adobe Audition CC. Now the file gave me the option to Save or Save As depending on how much further I edited the file, which was just cutting out more of the track. The razor tool, though, still not available. Had to put the cursor where I wanted, then used the Shift and Home buttons to select the beginning part of the track and the Delete key to remove it. -
Passing Parameters to a report by only knowing the rdf name fo the report
Hi all,
My requirement is that i konw the rdf name of a report and i want to call that report through form but i dont know the parameters in that report. Is there any way to find the parameters or any other method by which i can identify and pass the parametes to the report.
Thanks in advanceYou don't have the rdf-files? Then i don't know of any way to find that out from the report itself (i guess you only have the rep-files?). Do you have any other forms-modules which already call the report? If so, you could check the calls there.
-
No dsn is present in the configuration file in the reporting services 2008
HI i have found this error in the log file of my reporting services ,
when i comes to the Configuration file in that
my DSN path is empty no input code is there in that DSN tags
<DSN>
<DSN/>
it shows the empty tags,
and my Current Report Server Report Credentials are Windows,Service account credentails
will it take the problem or what
We have repair the BIDS setup also still not able to solve my issue.
once this is resolved now able to send the emails using subscriptions.
pls infom abut this , i have sufferd this problem last 20 days.
Please update the above query with high priority
TanQHi Ychinnari,
According to your description, you found error in log file of reporting services, when you come to rsreportserver.config file, the DSN tag is empty.
DSN specify the database server that hosts the report server database connection string. The report server database is created, this value will be encrypted and added to the configuration file. To solve the problem, we need to connect to either an
existing report server database or create a new one for this instance. For detail information, please refer to the following steps:
Start the Reporting Services Configuration Manager and connect to the report server instance for which you are creating the database.
On the Database page, click Change Database.
We can create a new report server database or select an existing database, then click Next.
Connect to the instance of the Database Engine that you will use to create and host the report server database.
Specify properties used to create the database.
Specify the credentials used by the report server to connect to the report server database.
Review the information on the Summary page to verify the settings are correct, and then click Next.
Verify the connection by clicking a URL on the Report Server URL page or Report Manager URL page.
For detail information about Configure a Report Server Database Connection, please refer to the following document:
https://msdn.microsoft.com/en-us/library/ms159133.aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
How can I incluce a hyperlink to TDMS file in the report?
Hi,
I am storing the measured data in TDMS file in each step. File name is written to the ResultText property so it is visible in the report.
I would like to have hyperlink in the report that opens this TDMS file automatically either with DIADEM or with the TDMS VIEWER (LabVIEW application)
Any help in creating hyperlink in the report (XML, HTML) would help.
Thanks,
AndrasHi Andras,
you can also write the links within a new step to the report.
As shown in the attached file.
Regards
DianaS
Attachments:
Sequence File 2.seq 5 KB
hallo3.vi 12 KB -
How to see the log file on the Reports Application server?
Hi,
I am new to this Reports, please correct me if i am wrong or in the wrong forum, we have a java based front-end application which calls oracle reports to display requested reports. We are using oracle reports (9i/10g). I need work on a report, It is working fine if i provide parameters on the report itself, but if i run from the application it is not running properly. I want to see the parameters the application is sending to this report, is there any way that i can some log file or any other one on the report server?
thanks,Thank you.
When you fire the processes to the report server you
can trace the report with the following parameter:
RWCLIENT.EXE SERVER=my_server
TRACEFILE=c:\my_trace.trc
TRACEMODE=TRACE_REPLACE
TRACEOPTS=TRACE_ALL -
Store the video file in the report?
hi folks,
I am new in this area, and have one question. Can we embed/store multimedia file e.g. image/video in the BW report, let's say when I open the report, there is hyperlink that will take me to access the multimedia file, or even play it on the web when I view the report?
Can SAP Business Intelligence support this requirement? How is the mechanism?
many thanks in advance for your kind answer.
salomonHi
First a couple of questions you should think about.
1) Will you be using Bex or WEB interface?
2) Should the image/movie be related to the data? I.e. the choise of film should be connected to a specific drill down level?
If the film is independant of data then you can put any hyper link on either the workbook or the WEB i.e. you can show whatever you want.
If the film is connected to the data then there is the possibility to use the document storeage in BW (in RSA1 choose the Documents tab to see more). You can attach document to metadat, masterdata or infoprovider data. One of the document types you can choose is AVI so I think that your needs will be covered. I do not have any experience in the area of connecting documents to the data but it's my impression that it's easier and most userfriendly to give access to the documents using the WEB interface.
With Kind Regards
Kristian -
Downloading a file from a report in APEX 4.0
I once wrote this in an old version of APEX where one had to deal with the wwv_flow_files ...
I now have a page which allows me to upload a file into a blob as well as the mimetype and filename...
But I cannot find APEX 4.0 documentation on how to get the correct URL in hte report to get to the file...
I see the blob content is there etc ...
But not sure how to build the p?n=#ID# part of the URL
Any good links ???See About BLOB Support in Forms and Reports in the documentation.
There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well. -
How to save to data into another file in the Report Generation Toolkit
I read a doc template and wirte many data and bmp into it. I want to create a new doc file with my own name,
But in my test, data will be writen into my template. If user don't notice it, my template will be overriden. Can
I save to a new file in my program? please help me about it.
Thanks.
brHI, NIhuyu
thank your answer.
I will try it.
Can you tell me the meaning of star out and end out of vi?
I am not clear about it.
Thank your very much.
br -
Report Builder 10.1.2.0.2 Crashes on opening a rdf file
Hi,
I am trying to do a customization on an oracle standard report (sales order acknoledgement),when i try to open the rdf file from the Reports builder it crashes immedietly. Also i noticed the builder is crashing if i open rdf file having size more than 1MB. I am able to open rdf and make changes in it if its lesser than 1 MB. Not sure if there is any configuration that restricts the size of the rdf file. Please help.
Thanks
PrathapCan you open any other rdf?
We had quite a few crashes with the Report Builder on Windows 7, especially when using graphs in rdfs. Setting the compatibility of the shortcut to "Windows Vista" solved most of our problems.
Regards
Markus -
Query of the complicated rdf-report in apex-report
I try to migrate rather complicated rdf report into Apex. I have sucesfully converted the reports file xx.rdf into:
1. xx.xdo file
2. xx.rtf word file
3. xx.xml data file
4. xx_S.pls and xx_B.pls as package files in database
The converted xx.rtf file is OK with all fields and images in right places In the Word I get a beautiful xx.pdf report when I start the preview using converted xx.xml file as the data file. -- The problem is just the package file with its several functions. The xml file has also many levels of data formed by tags like <list_g> etc.. Many of Word fields are CF fields from reports (xx.rdf) which now are as package functions with the same names.
Is there any direct way to generate the Apex report query whic form the xml data file? It seems impossible to start create an Apex query from the package functions and trying to embed on it all the same fields as in xml file. Is it possible to somehow use xx.xdo file and bi publisher as help.
Thank you very much.Okay, there is some confusion there.. You said: "In our case the customer is not willing to invest into Oracle Reports", Yet you are converting an Oracle Report file for their application, is this NOT their report file?
Then you said " Also the customer is not very eager to use its BI Publisher for Apex reports " But APEX WILL be using BI Publisher for the PDF generation of the report, do they understand having Bi Publisher running the report that APEX can get the PDF from Bi Publsiher?
Sounds like the customer is rather snarky on their requirements..
Thank you,
Tony Miller
Webster, TX -
Where to keep .rdf file in Oracle 9iAS to generate Report ?
Hello friends,
We r using Oracle 9iAS and want to generate the Report but do not know the exact folder(or can say path) to keep .rdf file ?
Generally, we keep .rdf file in Orahome/Reports/Samples/Demo/x.rdf but it doesn't work in case of Oracle 9iAS.
If you have any solutions regarding it, please reply.
Thanks1) You can keep it anywhere and give full path name in cmd line
report=<full_path_name>\report_name.rdf
OR
2) Add the required dir to REPORTS_PATH
Windows - registry variable
HKLM\software\oracle\home<x>\
Unix - env variable
and give
report=report_name.rdf
Thanks
Ratheesh
[ All Docs ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
---------------------------------------------------------------------------------
Maybe you are looking for
-
I have a iMac running on an iMac and the F operation keys are not working properly.
My new iMac bluetooth keyboard is having issues all of the F operation keys are not working exept for F12 witch is supposed to be volume up takes me to mission control. I went into system prefrences and there was no setting in keyboard for the volume
-
How do I view XMP metadata in Adobe Reader?
How do I view XMP metadata in Adobe Reader? I've created a PDF which (I believe) includes XMP metadata, and I'd obviously like to check that it's been done correctly. However it's not obvious how to view this within Adobe Reader (I'm using 11.0.04 o
-
Can I connect macbook (iTunes) to hi-fi via USB cable?
I want to connect my macbook to an DAC which requires an USB cable, but it seam that iTunes will not playback through the computer USB port. How can I make it work, if possible, this way? I am using wifi connection, but in order to have better sound
-
Hello, While studying I have come up with this problem a few times and was wondering if you could help me. I am currently working with linked list examples and the variables used have default package access. I am however told that the variables shoul
-
HI experts In file business req I developed scenario like JDBC--XI--R/3(RFC). In my scenario data is send to R/3 using BAPI(RFC) from XI using receiver RFC adapter. So How Can I check whether data is saved or not in R/3 Database. How we can see the B