Querying the output of a batch/scheduled report
We haven't move to Discoverer Viewer as of now. One of the questions I have to those who have already implemented it is, can you schedule a batch report in the viewer and then users are able to query the RESULT of it without querying back the database? We have concerns on performance during the day so scheduling reports to run at night would be convenient for us.
thanks for any comments........
In the concurrent program screen, select options . Under Notify the following person, eneter the email address where output needs to be sent.
Other option could be to create a send mail package and call that from after report trigger of report. The email address can be inputed as a parameter. For more information for this visit
http://sureshvaishya.blogspot.com/2008/02/email-through-plsql.html
The third option could be to call the report from a shell script program and after report is completed email the output using mailx functionality.
Similar Messages
-
How to send the output to PDF format in reports 6i?
Hi,
How to send the output to PDF format in reports 6i? I given Mode = BITMAP.
DESTYPE = File, DESFORMAT = PDF, DESNAME = C:\x.pdf.
Report is running fine. But PDF file not generated. I don't know what i missed. Any one can help this?
Thanks
KavithaHello,
Do you get this problem only for DESFORMAT=PDF ?
Test with :
DESFORMAT = RTF, DESNAME = C:\x.rtf
or
DESFORMAT = HTMLCSS, DESNAME = C:\x.html
does it work ?
Check if DESNAME is modified in the reports itself.
Regards -
While executing the query the output is completey different from the query
Dear friends,
We built a query and loaded the data for that infoprovider.
While executing the query the output is completey different from the query what we have built.
Output has no relevance to the query.
Kindly help the same.
Regards,
SathyaHI Satya,
In my opinion the issue is with your front end.
Results should be identical in RSRT, BEx Analyzer (Workbooks) and the ABAP-Web since all three frontend tools use the "ABAP Runtime layer".
It may differ In the Portal where the new "Java Runtime layer". (Java-Web.) is used.
This is given in OSS Note 1296576 - Different Query Behaviour: ABAP - Java.
So i think the problem lies in your analyser. If you are using Analyzer: BI Add on 7.X (Based on 7.10) try and get support package 8.
Hope this helps.
Thanks,
Rahul -
Input must bein module pool and the output should be in ALV report
Dear Friends,
Greetings.....................
Please give me solution for my problem.
Consider there is one module pool screen with the fields empno, edob, ecity.There is one search button.if the user clicks the search button.it should display the employee details based on empno and output must be in ALV reports.
Thanks in advance
RajHi,
Try to use
call function 'REUSE_ALV_POPUP_TO_SELECT'
exporting
i_title = text-021
i_zebra = 'X'
i_tabname = 'P_YSIZE1'
it_fieldcat = p_fieldcat[]
it_excluding = p_excltab[]
i_screen_start_column = 02
i_screen_start_line = 02
i_screen_end_column = 45
i_screen_end_line = 15
importing
e_exit = p_exit
es_selfield = p_selfield
tables
t_outtab = p_ysize1.
a® -
How to remove spaces in the output of an PL/SQL report
Hi,
The requirement is to develop a SQL report.
The sample code is like this
Select 'Order Number Header Id' from dual; ( This is the heading in the output of the report.)
Select order_number , header_id from oe_order_headers_all;
The output is displaying as follows
=======================
'Order Number Header Id'
1234 101
2222 102
3333 103
=======================
Now I am opening the report in excel, and there is a space appearing after the headings.
So, how can I remove the additional blank line between the headings and the data.
Thanks in advance
ManiMani B wrote:
Hi,
The requirement is to develop a SQL report.From which tool ur getting this report...? From oracle forms report..?
>
The sample code is like this
Select 'Order Number Header Id' from dual; ( This is the heading in the output of the report.)
Select order_number , header_id from oe_order_headers_all;
The output is displaying as follows
=======================
'Order Number Header Id'
1234 101
2222 102
3333 103
=======================
Now I am opening the report in excel, and there is a space appearing after the headings. if u use any third party tool like pl/sql developer or sql developer then u can export the data into xcel file.
Sen -
How to get the output of my batch file or script file
Hello,
I am a beginner in java and I have to run a batch file(in win) or a script(in linux). I want the output of the file in my java program. How to read the output. I used the following code and it always gave me the empty string output
Runtime r = Runtime.getRuntime();
Process p = null;
p = r.exec("./test.bat"); //./test.sh
int res = p.waitFor();
BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
String tempStr = "", str = null;
while((str=br.readLine()) != null) {
tempStr += str + "\n";
System.out.println(tempStr);
I know this is a simple one but it's taking a lot of time. Can any one there help me quickly.hi
the below function works well for me..
just make a try with it
protected String runConsoleCommand(String command) throws IOException {
Process p = Runtime.getRuntime().exec(command);
InputStream stdoutStream = new BufferedInputStream(p.getInputStream());
StringBuffer buffer = new StringBuffer();
for (; ; ) {
int c = stdoutStream.read();
if (c == -1)
break;
buffer.append( (char) c);
String outputText = buffer.toString();
stdoutStream.close();
System.out.println("the output to file is:"+outputText);
return outputText; -
Attach the output of a standard OM report in email NTF
Hi All,
I have to attach the output of a standard Order Manangement report in the email notification. Can anybody please let me know what should be the approach for this.
ThanksIn the concurrent program screen, select options . Under Notify the following person, eneter the email address where output needs to be sent.
Other option could be to create a send mail package and call that from after report trigger of report. The email address can be inputed as a parameter. For more information for this visit
http://sureshvaishya.blogspot.com/2008/02/email-through-plsql.html
The third option could be to call the report from a shell script program and after report is completed email the output using mailx functionality. -
Can we cancel the print out of a scheduled report?
Suppose a report is scheduled and configured to printer.
We want send a cancel command to the printer.
how can this be done?Hi Sriram,
Once you send any request to printer it will take it into printer buffer. You can't pass any command to cancell the printer buffer. You will have to go in printers and cancell the print job.
If you switch off the printer also the print que will wait till the printer comes in ready mode.
You will have to change the configuration of the scheduled report.
Hope this will help you.
Thanks,
Sastry -
Spool file problem,Can't see the query in output file.
Hello ,
I am facing a very old school kind of problem .....about spool file ....
The scenario -
I have made a script by name DB_Status_checkup.sql which i want to fire on the database to check the database status. In this script their are many queries regarding the data dictionary views to know about the database. It consist of nearly 25-30 different select queries..
The problem is i want to make a spool file of the output of that query....i want to see the SQL query & the output below in the spool file, so it will be easy for me to judge the result. But i can't see the SQL query , i can only see the output , & in so many queries it all gets jumbled up....even i can't understand where the next output starts ...
Sample of my SQL Script ....
clear buffer
spool D:\DB_status.txt
/*To check the database startup time*/
Select to_char(startup_time, 'HH24:MI DD-MON-YY') "Startup time"
from v$instance
.........next query n so on....
spool off;
In the output pf the spool file at D:\db_status.txt..
Startup time
08:25 16-JUL-10It shows only the output of the query in the spool file not the query,
What should i do to get the SQL query as well as the output of that query just below it in the spool file ???
Please suggest if you have anymore ideas , regarding this .....
ORACLE 10g R2
Windows Server 2008
Thanks in advance ...Why don't you just use database control, instead of re-inventing the wheel?
Apart from that, SQL*Plus has it's own reference manual, which you apparently refuse to read.
The answer to your quiz/doc question is
set echo on
Sybrand Bakker
Senior Oracle DBA -
How to make checkbox field inactive in the output of ALV report.
Dear All,
I am having one ALV report in whose output there are checkboxes against each record. Example: the output columns of my ALV report are:
Checkbox, Sales Document No, Billing Document No.
Now, my requirement is that if for the Sales Document No there exists any Billing Document No in the output then the Checkbox should be inactive but if the Billing document coloumn is empty for a particular Sales Document No then only the Checkbox field should become active.
Kindly guide me on how to make this checkbox field inactive.
Waiting for your reply.
Warm Regards,
N.JainHello,
Follow the below steps:
1.Define as--> GS_STATUS TYPE SLIS_STATUS,
2.check layout check box fieldname is not initial.
then set the status according to your logical conditions
GS_STATUS-FLG_CHECKBOXES_ACTIVE = 'X'
Hope this would help you.
Let me know your feedback.
Regards,
Raju -
How to change the sender's name/email-id in the scheduled report
Hi,
We have SCOM 2007 R2. In the Reporting tab (SCOM Console), we have some scheduled reports. I need to change the sender's name/email-id in a scheduled report. When we receive the report through email, receiving with the person's name who moved out of the
team.
I tried to change but could not find the option to change while editing the properties in SCOM Console under Reporting -> Scheduled Reports.
When we are receiving mail from that scheduled report, instead of an individual name, would like to provide a generic name. Please help me out. Let me know, if you need more information.
Thanks,
Naren.
Thanks & regards, Naren.Hello,
the SCOM scheduled reports feature rely on SQL Reporting Services. So, if you would like to change the SMTP configuration, you should go in SQL Reporting Services Configuration Manager:
Open in the Start Menu, Reporting Services Configuration Manager.
In the connection window, click OK.
Click on the tab E-mail settings.
Change the Sender Address.
Click Apply.
Alternatively, you could also change in the Scheduled report properties the field
Reply to. I think it should customize the reply address for each scheduled reports, but I have never used it. Anyway, doing it with Reporting Services Configuration Manager is more interesting in the long-run. -
How to get the output data of Standard drill down report into z-program?
HI every one,
I want to get the output data of drill down report into z-program.
Actually,if the output is only one, I can get into z-program,
But, Here the report consists 3 alv outputs. when double clicking function happens, it will direct to another alv output.
Those, all the outputs of report i want to get into z-program.
PLease , give reply as early as possible.
Thank u in advance,
karthikHI,
When i download,only one output i will get.
But,if i double-click the particular record it will show another output. I want that output also.
Like that,when i double-click particular record, it will show some other alv ouput based on record,
i wanted all those outputs.
If i copy the code, whether i face any problems? -
How to generate output file of a certain report in a specified directory
Hello everyone,
I wanna know how to generate the output file of a certain report in a specified directory.
Now, the output file directory = /produits/OA/OAS/production/prodcomn/admin/out/PROD_us15k1bp/
I wanna to generate the output file of a report in this directory
/produits/OA/OAS/production/prodcomn/admin/out/PROD_us15k1bp/FACTCLIENT
Cause the output of this report is very large, so I don't wanna to put it in the output drectory standard which reduce the performance.
Could you help me?
Thanks a lot,
KinkichinHi,
I wanna know how to generate the output file of a certain report in a specified directory.See (Note: 158088.1 - Is Possible to Redirect the Concurrent Processes Output to a Specific Directory for a Specific Responsibility?).
Cause the output of this report is very large, so I don't wanna to put it in the output drectory standard which reduce the performance.There should be no performance issues you place the output file in the same directory where other concurrent request output files are located.
Regards,
Hussein -
Crystal Reports Server - Scheduling Report Exports
Dear Experts,
We are using Crystal Reports Server XI Edition and we would like to schedule report exports. Crystal Reports Server configuration console allows us to automate report exports but apparently we could not find a way to pass report parameters and formulas from any export management tab. Naturally, each report needs to take different parameters but to our knowledge CRS management console does not have a screen that prompts us to key in or to read dynamic report parameters and formula. It simply uses the default report parameters. Can you confirm this please?
To overcome this limitation, we are thinking of developing something like a script that directly interacts with CRS. The script would pass the name of the report, the report parameters and other relevant details like CMS username/ password.Do you think this is possible and if yes can you please point us to the key APIs required for scheduling report exports?
My sincere thanks for your assistance.
Kind Regards,
Joseph.You are able to change the parameters for the report within the Central Management Console under the processing tab before scheduling.
Here is some sample applications that you can refer to in regards to doing this using the api:
[http://www.businessobjects.com/global/doc/dev_zone/Java_SApps_q405.zip|http://www.businessobjects.com/global/doc/dev_zone/Java_SApps_q405.zip] -
Creation Output Message Type for Scheduling Aggrement
Hi,
Please share the detail configuration for the Output message type for scheduling aggrement, i need to use ALE IDoc so that i can send this SA to SRM system.
Regards,
PankajHi,
Output determination process for Scheduling aggrement.
SPRO-IMG-Material Management-Purchasing-Messages-Output Control-
1)First create condition table based which becomes condition record for accessing the data.
2)Create access sequence to access the data or search the based on the conditoin record in sequence of the condition table.
3)Define your message type like print,fax etc.
Maintain the conditon record for the MN07 for the output type which new one you created.
Regards
Ravi Shankar.
Maybe you are looking for
-
<p>Hi </p><p>I am trying to design crystal reports in rational application developer on linux. <br /></p><p>But I cannt find CRDB_JavaServer.ini on linux. This file is present in Windows </p><p>in c:\program files\crystal decisions\2.5\bin path.But
-
I have a Mac Pro using Lion, with SSD for system drive. Drive stopped booting, but otherwise appeared healthy. Restored from system backup. Now drive seems to work properly, BUT my logon password no longer works. Password OK for account; can acce
-
Hi. I have problems with my screen getting freezed, sometimes goes to black and sometimes splits into 2 parts. This is one of the panic files. I have the Mac Book Pro 8,2 with intel HD graphics 3000 and leopard 10.6.8. This is one of the panic files:
-
Hi All, The sat nav on the 5800 is really good but I'm getting a slight issue with routing. I searched an address by road and house number and county. It was found by the software but when I came to drive to it today I got a message "Route not found"
-
Hi Gurus We have just completed EHP4 installation , we are getting a runtime error in the general ledger. There are many transactions that are giving us this same error. I tried to run the program RGZZGLUX as suggested in note 377053 and 1365712 but