RMAN report/list query
Does anyone have a query or script that goes into the RMAN catalog and gets the same type information (database backup info, status, dates, duration, etc) for databases 8i and 9i?
i am looking for something like this , for all 300+ dbs from RMAN Catalog , any idea?
HOSTNAME DB_SID START_TIME END_TIME BKP_STATUS BKP_TYPE
padb01 cmd 09/24/08 02:32 09/24/08 02:39 OK hot
adb01 amp 09/24/08 01:09 09/24/08 01:15 OK hot
arcs01 arsp 09/24/08 00:30 09/24/08 04:58 OK hot
radb01 arp 09/23/08 22:00 09/23/08 22:20 OK hot
otle bkerp 09/23/08 22:00 09/23/08 22:07 OK hot
adb01 bsd 09/23/08 22:59 09/23/08 23:17 OK hot
wradb01 cp 09/23/08 22:00 09/23/08 22:07 OK hot
Similar Messages
-
Select List (query based LOV) in a wizard created report form
I have created an updatable report form with 3 columns:
app_id
user_id
group_id
Each app_id has multiple group_id's associated with it, and I want to show the group_id field as a Select List (query based LOV) that contains the groups associated with the app_id.
My query for the select list needs to be similar to the following:
SELECT DISPLAY_NAME, GROUP_ID
FROM APPLICATION_GROUPS
WHERE APP_ID = ?????
ORDER BY 1
The problem is, I don't know how to reference the app_id from the main report to replace the ?????.
In other words, if my report returns 2 rows of data like this:
app_id----------user_id----------group_id
1-----------------24------------------3
2-----------------24------------------15
Then how do I get the group_id column to be a select list of possible groups for each application? If app_id 1 has 3 groups associated with it, 3, 4, & 5 and app_id 2 has 2 groups associated with it, 15 & 16, then those each of the select lists should be based on the app_id.
Hopefully I explained this clearly.
Thanks,
KrisLeo,
Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
SELECT DISPLAY_NAME, GROUP_ID
FROM APPLICATION_GROUPS
WHERE APP_ID = ?????
ORDER BY 1
The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
Hopefully this explains it a little better.
Thanks,
Kris -
Unable to create report. Query produced too many results
Hi All,
Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
the large amount in the grid anyway?
I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
Here Event Viewer log error at the server:
1. An exception occurred while running a report. The following details may help you to diagnose the problem:
Error Message: Unable to create report. Query produced too many results.
<br>
<br>
Contact the administrator for more details.
Dashboard Name:
Dashboard Item name:
Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
Request Duration: 6,220.93 ms
User: INTRANET\spsdshadmin
Parameters:
Exception Message: Unable to create report. Query produced too many results.
Inner Exception Message:
Stack Trace: at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
PerformancePoint Services error code 20604.
2. Unable to create report. Query produced too many results.
Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
PerformancePoint Services error code 20605.
Thanks in advance for your help.Hello,
I would like you to try the following to adjust your readerquotas.
Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
\Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
Locate and change the the below values from 8192 to 16384.
Open the Client.config file. The file is located in the following folder:
\Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
Locate and change the below values from 8192 to 16384.
After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
<readerQuotas
maxStringContentLength="2147483647"
maxNameTableCharCount="2147483647"
maxBytesPerRead="2147483647"
maxArrayLength="2147483647"
maxDepth="2147483647"
/>
Thanks
Heidi Tr - MSFT
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Hi there,
All my reports are throwing below error in a sharepoint site configured with Access services. Does anyone have a clue what's causing it?
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'Default'. (rsErrorExecutingCommand)
The SharePoint list query is not valid: Data at the root level is invalid. Line 1, position 1. (rsSPDataProviderError)
Thanks
ManvirHi Manvir,
For troubleshooting your issue, please go to C:\Inetpub\wwwroot\wss\VirtualDirectories\ find your Web Application (represented by a port number), then delete an unknown folder created by sharepoint, namely vti_cnf from all the folders and sub-folders in
your web application.
Reference:
http://forums.asp.net/t/985790.aspx?Data+at+the+root+level+is+invalid+Line+1+position+1
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Hello,
i used Vikas'example Re: cascading lov for tabular form
i have a problem with Select list (query based LOV)
when run tabular form i have the following error:
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
the number of rows of the Lov are 900
the display variable is 70 char
is there any limit?
Thank in advance
CostantiLeo,
Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
SELECT DISPLAY_NAME, GROUP_ID
FROM APPLICATION_GROUPS
WHERE APP_ID = ?????
ORDER BY 1
The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
Hopefully this explains it a little better.
Thanks,
Kris -
Character string buffer too small (select list query based LOV)
Hi,
Using the select list query based LOV with a select witch is too big, you get this error.
report error:
ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
When using the Popup LOV query based LOV) then it works nice.
Can that be solved somehow?
With the Popup LOV the return value is displayed in stead of the description.Hi Andy,
How do I incorporate your suggestion on a report ?
Example : I have
select apex_item.display_and_save(1,column1,5) col1,
apex_item.display_and_save(2,column2,5) col2 ,
apex_item.popup_from_query(3, emp_name, 'select user_name, name empname from table2) col3
Table 2 is a long list , and I'm getting string buffer too small due to this.
Your suggestion with HTP is good but I'm not sure how to implement it for reports as I'll like the user to change the values with the select_list.
I'm not using forms as they want mulit-record on the same page.
Hope to hear back from you soon.
Thanks very much. -
Hi all!
I am doing a report by query. In the Infoset query i have given PO Number(EBELN) as output along with some other fields. But the PO no is not displaying in the output while i execute the query. I have not ticked PO Number field as selection field. Its only output field. What may be the reason?
Can anyone tell me the reason?
Yuvi.Hi raju!
I am making query as below...
List all the materials for a particular period which has been done GR with the output as PO No - Material Docu No- excise invoice No.
So PO should be displayed as output..
I am refering MSEG and J_1IPART1.
Any inputs?
Yuvi. -
Hi - need some tips on generating useful RMAN reports. (Not using Recovery Catalog).
SQL> select input_type,
2 round(output_bytes/1024/1024,2) "MB",
3 status,
4 start_time,
5 end_time,
6 time_taken_display "Total Time"
7 from v$rman_backup_job_details;
INPUT_TYPE MB STATUS START_TIME END_TIME Total Time
DB INCR 191,63 COMPLETED 15.04.2011 15.04.2011 00:01:05
1 row selected.As you can see this was a incremental backup. But I would like to know what level and what type of incremental backup that was used. I have tried to search through all the v$rman views but cannot find anything that would give me that information.
Is it not possible to get that kind of information from the database views?
Thanks in advance.Hemant K Chitale wrote:
But I would like to know what level and what type of incremental backup that was used.Unfortunately no. If you run a BACKUP .. INCREMENTAL -- whether it is LEVEL 0 or LEVEL 1 -- it is reported as "DB INCR". So, you can't distinguish between L0 and L1 backups !
You have to cross-check the times with your own backup schedules (e.g. you know when L0 backups are scheduled and when L1 backups are scheduled) OR backup run logs (using the LOG option or capturing the screen output).
Hemant K ChitaleHerman,
I tested tychos's solution (querying v$backup_set_details), and it looks Ok to me? -
Unrecoverable_change# and rman report unrecoverable
I am running a test db oracle 11gR2 on windows server 2008.
I am running oracle suggested backup strategy for my backup operation.
So every night i run incremental backup and apply the previous incremental to image copies.
I am confused on why when i run a query like
select file#,name,unrecoverable_change#,unrecoverable_time from v$datafile
i have atleast one or two datafiles whose unrecoverable_change# and unrecoverable_time value is not 0.
Whether the operation was in nologging or not, since i have a incremental backup, why is the above value not 0??
However when i run in rman,
report unrecoverable;
rman does not report anything. So whats the difference b/w rman unrecoverable and the one from v$datafile??
can someone help me understand the correct concept of unrecoverable_change#??
Thanks.Yes , this is right. At least with Oracle XE as show in following test case:
SQL> select name, unrecoverable_change#, unrecoverable_time from v$datafile where file#=1;
NAME
UNRECOVERABLE_CHANGE# UNRECOVER
C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
0
SQL> select name, unrecoverable_change# UC, unrecoverable_time UT from v$datafile where file#=1;
NAME
UC UT
C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
0
SQL> desc t;
ERROR:
ORA-04043: object t does not exist
SQL> create table t(x int) nologging;
Table created.
SQL> insert /*+ APPEND */ into t select object_id from dba_objects;
12616 rows created.
SQL> commit;
Commit complete.
SQL> select name, unrecoverable_change# UC, unrecoverable_time UT from v$datafile where file#=1;
NAME
UC UT
C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
2004176 16-SEP-10
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
C:\>rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Thu Sep 16 20:59:51 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: XE (DBID=2607125346)
RMAN> report unrecoverable;
using target database control file instead of recovery catalog
Report of files that need backup due to unrecoverable operations
File Type of Backup Required Name
1 full or incremental C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
RMAN> backup incremental level 1 datafile 1;
Starting backup at 16-SEP-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=25 devtype=DISK
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
channel ORA_DISK_1: starting piece 1 at 16-SEP-10
channel ORA_DISK_1: finished piece 1 at 16-SEP-10
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_09_16\
O1_MF_NNND1_TAG20100916T210031_694TBHLT_.BKP tag=TAG20100916T210031 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
channel ORA_DISK_1: starting incremental level 1 datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 16-SEP-10
channel ORA_DISK_1: finished piece 1 at 16-SEP-10
piece handle=C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2010_09_16\
O1_MF_NCSN1_TAG20100916T210031_694TC04T_.BKP tag=TAG20100916T210031 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 16-SEP-10
RMAN> report unrecoverable;
Report of files that need backup due to unrecoverable operations
File Type of Backup Required Name
RMAN>And you still have:
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Sep 16 21:08:27 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select name, unrecoverable_change# UC, unrecoverable_time UT from v$datafile where file#=1;
NAME
UC UT
C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF
2004176 16-SEP-10Edited by: P. Forstmann on 16 sept. 2010 21:07 -
Hello,
is there a way to create a RMAN report for all the backups that are being done in different databases and that report should be directly writing to a sample table.
the report should contain the colums like -
DBNAME BKPTYPE DATE STATUS STARTTIME ENDTIME .. and so on..
i've tried using some v$views like V$RMAN_BACKUP_JOB_DETAILS,V$RMAN_BACKUP_JOB_DETAILS,V$BACKUP_SET_DETAILS. etc... but i need a some sql or pl/sql that should give me the complete report.
thanks,
vinayHi Vinay,
are you using recovery catalog then you can generate the backup report for all databases using the following query.
select
session_key, db_name,
min(r.start_time) start_rman,
min(c.checkpoint_time) start_controlfile,
min(d.checkpoint_time) start_datafile,
min(a.first_time) start_archivelog,
max(a.next_time) end_archivelog,
min(b.start_time) start_set,
max(b.completion_time)
end_set, min(p.start_time)
start_piece, max(p.completion_time) end_piece
from
rman.rc_backup_controlfile_details c
join
rman.rc_backup_datafile_details d
on c.session_key = d.session_key
join
rman.rc_backup_archivelog_details a
on c.session_key = a.session_key
join
rman.rc_backup_set_details b
on c.session_key = b.session_key
join
rman.rc_backup_piece_details p
on c.session_key = p.session_key
join
rman.rc_rman_backup_job_details r
on c.session_key = r.session_key
where
db_key =
(select db_key
from rman.rc_database
where name = 'alice1')
and
c.checkpoint_time >sysdate-14
and
d.checkpoint_time >sysdate-14
and
r.start_time >sysdate-14
and
a.first_time >sysdate-14
and
b.start_time >sysdate-14
and
p.start_time >sysdate-14
and
a.next_time >sysdate-14
and
b.completion_time >sysdate-14
and
p.completion_time >sysdate-14
group by
session_key,
db_name;
Regards,
Jey -
Hi All,
I want to execute seperately a report which is displayed in report tree,
the program name it shows is something like FBRX01GLPCTSFINSTAT-FA-X.
What does this name signifies ?
Thanks.Report Tree:
An ABAP reporting tree program that allows the user to press enter or double click on any line. The report is updated with new internal table data and re-written. The cursor and paging returns to the exact same line the user was on, even though the report was re-written from the internal table. Input fields are filled with data based on ENTER of DOUBLE CLICK. [+] and [-] is displayed on each line and changes if user selects to expand/collapse.
Here, you specify the name of the tree to be used for report selection in the application menu. SAP supplies one default tree per application, but customers can create their own trees and overwrite the SAP tree.
Under Extras -> Control, you can define whether the reports in the tree are to be displayed in a selection window or on a separate screen. To suppress the processing of report trees for the relevant application by choosing Inactive . When you call report selection in the application menu, the list selected in the report list is then displayed.
It is also possible to deactivate the report tree for any end-user in any application by setting the user parameter 'KBT' to 'X'.
Transporting the Tree Sructure
When you change a tree, it is included in a transport request (transport object R3TR SRTR). The following are then transported:
The tree structure all the texts
Node entries (the names of the reports and variants)
The following are not automatically transported:
User-specific settings (initial position, sub.trees, visible entries)
Saved lists
When you change a node, it is also included in a transport request. The following are then transported:
Node entries (the names of the reports and variants)
Manual Transport (for Special Cases)
The tree structure is stored in the table SERPTREE. A tree structure can only be transported as a whole, and the transport request should contain the following entry:
R3TR TABU SERPTREE and SERPT. Function R transports all trees from the source system and overwrites those in the target system.
R3TR TABU SERPTREE und SERPT. Function K transports only those trees specified on the next screen. You must enter function R. You can only specify the tree ID; the node ID must be specified generically.
If you want to overwrite a tree structure in the target system, the node contents (table SREPOVARI, see below) and the user-specific views (table SERPENTR and SREPOUSER, see below) should also be transported, or at least deleted in the target system.
Transporting Node Contents
The contents of report tree nodes (reports and variants) are stored in the table SREPOVARI. In this case, you should make the following entry in the transport request:
R3TR TABU SREPOVARI. Function R transports the contents of all nodes of all trees from the source system and overwrites those in the target system.
R3TR TABU SREPOVARI. Function K transports only the node contents specified in the next screen. You enter function R here.
If you want to overwrite a node in the target system, the user-specific views (table SREPOUSER, see below) should also be transported, or at least deleted in the target system.
Transporting User-Specific Views
The views of the report tree are stored in the table SERPENTR. You must make the following entry in the transport request:
R3TR TABU SERPENTR. Function R transports the views of all users of all trees from the source system and overwrites those in the target system.
R3TR TABU SERPENTR. Function K transports only those views specified on the next screen. You enter function R here.
The views of the nodes are stored in the table SREPOUSER. You must make the following entry in the transport request:
R3TR TABU SREPOUSER. Function R transports the view of all users of all nodes from the source system and overwrites those in the target system.
R3TR TABU SREPOUSER. Function K transports only those views specified on the next screen. You enter function R here.
Delete country-specific reports from report tree
Example
Deleting country-specific personnel reports from the report tree, for example, deleting the reports for USA.
Further notes
Selection criteria on the selection screen:
Reports to be deleted: Specify the report name (optional)
Report tree: for example, SAP1 for the tree displayed when you choose Information systems -> Gen.report selection.
Delete also in user trees: Default = checkbox selected.
Change database: Test mode = Checkbox not selected, i.e. no database updates.
When you execute the report, you get a list of all countries for which country-specific reports can be deleted. You then select the countries for which you want to delete reports.
To delete single reports, choose Country-spec. report. To delete all country-specific reports for the countries selected, choose Delete tree area.
When you choose Delete tree area, you are prompted to confirm the deletion. The selected reports are then deleted and the system displays a log of the deleted reports (also in test mode).
Working with Reports in the Report Tree
Prerequisites
Once you have accessed General Report Selection, you can expand the report tree structure to find the reports you want to start and perform other related functions:
You can:
Start reports
Start reports in the background
Find reports
Display report attributes
Display report variants
Display report documentation
Access and start reports that do not appear in the report tree
Procedure
Starting Reports
1. Expand the report tree structure until you reach the required report
2. Position the cursor on the report and choose Execute (or double-click on the report)
If the report has no selection screen, the resulting list is displayed immediately.
If the report has a selection screen, go to step 3.
3. Enter your selection criteria and choose Execute
For an example of how to start a report in General Report Selection, see:
Starting a Report in the Report Tree: Example
Starting Reports in the Background
Only reports, for which variants exist, can be started in the background. You must also schedule a background job.
To start a report in the background:
1. Expand the report tree structure until you reach the required report
2. Position the cursor on the report and choose Execute in background
For more information about working with variants and scheduling background jobs, see:
Variants
Background Processing
Searching For Reports
To find a particular report in the report tree structure:
1. Choose Edit  Find  Objects
2. Enter your search criteria
You can enter basic search criteria and, for ABAP reports only, additional search criteria.
Basic Search Criteria
Search criterion Remarks
Report name This is the technical name of the report (for ABAP report, Report Writer reports, and transactions), or the user group for queries.
Extended report name This is the technical name of the report (for drilldown reports or report portfolio reports), or the query name for queries.
Title This is the report title. Here, the system searches for a title that matches the user's entry exactly.
Node This is the technical name of a node in the report tree.
You can specify additional selection criteria for ABAP reports as specified in the program attributes:
Additional Search Criteria
Search criterion
Application
Logical database
Created by
Last changed by
To determine the area in which you want to search for a report, check the appropriate boxes as follows:
Restrict Search Area
Restrict to Action
Whole report tree Enter the technical name of the root node and select Find in subordinate nodes.
Sub-tree Enter the technical name of the sub-tree node and select Find in subordinate nodes.
Node Enter the technical name of the node and select Find in subordinate nodes.
You can search for a report using one or more character strings that appear in the report documentation, but this is very time-intensive.
You can also perform generic searches using *.
3. Choose Execute
The list of results is sorted by node.
Displaying Report Attributes
To display the attributes of a report in the report tree structure:
1. Position the cursor on the relevant report
2. Choose Edit  Node attributes
You see the following information (if present):
 Report type
 Technical name of the underlying executable program
 Extended report name
 Report variant
Checkboxes also indicate whether:
 The report is started using a variant
 The selection screen of the report is skipped
Displaying Report Variants
If a report has variants, these are listed as subordinate nodes. You can start variants just like any other reports.
To display the variants of a report in a different way:
1. Position the cursor on the relevant report
2. Choose Goto  Variants
3. Ensure that the Variants field is left blank and get a list of possible entries
4. Choose Display
You see a list of variants defined for the report.
If you want to start a report in the background, you must create a variant first.
For more information about working with variants, see:
Variants
Displaying Report Documentation
To display detailed documentation about a report:
1. Position the cursor on the relevant report
2. Choose Goto  Documentation
Starting Reports not in the Report Tree
If the report you want to start is not in the report tree, and you cannot access it through other menus, you can start it by running the underlying executable program. To do this, you need to know the program name:
1. Choose Goto  General reporting
2. Enter the program name
3. Choose Execute
For further information about working with reports, see:
Reports
Starting a Report in the Report Tree: Example
To get a list of the remaining leave entitlement of various employees:
1. On the General Report Selection screen, expand the tree structure by choosing Human Resources  Time management  Absence
2. Place the cursor on the Leave Overview report and choose Execute (or double-click the report)
3. Enter your selection criteria and execute the report
The system displays the results on the screen.
Report Variants
Definition
Group of selection criteria that has been saved. A report can have several different variants, with each variant retrieving different types of information. For example, a vendor report might have one variant for U.S. vendors and another variant for European vendors.
Use
Instead of entering the same values in the selection criteria input fields each time you execute a report, you can enter the values once and then save the selection criteria as a variant. The next time you execute the report, you only need to enter the variant name, not the selection criteria. If you use variants, the selection criteria screen is already filled with data.
To execute certain reports, you must use a variant. In this case, a system message prompts you to do so. Although you are not always required to use variants or selection criteria, it is a good idea to use them when possible. Your resulting lists will be smaller and take less time for the system to process.
Background Processing
Use
In background processing, the SAP System automatically runs any report or program that you can start interactively.
When you schedule a job in the background processing system, you must specify:
The ABAP report or external program that should be started
The start time
The printing specifications
The background processing system starts your job and runs the program(s) that you specify. Afterwards, you can check whether your job was executed successfully and display a log of any system messages.
Suppose you need to run a report of customers whose bills are overdue.You can:
o Start the report yourself from the ABAP Editor. If you do this, the system runs the report interactively, in a session at your PC or workstation. While the report is being processed, your computer response time may be slower.
o Or, you can have the background processing system run the report. To do this, you must create a background job that tells the system what you want it to do.
The background processing system runs your "late bills" report according to your instructions. The list generated by the report is either printed directly or is waiting for you in the SAP output controller (see Using the Output Controller).You can also check in the background processing system whether the report ran correctly.
Features
Running a report in the background does not tie up the SAP sessions you are currently working with.
When you start a report interactively, your current SAP session is blocked for further input for as long as the report runs.
When you start the report in the background, running the report does not influence your interactive work with the SAP System.
You can shift the execution of reports to the evening or other periods of low load on the SAP System.
You can schedule a report or external program to run at any time that the SAP System is active. You can also set up reports to run automatically on a regular basis (for example, on the last day of each month).
Background processing is the only way you can execute long-running jobs.
To prevent tying up system resources with interactive sessions for long reports, the SAP System has a built-in time limit on interactive sessions. If a single ABAP report runs for more than 5 minutes continuously in an interactive session, the SAP System terminates the report automatically.
The background processing system executes long-running ABAP reports more efficiently. Often, such reports are automatically scheduled for execution in the background. In this case, you do not need to schedule them for background processing yourself.
Reports
Use
When you are working in the SAP System, you may want to access information from the database. To do this, you use reports.
In this documentation, report refers to the report program, and list refers to the output that is, the results of the report.
Some reports display information; others allow you to perform analyses.
A report must be started, or executed. In many cases, the SAP System automatically executes a report. Sometimes, however, you will want to execute a report yourself.
In addition to report programs, the SAP System provides numerous reporting tools, each of which has its own set of procedures for executing report programs.
This documentation describes report programs only. For an introduction to the SAP reporting tools, refer to the Reporting Made Easy guidebooks (Release 4.0B). You can find these guidebooks at: www.saplabs.com/rme .
<b>Kindly reward this if found useful</b> -
Adding new row to the reports list page
How can I add a new report row in the reports list of the reports tab.
Ex: a new row to the report "users by Date of Join report" is to be added
How can we add Please help me out in thisI am facing the same problem!
camickr wrote:
Try adding an empty row containing a null value for the String instead of the empty String.camickr, it will not help, the DefaultRowSorter in the "*+compare(int model1, int model2)+*" method return -1 if the first value is null and 1 if the sacond value is null. and incase of DESCENDING it mult by -1.
// Treat nulls as < then non-null
if (v1 == null) {
if (v2 == null) {
result = 0;
} else {
result = -1;
} else if (v2 == null) {
result = 1;
} else {
result = sortComparators[counter].compare(v1, v2);
if (sortOrder == SortOrder.DESCENDING) {
result *= -1;
}And this is the real problem!
The empty line is sorted as the smallest value and incase of DESCENDING it will be the first line (because of the mult by -1).
We could have overide it and incase of the empty row(usualy the last row) do not mult by -1 in DESCENDING mode.
But the problem is that the "+*compare*+" method and it's caller "*+Row+*" inner class are private :-(
It is not wise to do it but we can do like kmp83 wrote:
kmp83 wrote:
copy/duplicate "private" code from DefaultRowSorter into my extended class.Anyone have another suggestion? -
Monthly report listing out ALL open PO
Hi,
As our management requested, we need a monthly report listing out ALL open PO for CDG, APR Someone tell me to input cost centre but it is time consuming to input it as we have over 100 cost centers. Do you know if I can input SPG/profit center or other data to run this report instead ? Please advise the transaction code and how to perform it, such as need to know the profit center #, organization code etc
Thanks
Rajahi
go to ME2N
then select Scope of list ALV
Selection parameters as WE101 Open goods receipt (select as per ur need )
then execute u will get the list for open po
now if u want it to specify the profit center then go to ME2N and select dynamic selecion (shift +F4)
now u will get a smaal scrren , in purchaseing doc item selct profit center
now u can see the profit center selection field ,give a proper profit center and follow the process as given above
hope it help
regards
kunal -
Hi Gurus,
In Lead Transaction, Details Tab there is field called Campaign, i req. the table name for that field bec. i have to generate the report using Query?Hi Milind,
Create a new Transport Request.
Now Go to RSA1->Transport connections, select your query and drag to the Right hand side.
Now select all the query elements for that query and click on the Truck (Transport button), It will ask you for the transport Request. Provide the Transport Request Number you have just created.
Once done, just to be sure, check the Transport requests elements in SE09. Check if all the query elements have been included in the report.
Now you will be able to modify the query in Query designer. If still not able to, then you must missed some of the query elements. Again check this in Transport Connection.
Regards,
Pratap Sone -
Which table keeps the Discoverer Report list?
Hi,
I'm new to Discoverer, actually I haven't started to use yet.
I would like to know is it possible to retrieve a list of reports created in Discoverer so that I can add them to the standard reports that I developed using Oracle Report builder in my application. If possible, which table can I get the report list?
My second question, is it possible to run a Discoverer report directly if I have the report link? Or everytime I run I must enter the schema username and password?
Please advise.
Thank you.Hi
With regards to question 1, I don't believe this is possible any more. The older versions were rather flexible in that approach but sadly, no more.
With regards to question 2, using a VPD you can authenticate to your heart's content using any custom defined table you wish. This is just an out of the box idea, and I don't know whether it will work, but here goes.
The table that stores public connections is this one: orasso.wwsso_psex_user_info$
I am wondering what would happen if we put a restriction on SELECT from that table to not allow selection if the SSO user was not of a certain class or did not have a certain privilege.
Would anyone else care to comment here?
By the way, inside SQL, this code SYS_CONTEXT('USERENV', 'CLIENT_IDENTIFIER') will return the SSO user.
For more info on public connections, look here: http://download-west.oracle.com/docs/html/B13918_03/conns.htm#i1016752
Best wishes
Michael
Maybe you are looking for
-
Help Required - Regarding New Implementation
Hello Experts, Implementing a new SAP ... and got bit confused about the April 1 opening balances and March closure. On 1st March 2014 we entered the following Opening Balances - 1. Open POs 2. Open Sales Orders 3. Stock Opening Balances Then for the
-
Adobe Encore with single app purchase in Creative Cloud?
Hi Adobe Community. I Am very much interessed in the Adobe Encore app from the Creative Suite. I understand Adobe Encore works with Premiere Pro, so i was wondering if i bought the premiere pro app only, as a single purchase, would i then be able to
-
Message payload logging for Uniform Distribute Queue
Hi All, We have a requirement to log the message payload, of every jms message received in a Uniform Distribute Queue in Weblogic. Please let us know how can we achieve this. Thanks.
-
Using Photos (iPhoto) as Desktop Background and system startup time
I've been beating my head against the wall trying to figure out why my iMac is taking longer and longer to boot (mostly after software updates). My stopwatch shows a little over 3 minutes from chimes until there is a usable UI. Through process of eli
-
Hi, I have 2 Seagate FreeAgent GoFlex 1.5TBs. Recently, one of the partitions on one (I'll refer to it as the first one) won't show up in Finder, but still would show up in Disk Utility (although grayed out). Therefore, I hit "Repair Disk", and it sh