How to run report in background, save output to word or excel
Hello all,
I have a huge report that needs to be run in background and I need the report in word. When running in Dialog it takes too long and SAP times out. How do you get something to run in background and have the output in excel. I know you can go into SM37, find the spool and then forward the spool request to a local file, is there an easier way to do it? Maybe setting up some kind of to text printer since the background job always asks for the output printer. Any suggestions?
Thanks a lot,
Sergiy
Hi,
Please check the article below:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
-Vikram
Similar Messages
-
How to run Reports demos?
I finally got everything installed and I'm trying to run the Reports demos off of the mid-tier web site. when I click on the jsp report demo it brings up the parameter page. I just use the defaults and click the run button. when I do that it asks me for a SSO login/password. what do I use here? I've looked over all the docs I can think of without finding anything.
Thanks,
JasonHi Thivan,
See the links here:
http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=WIP&submit=Search
Look for "Integrating Oracle9iAS Reports Services in Oracle9iAS Forms Services"
Another link on the above page will give you info on how to run Reports from Forms 10g.
Navneet. -
Running reports in background?
hi,
is it possible to run reports in background? i'm trying to find a way where in i can run / submit a process/procedure/report then go back to it after its done. this will help me allow do some other things while waiting for a report to finish.
has anyone done this?
thanks
allenI didn't read the full article you linked to Tony, but you can just use one of the functions available in the apex_util package. (apex_util.get_print_document) - which returns the report into a blob variable.
See: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_util.htm#CHDDECIA
Ta,
Trent -
How to run report server in oracle 9i DS
hi..
can any 1 tell me how to run report server in oracle 9i DS
i've installed oracle 9i DS, but don't know how to run
report server.
actually i want to run a report from my form
on button press trigger.. some of the experts r tellin
that 1st u check whether report server is running or not..
so pls tell me how to install report server.
while installing oracle 9i DS, i've given Mail server
as mysmtp.com
Thanks
amithi ..
i've to go in this directory n run
rwserver -install repservername
where repserver name is my mailserver..
this will install reports server
Amit -
How to run report from form using run_object_report
I AM USNING FORMS9I/REPORTS 9I , HOW TO RUN REPORT FROM FROM USING RUN_REPORT_OBJECT AND HOW
TO PASS PARAMETER AS WE DID IN RUN_REPORTS PLEASE HELP MEhere an example !
I hope this example you can use it
PROCEDURE pr_reporte IS
BEGIN
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status Varchar2(20);
d1 DATE;
d2 DATE;
BEGIN
d1 := :GLOBAL.DIA_INI;
d2 := :GLOBAL.DIA_FIN;
repid := find_report_object('rep_lab02');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'p_fec_uno='||to_char((add_months(last_day(d1),-1) +1),'DD/MM/YYYY')||' '||
'p_fec_dos='||to_char(d2,'DD/MM/YYYY'));
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := report_object_status(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' then
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
ELSE
ventana('E','error reporte no encontrado','S');
END IF;
END;
END;
The 'rep_lab02' is the name of the report that you give in the node reports
p_fec_uno and p_fec_dos they are the parameters in the report
repserver is the name of server created with rwserver
Greetings -
How do I convert a pdf file to a Word or Excel document?
How do I convert a pdf file to a Word or Excel document using the Adobe software?
Hi,
There are a few ways to export your PDF file to Word or Excel files.
Using Web UI:
Log into https://exportpdf.acrobat.com/signin.html with your Adobe ID and password
Select “Export from PDF”
Click “Select Files” button then choose your PDF file
Select the format from the list below
Check ON “Recognized text in” if your PDF file is scanned images to recognize the image to text
Click “Export” button
Click “Download” button in the progress bar after completion of exporting to download the file to your computer.
Using Adobe Reader:
Launch Adobe Reader X or Reader XI
Select “Tools” and click “Sign In” link to sign in with your Adobe ID and password
Select “Export PDF” then click “Select PDF file” link
Select format from “Convert To”
Click “Convert”
Click “Download Converted File” link to download the file to your computer after the process is completed.
Download Files:
All exported files are stored at https://files.acrobat.com and you can login with your Adobe ID and password.
Or at Web UI you can click “FILES” next to “TOOLS” at top or click “View All files” in the file list of “Export from PDF” tool( or “Convert to PDF” or “Combine Files” tools for PDF Pack users) that will redirect you to the above site(https://files.acrobat.com)
From Reader you can click “Store Files” under “Tools” and click the link of “Open Acrobat.com Files”
Hisami -
Installed the latest itunes update and now I cannot save my Microsoft Word and Excel documents.
Installed the latest itunes update and now I cannot save my Microsoft Word and Excel documents.
-
Run report on background and save to file
Hi all,
I have a development suite 10g.
I have created simple paper report with one parameter.
And I want to run this report on background from forms and get it
saved to file (PDF or RTF). The parameter for report should be passed from
my form.
Thanks for any suggestions.
Brano.Hi,
I use the following progam unit to generate a pdf file:
if RUN_PRODUCT does not work on 10g check out the built-in RUN_REPORT_OBJECT.
PROCEDURE create_pdf_report IS
l_pl_id ParamList;
v_report_from_date date;
v_report_to_date date;
/* PDF file name */
v_file_name varchar2(150);
/* network location where to save the pdf file*/
v_output_path varchar2(100):= :control.report_dir;
begin
v_report_from_date := :control.from_date;
v_report_to_date := :control.to_date;
v_file_name := v_output_path||'\your_pdf_filename.pdf';
L_pl_id := Get_Parameter_List ('REPORT_PARAMS');
If Not ID_NULL (l_pl_id) then
Destroy_Parameter_List (l_pl_id);
End if;
L_pl_Id := Create_Parameter_List ('REPORT_PARAMS');
/* Parameters to send output to pdf file*/
Add_Parameter(L_pl_id, 'DESTYPE' ,TEXT_PARAMETER, 'FILE');
Add_Parameter(L_pl_id, 'DESFORMAT' ,TEXT_PARAMETER, 'PDF');
Add_Parameter(L_pl_id, 'DESNAME' ,TEXT_PARAMETER, v_file_name);
Add_Parameter(L_pl_id, 'PARAMFORM' ,TEXT_PARAMETER, 'NO');
Add_Parameter(L_pl_id, 'BACKGROUND' ,TEXT_PARAMETER, 'YES');
/* Addtional data parameters */
Add_Parameter(L_pl_id, 'P_other_param' ,TEXT_PARAMETER, :CONTROL.MY_ITEM);
Add_Parameter(L_pl_id, 'P_FROM_DATE' ,TEXT_PARAMETER, to_char(v_report_from_date,'DD-MON-YYYY') );
Add_Parameter(L_pl_id, 'P_TO_DATE' ,TEXT_PARAMETER, to_char(v_report_to_date,'DD-MON-YYYY') );
-- call the report synchronously
Run_Product(REPORTS
,'YOUR_REPORT_NAME'
,SYNCHRONOUS
,RUNTIME
,FILESYSTEM
,L_pl_id
,NULL
exception
when others then
message('Error running report. '||sqlerrm, acknowledge);
end;
Regards,
Hugo -
Hi,
1. I am running a report in background, while running if system encounters any error then i want to download this error log to the presentation server, is there any function module to do this if not please suggest another possible solution to download the error log to presentation server.
2. In the above scenario when we are running a program in background, is it necessary to save the error log file on application server or we can download the error log directly to presentation server.
please suggest the possible solutions.
Regards,
AmolHi,
While running your program in backgorund mode genrally you can not download any data to prsentation server
there r 2 ways you can solve your problem.
1. Populate the error log and upload it to application server file Download the error log file from the appplication server by Using the command CG3Y.
2. Populate the error log and display it, doing so will create a spool when executed in backgoround now you can go to spool display it and download it to your local system.
These are the simplest ways to do it.
But if you still want your system to transfer error log to local system at the time it is executing in background you can do it by configuring RFC destination in SM59 detail documentation for RFC configuration can be found in the SDN.
Hope this helps.
Regards
Bikas -
How to run Reports Saved in JSP format
How to run the report develop by report9i on OC4j
that directory structure where to save jsp report file and how do it
get access to rep tag lib that is in web-inf /lib.
second thing
what does it exactly mean by report server name..
is it the name of oracle 9ias server .check out the technical note here on OTN (http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/oc4j_ids/howToReportsServicesIds.htm)
regards,
philipp -
How to run reports thru menu in 10g
Hi,
I'm a junior oracle programmer and have already migrated forms 6i to 10g. Now I have to migrate the reports to 10g. I have read many documentations about running report from forms or menu, but the more I read, the more confused I get. Please note that I am very new to all this oracle stuff. So please bear in mind that I might not understand everything too well. Thats the reason I would like help from you experts out here.
We have a menu (mmb) which has two horizontal sub menus (eg. Forms & Reports). Now Forms and Reports again in turn hv couple of vertical sub menus. Each vertical submenu under Forms calls a form (for eg. submenu_f1 calls forms1, submenu_f2 calls forms2 and so on). Same thing for Reports (eg. submenu_r1 calls report1, submenu_r2 calls report2, etc). Now this is what we want for the Reports. Each of our report has parameters like Begin Date, End Date, Agency_Type, Year, etc. We want our user to have one more choice in the parameters "FORMAT" (pdf, excel, html, etc) . Now this is what I dont know how to do. I cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms). I tried web.show_document but the problem in this is that everything is hard-coded, so I cannot give a choice in the desformat.
I would appreciate if someone can tell me how to run my report thru menu and give the user the option for the format. The users mostly want the output in excel (but might want pdf, etc too).
Plus we want to schedule certain reports to run at certain times everyday or every month, how can I do that?????
Any help would greatly be appreciated.
Thanks in advance for taking your time to reply my query.Hi,
cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
Frank -
How to run report in Netscape as a default
Hi,
how do I run reports in netscape browser.
Reports currently are running in IE.
In Forms - preferences I have set it to Netscape and the forms run in netscape which is what I want for reports too. Where in reports builder, i have to specify the browser settings.
ThanksHi,
Please check the article below:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
-Vikram -
Running report in background getting runtime error.
Hi,
I am getting run time error , when I execute the report in background .
When I debug it I am getting error - when it is executing
CALL METHOD cl_ppegihdr_cntl=>exppe_read .
In ST22 I get error on "
SET HANDLER event_rec_tool_at1->on_function_selected FOR
mr_toolbar_at1."
ABAP Runtime error is
SET_HANDLER_FOR_NULL
Thanks and regards ,
Rohit.Hi,
Are you getting this error in foreground? What is the subrc?
Please can you post a screenshot, or more detail on the runtime error.
In the meanwhile here is the help docu for this which may help you, http://help.sap.com/abapdocu_70/en/ABAPSET_HANDLER.htm -
How to run report on web in forms 10g
dear all,
i have a form which call a report in form 6i i used the run_object();
how to run the report on web in forms 10g?
is there any html settings?
thanks
Muhammad NadeemHello,
<p>You can inspire from this article<br>It is a sample dialog that allows to launch any report with 0 up to 10 parameters.<br>Open the sample dialog, then you can see how the Run_Report_Object() built-in is used in the Start_Report program unit..<p>
Francois -
How to run report from form in DS9I
Hi,
Can anybody guide me how to run the webreport from the form by passing some parameter from form to report
by using Oracle developer 9i
thanksTry
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
You'll find there all what you need
Maybe you are looking for
-
Hi, I have a flat file with this kind of value - " 20140713 " . To take this value in DB Table I set the data type of this column in flat file manager - string [DT_STR] 50, But in destination table It is set as date [date] NULL while process this fil
-
Chase Online Fraudulent e-mail
Warning: I received a fraudulent e-mail regarding a Chase Online Upgrade. They try to suck you into going to a fraudulent "Secure Message Center" where they ask for your Id/password/ and also to confirm your e-mail address. URL for the fraudulent si
-
Find multiple tags in PE 4.0
I am using Photoshop Elements 4.0 in Windows XP pro to organize a large collection of photos. It's working great, with one exception. I have tagged all 3000+ photos by location, event, people present and a couple of other classes of tags. I am trying
-
IDVD 7 won't recgonize an mov file
Hi all I'm having a bit of a problem. Trying to author a dvd in iDVD because Final Cut suite no longer has DVD Pro (Big and ) . I've put 3 mov files into a folder within my movies folder but when pointing iDVD to the folder it will only recognise 2 o
-
Dear All, We have created Autopumps Export A/c as a revenue element catagory 11. In cost element we had given cost center 100 as a default account assignment. We have not created any other cost object such as profit center or business segement. While