Attachment on Report 6i and 9ias
Hi,
We have several reports made with reports 6i which we run in pdf format through 9ias. Now we want the report to include attachments in the pdf output.
In the oracle report 6i apparantly you can only include text and bitmap files. How can we make it work for other formats so that the can be merged into one pfd output on 9ias.
Ame
Can I install report 10g, if I have report 6i already
on that machine?Yes. Just install it in new oracle home.
Is it just you need to open reports into 10G and
recompile them?.Yes. It worked for me.
Does anybody had any problems with the obselete
objects. like buttons,graphics etc.There are no buttons in 10g. I don't have any idea about graphics.
Also, I have to migrate reports 9i to 10g (for
different project) what do I need to do?Not much difference in 9i and 10g. Just recompile in 10g (9.0.4).
Also see these links
http://www.oracle.com/technology/products/reports/index.html
http://www.oracle.com/technology/products/reports/migration/index.html
Similar Messages
-
As configuring the services like for example that of Forms and reports in Oracle 9iAs
Como configurar los servicios como por ejemplo el de Forms y reports en Oracle 9iAs para sistema operativo Solaris. Para que los reports y forms sean vistos en la WEB.
Jenny, for Forms and Reports configuration issues, you might try posting to the Oracle9i Forms forum:
Forms: http://forums.oracle.com/forums/forum.jsp?id=345390
Reports: http://forums.oracle.com/forums/forum.jsp?id=338539
These are actively monitored by product managers from those groups. If your question covers Web services with Forms and Reports, check out the viewlets showing how to make those aspects of Forms and Reports work at:
http://otn.oracle.com/tech/webservices/sample.html
We are planning on rolling out some new content and how to's specific to Oracle Reports and Web services probably the last week of July. The content is just been written, reviewed and recorded this week based on the examples you see in those viewlets.
Mike. -
Attach Custom Report to PO Approval Notification
Hi All,
I m currently working on a requirement to attach a custom report along with the PO Output for communication report in the PO Approval. I was tracing and found out that the PO Output for communication has been submitted in PO_COMMUNICAITON_PVT package. After that i am unable to trace further. Please let me know how i can i trace this and how to attach a custom report in PO Approval.
Thanks in advance.Hi,
We are unable to understand your requirement correctly.. Do you use any schedule conc. request to generate the Custom report??? At what time you want to attach custom report in the PO, during the PO creation process by the buyer (before submitting for approval)?
Can the buyer, generate the custom report and save it locally (in his m/c) before attaching it to the PO..?
Kind Regards,
S.P DASH -
SQL REPORTING USERNAME AND PASSWORD
I use SQL Server Reporting Services for reporting purpose and create reporting using and attach database then when I deploy any report it shows me username and password in SQL Server Reporting Service.
So what does it mean by password and username and where do I get this username and password for SQL Server Reporting Service?
i have not any password in windows and in SQL Server Database
HERE IS PICTURE
So what can I do?Going to that link will not run/execute the report. It should either prompt you to login or login you automatically and bring you to the landing page. If you are not being prompted to login, you should consider looking at making sure all the
appropriate services are running by looking at SQL Server Configuration Manager (i.e., the database engine and reporting services). It's also possible that your browser is configured to login you automatically if you are not being prompted to login,
which could be issue if the account you are logged into your computer as is not an administrator.
The next thing to consider is disabling any antivirus or security software that may interfere with the connection. Lastly try different browsers (e.g., firefox, Chrome, and IE) and see if you are getting any different error messages. Also consider
substituting "lenovo-pc" with "localhost". I have also seen the issue described in this article where you may need to disable the loopback check.
http://www.sqlservercentral.com/blogs/sqldownsouth/2009/09/28/reporting-services-disable-loop-back-check/
You aren't going to be able to deploy anything unless you can connect to SSRS via a web browser. -
Send Email Attaching the Report generated in Program.
Hi All,
I am generating a report in list format with write statements.
My requirement is to send an email attaching this report as an attachment.
I wanted to know how to get the listobject of the report generated by my program from the memory. Can anyone guide me with this ?
It will be appreciable , If any one can give me more information on sending mails attaching the reports generated by the program.
Thanks in advance,
MayankHi,
I think the problem is not clear.
My problem is to get the listobject name which got generated after the program run.I want to attach this list report to the email. I have seen a code from one of the link.
Here it is.
List of Users According to Logon Date and Password Change
NOTE: Create ALI/OTF Document in Spool
SUBMIT rsusr200 WITH valid = 'X'
WITH notvalid = space
WITH unlocked = 'X'
WITH locked = space
EXPORTING LIST TO MEMORY AND RETURN.
<b>* Read list from memory into table
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.</b>
Because listobject is of size RAW(1000)
and objbin is of size CHAR(255) we make this table copy
CALL FUNCTION 'TABLE_COMPRESS'
TABLES
in = lt_listobject
out = lt_objbin
EXCEPTIONS
compress_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
Here the report is sumitted with the option of exporting the list in to the memory which is later read using 'LIST_FROM_MEMORY'.
But here i need the same report's output to be captured and want to read the list generated from memory into table.
How can i get the listobject of the list generated by the report in the same report program itself ??
Please let me know.
Mayank -
How to send a mail with attaching a report
hi gurus,
my requirment is i have to send a mail with attaching the report of a program to the client.. is it possible? help me with sample code.
Thanks in advance.
Regards,
Indira DHi Indira,
plz check out this code below,
*& Report ZATTACH *
REPORT ZATTACH .
TABLES: ekko.
PARAMETERS: p_email TYPE somlreci1-receiver
DEFAULT '[email protected]'.
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 10 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
endform.
" POPULATE_EMAIL_MESSAGE_BODY
<b>
Reward points if this helps,</b>
Kiran -
XML Report Bursting and distribution
I want to send PDF report as an attachment to more than 200 suppliers using XML Report Bursting
In XML Report Bursting and distribution, do we need to configure the "Mail Server" on apps. (I mean any configuration is required on apps server)?
Thanks,
[email protected]Hi,
You'll need to be able to connect to your mailserver via SMTP.
Check out the following:
http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
Regards,
Gareth
Blog: http://garethroberts.blogspot.com/ -
Custom reports engine in 9iAS reports services
Hi,
Has anyone built a custom engine with 9iAS reports services and got it to work? The document "Oracle9iAS Reports Services Publishing Reports to the Web" suggests to look for API documentation on OTN, but so far I have not been able to find any documentation on developing a custom engine.
Any suggestions/pointers will be greatly appreciated.
Thanks,
ArunHi,
Has anyone built a custom engine with 9iAS reports services and got it to work? The document "Oracle9iAS Reports Services Publishing Reports to the Web" suggests to look for API documentation on OTN, but so far I have not been able to find any documentation on developing a custom engine.
Any suggestions/pointers will be greatly appreciated.
Thanks,
Arun -
Using Report Catergory and how to Disable 'Select Range button on screen'
Hi All,
I am using logical Database PNPCE and I have created my own report category and I would like to disable the 'Select Ranges'
button that shows to the right of my field for Organization Unit as I would like them to be restricted to only one entry.
thank you,
KWI have tried this in my INITIALIZATION of my program but no luck... how is there a way to accomplish this? Remember I am trying to restrict the range selection on my report category that is attached to my LDB PNPCE.
* Define the object to be passed to the RESTRICTION parameter
DATA lv_restrict TYPE sscr_restrict.
* Auxiliary objects for filling RESTRICT
DATA lv_opt_list TYPE sscr_opt_list.
DATA lv_*** TYPE sscr_***.
* KIND = 'A': applies to all SELECT-OPTIONS
MOVE: 'A' TO lv_***-kind,
'*' TO lv_***-sg_main,
'NOPATTERN' TO lv_***-op_main,
'NOINTERVLS' TO lv_***-op_addy.
APPEND lv_*** TO lv_restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
program = sy-repid
restriction = lv_restrict
* DB = ' '
* EXCEPTIONS
* TOO_LATE = 1
* REPEATED = 2
* SELOPT_WITHOUT_OPTIONS = 3
* SELOPT_WITHOUT_SIGNS = 4
* INVALID_SIGN = 5
* EMPTY_OPTION_LIST = 6
* INVALID_KIND = 7
* REPEATED_KIND_A = 8
* OTHERS = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Edited by: Keith Warnock on Jan 13, 2011 8:30 PM -
How to zip report output and send via mail from application
Hello,
I want to know how to zip the report output and send it by mail to concerned person from application
I want this as the report is having more than 70000s of records.
Also the XLS has the limitation of 2^16 records and the report is having more than this
Any help is very much appreciated
Regards,
Vani1: Make a Dummy report. From some post parameter form trigger, run your original report with "srw.runreport" call. The original report can generate output to a file.
2: Then withing this dummy report run, call a user exit to zip the
original reports output. You need to write this user exit and attach them
with reports.
3: Now use Report 9i distribution for this dummy report to sent this external zip file through mail.
With Regards
Reports Team -
Configuring Report Services in 9iAS
Enabling Report Services in 9iAS:
We have installed Oracle 9iAS on Win2000 Server. We have edited the rwservlet.properties file to give our own report server name like �rep9iserevr� by adding a line SERVER = rep9iserver.
Then we made a copy of the rwserver.template file and renamed this file as �rep9iserver�. Our Registry variables are like this:
REPORTS_PATH F:\FORMS
REPORTS_TMP C:\TEMP
FORMS90_PATH F:\FORMS
We are able to work with Forms 9i. But when we use Web.Show_Document for calling reports from Forms 9i using the following command in Internet Explorer
http://hostname:7778/reports/rwservlet?server=rep9iserver&report=9itestrep.rdf&destype=cache&desformat=html&userid=scott/tiger@mydb
Rep-51002 � Binding to the report server rep9iserver failed.
But, if we are accessing the report services without the report file name, etc like
http://10.192.20.14:7778/reports/rwservlet then the browser displays the default page of the report services. Does it mean the report service has already started?
If I call the URL http://10.192.20.14:7778/reports/rwservlet/getserverinfo it displays the following error message:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
- <serverInfo name="rep9iserver">
<error code="51002" component="REP" message="Bind to Reports Server rep9iserver failed" />
</serverInfo>
If I call the URL http://10.192.20.14:7778/reports/rwservlet/getserverinfo?server=rep_<hostname> then
we get the following error:
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
- <serverInfo name="REP_CHEFP06">
<error code="51019" component="REP" message="Need system user authentication" />
</serverInfo>
Does it mean, the clients are not having access to the server? Please note that the client machines are having full write access to the FORMS_PATH (F:\FORMS).
Moreover, Oracle Enterprise Manager shows that �Report Services� Status as Down. Similarly, we are not able to select the �Single Sign On Enabling for Forms Services� in the OEM.
If the status is �Down�, then how are we able to access the report services through the URL (though we are unable to run the report).
So, please give us some ideas to make the reports services available from Forms.
Thanks in adv.
Jagadish Babu.Hi all , I have a query hope can be answered from here ,
I have installed 9IAS appllication server and 9i Database on a windows 2000 server , which was working fine until now, two days back i had shut down the services of both IAs and Infra in the sequence and shut down the machine.
After restarting the machine the Reports services of IAS are not starting i tried to start manually but still its the same problem. I have checked the log which is pasted here
*** 2005/1/6 10:39:17 -- Reports Server is starting up
*** 2005/1/6 10:39:21 -- Reports Server started up engine rwURLEng-0
*** 2005/1/6 10:39:23 -- Reports Server started up engine rwEng-0
*** 2005/1/6 10:39:28 -- Shutting down engine rwEng-0
*** 2005/1/6 10:39:28 -- Shutting down engine rwURLEng-0
*** 2005/1/6 10:39:28 -- Server is shuting down
by which im not able to work for Reports and
please reply as soon as possible -
How i have to attach a report output(from server) as attachment
Hi ,
how i have to attach a report o/p as attachment.
Thanks in advance for helpingYou could make use of a GLOBAL TEMPORARY TABLE and populate the data in this table in the BEFORE-REPORT trigger.
Then your report query would be based on this global temporary table which will make it very easy for you. -
How to have reports work in 9iAS 9.0.3 java edition
Hi,
We are able top generate reports in Reports Builder and also run the reports in Jdev env( Embedded OC4J). We have to integrate the same with our J2EE application working on our production version of 9iAS 9.0.3 java edition. How to we start the report service in the 9iAS environment?
Regards,
SerishHi Serish,
Pl see Chapter 3 (Starting and Stopping Oracle9 iAS Reports Services) in "Publishing Reports to the Web"
http://otn.oracle.com/docs/products/reports/content.html
Navneet. -
"9iAS Forms/Reports version" vs "9iAS Java Version"
Everybody knows that Oracle pushing for the JDeveloper 9i and 9iAS. The new "9iAS Java Version" for 5,000 dollars per CPU is a great price.
When Oracle is going to release a "9iAS Forms/Reports Version", which will include 5 developer licenses for Forms/Reports Developer 9i (not the entire 9iDS) and the 9iAS framework to deploy only the 9i forms and/or reports but nothing else - for 5,000 dollars?
As it is proven by the release of 9iAS Java Version, it is really not a technical issue - but a marketing decision to have a "9iAS Forms/Reports Version". Anybody from Oracle marketing?At Oracle Open World, they said they will have a new BI package of the Application Server which will include HTTP, Web Cache, Discoverer, and Reports. It will also include 5 developer licenses so I'm guessing there will be a similar packaging of the Developer Suite. It may include JDeveloper too but I don't know.
So if you aren't using Forms, there will be one option to get Report Server cheaper than you can today. It is supposed to be released in January. If it includes JDeveloper, then you can migrate your Forms to J2EE and use this installer too. -
Can we user Report Runtime without 9iAS?
Can we user Report Runtime without 9iAS?
How to install/configure the Report runtime?
Thanks in advance,
TrungThis question should be posted on the reports discussion forum.
Oracle9i Reports is a web version only. It relies on the report Server to manage queus of reports and distribute them as needed. The Oracl9i Reports Server is part of Oracle9i Application Server and you need to license Oracle9iAS to use it.
Once you install Oracle9iAS you'll have the reports server configured for you.
Maybe you are looking for
-
Making Main Images Links in Photo Gallery
Hello. I've made an image gallery and it works great. What I want to do is make the main image a link to a certain part of the site. The first link works great, but then I get: TypeError: Error #1009: Cannot access a property or method of a null obje
-
Need help finding serial number on Adobe Photoshop Elements 10 purchased from Amazon.
Iteme was purchased full price and there is no serial number on the back of the DVD case.
-
Full screen mode not working in Mountain Lion
I'm using the new Retina Macbook Pro. The full screen mode to preview pictures and movies is not working; the dock still remains open when the full screen is open. I have to manually hide the dock by pressing command + D and do the same to open the d
-
all the sudden i have multiple copies of same tv shows in my library. i'm not sure, but suspect it happened when i tried to import a tv show from a back up disc; but not sure. example: i have 3 different sections in my library for lost, each one havi
-
I have a single URL which will direct users to one of four ASA5520 devices, can I export a single certificate onto all four devices or do I require four individual certificates?