CR2008 Purchasing Report needed
Hi
Has anyone created a Purchasing report in Crystal Reports 2008 based on AP Invoices and AP Credit Notes. I have created a WPA (Weekly Purchase Analysis) report but based off AP Invoice table (OPCH & PCH1), now the company is wanting to have Credit Notes added to this report.
I have created a UDF called WPA on the OPCH form which is a Mandatory field so when running the WPA Report you can run it by WPA # and Project to get your results (Parameter), now how will I acheive this by adding the AP Credit Note fields ORPC & RPC1 to the report so if I create x2 Invoice's (different suppliers) for say WPA # 1010 and I Credit one, on the WPA Report I will want to see Invoice 1 (NumCard = 1) = R100, Invoice 2 (NumCard = 2) = 100, Credit Note 1 (NumCard = 2) = -100, Total = 100.
Any suggestions or ideas will be most helpful.
Regards
Kurt Walters
Hi Kurt,
That is possible using "Shared Variable".
Check this link: [Sub-report data in report|Sub-report data in report].
1.Initialize a shared variable in Report.
2.Pass the Credit memo value to the 'Shared variable' in Sub-report
3.Now create a formula in Report like
Sub-total = {Invoice total} - {SharedVariable}
In order to know more about shared variable, post a separate question in [SAP Crystal Reports Design - Forum|SAP Crystal Reports;.
Hope this helps.
Regards,
Bala
Similar Messages
-
Reg:Vendor Sales & purchase report
Dear All,
We need one customzied report which is having the details about Vendor Sales & purchase transactions , if we are giving the input vendor or customer , fiscal year, comapany code, & fiscal period as the input means we need the details about the vendor sales and purchase report.
Thanks,
Sanakar MYou can purchase the custom report from vendors called consultants or employees with developer keys.
If you input the type as ABAPER, then you have the options and (hopefully) a good quality report.
I am sure this will work....
Cheers,
Julius -
In Import Purchase process how to get the report for division wise purchase,
some material from USA some from France, and some other countries
we need to get country wise purchase reports. how it will be possible in sapUse report MC$4,here enter purchase organization,_vendor country_,vendor,plant & finally period.
-
Open PO not showing up on purchasing reports
We have a customer whos PO's are not showing up on our purchasing reports. I am thinking it has something to do with needing to run some type of process to maybe sync up addresses or something. Anyone have an idea!
Thanks in advance.Hi,
There are various reports in Purchasing, can you please let us know the name of the report which you are trying to run?
Thanks,
Raghav -
Hi Experts
I would like to creat a report that shows all items purchased from a specific supplier
amount and price sum per item
I try using the default purchase report in the system but it doesnt show the frozen/non active items.
could you help me with this issue?
thanks & regards.
d.Medalion.Hi........
You need to use Union All function.......
SELECT T0.DocEntry, T0.[DocNum] As 'PO No.', T0.[DocDate], T0.[DocDueDate],
T5.DocEntry 'DownPayment No.', T0.[CardCode], T0.[CardName], T0.[NumAtCard],
T1.[ItemCode], T1.[Dscription], T1.FreeTxt,T1.[Quantity], T1.Price as 'PO Price',
T4.[PymntGroup] 'Payment terms', T3.DocNum As 'GRN No.', T2.Quantity As 'Total Rcvd',
T1.[OpenQty], T1.ShipDate FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Join PDN1 t2 On T1.DocEntry=T2.BaseEntry and T1.LineNum=T2.BaseLine LEFT Join OPDN T3 On T2.DocEntry=T3.DocEntry Left Join OCTG T4 On T0.GroupNum = T4.GroupNum LEFT JOIN DPO1 T5 On T5.BaseEntry=T0.DocEntry LEFT JOIN ODPO T6 On T5.DocEntry=T6.DocEntry
Where (T0.Docstatus='[%0]' or '[%0]'='') And (T1.LineStatus='[%1]' or '[%1]'='')
And (T6.Canceled != 'Y' or T6.Canceled Is Null) And T0.CardName='[%2]'
Group By T0.[DocNum], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName],
T0.[NumAtCard], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[OpenQty], T3.DocNum,
T2.Quantity, T1.Price, T4.[PymntGroup], T1.FreeTxt, T0.DocEntry, T1.ShipDate, T5.DocEntry
Union All
SELECT Null, T0.DocNum, Null, Null,
Null 'DownPayment No.', Null, '', '',
Null, Null, '', Sum(T1.[Quantity]) , Sum(T1.LineTotal)/Sum(T1.[Quantity]) as 'PO Price',
Null, Null, Sum(T2.Quantity) As 'Total Rcvd',
Sum(T1.[OpenQty]), Null FROM OPOR T0 INNER JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Join PDN1 t2 On T1.DocEntry=T2.BaseEntry and T1.LineNum=T2.BaseLine LEFT Join OPDN T3 On T2.DocEntry=T3.DocEntry Left Join OCTG T4 On T0.GroupNum = T4.GroupNum LEFT JOIN DPO1 T5 On T5.BaseEntry=T0.DocEntry LEFT JOIN ODPO T6 On T5.DocEntry=T6.DocEntry
Where (T0.Docstatus='[%0]' or '[%0]'='') And (T1.LineStatus='[%1]' or '[%1]'='')
And (T6.Canceled != 'Y' or T6.Canceled Is Null) And T0.CardName='[%2]'
Group By T0.[DocNum]
Order By T0.DocNum
Regards,
Rahul -
<Moderator Message: Please search the forums as well as the [help|http:help.sap.com]. This question has been asked already a lot of times>
Hi Experts,
Can anyone explain me the steps in creating a Purchase Report in BI 7.x.
I m using the following datasources.
1. 2LIS_02_HDR
2. 2LIS_02_ITM
I am stuck at consolidating the data from difference datasources into a single InfoProvider.
Can anyone explain me the steps involved in BI 7.x for data extraction and consolidating it to a single Infoprovider (Cube/DSO).
Thanks
Kumar
Edited by: Siegfried Szameitat on Jun 24, 2009 12:29 PMHi,
while there is always a new requirement, one needs to discuss with the functional consultants and find out which tables are being used which may fulfill the scenario. We also need to identify the list of characteristic and Keyfigues the client wants to analyze.
Also SAP Help is a good source to find more of a standard stream lined objects. Need to analyze if standard objects satisfy the requirement or customization is required.
Please perform the steps as Rama has suggested...
thank you -
Report needed to conbine stock movement and corresponding balance
Hi Friends,
End user need a report to show stock movement trasaction and it's coresponding stock balance.
In MB51, we can see all the stock movements against one material, is there any way a report could show stocks' corresponding iventory balance under diffierent invenotory category (unrestriced,QC, Return and block) for each movement trasaction ?
Report needed like below
SLoc , MoveType , Material document, posting date, qty, unrestic bal, QC balance, return Balance, Blked Bal.
Thanks,
LHi,
Kindly take the help of abaper and create a customized report or also you can have query created in SQ01.
Hope this will help you !!!
Regards,
Krishna O -
Understanding report need backup recovery window ..
Hello,
I have a big database which backed up within several days at night time. The retention policy is "recovery window of 3 days". I've tried to analyze the results of
report need backup;But I noticed than this command return just the list of datafiles having latest backup older than 3 days. I've tried to read again the docs:
>
Reports data files for which there are not sufficient backups to satisfy a recovery window-based retention policy for the specified number of days, that is, data files without sufficient backups for point-in-time recovery to any point back to the time SYSDATE - integer.
>
Please correct me if I'm wrong, but I consider that the ability to make recover to any point in time within 3 days require the backup taken earlier than 3 days ago and archivelogs from the time when backup was taken to the recover PIT. Im I right? If so then how I should interprete the results of report need backup ? I can't find the detailed explanations of this in the docs :(
Thanks in advance,
ConstantineYou are correct in your appreciations.
This report is about the need of backups, without considering archivelog backups.
It does not mean that listed files are in an unrecoverable situation.
Regards. -
Purchasing Report Errors - Please Help
Hey everyone!
I am an SAP newb so bear with me please. I am having issues with a the Purchasing report on our system.
The report takes parameters determining the time period for which the report is to be run, ex: from Jan 1 2008 - Aug 1 2008.
The values returned by the report are:
Item code
Vendor
Item Name
Purch Unit
Available units
Units on Order (how many are currently dedicated to an already placed order)
Purchase Factor
Purchase Price
Purchase Currency
Avg Price
Price
Stock Value
MonthToDate Sales (calculates total sales for item within time period)
Average Sales (calculates the average sale for item within time period)
Sales Factor
Month on Order
Month on Stock
The Problems are occuring with: Month to Date Sales and Average Sales. As well as Month on Order and Month on Stock, however these are secondary.
The report in SAP is as follows:
BEGIN
declare @FrmWhs varchar(8),
@ToWhs varchar(8),
@WhsLst varchar(254),
@GroupCode int,
@FrmItm varchar(20),
@ToItm varchar(20),
@MthAgo int,
@GroupName varchar(20),
@HistStart varchar(6),
@HistEnd varchar(6),
@ShowInactive varchar(1)
SELECT @FrmWhs = T0.U_FrmWhs,
@ToWhs = T0.U_ToWhs,
@WhsLst = T0.U_WhsLst,
@GroupCode = T1.ItmsGrpCod,
@FrmItm = T0.U_FrmItm,
@ToItm = T0.U_ToItm,
@MthAgo = T0.U_MthAgo,
@HistStart = T0.U_Hist1,
@HistEnd = T0.U_Hist2,
@ShowInactive = T0.U_Inact
FROM dbo.@XXPURCH T0, dbo.OITB T1
WHERE T0.U_FrmWhs = '%0'
AND T0.U_ToWhs = '%1'
AND T0.U_WhsLst = '%2'
AND T1.ItmsGrpNam = '%3'
AND T1.Locked = 'X'
AND T0.U_FrmItm = '%4'
AND T0.U_ToItm = '%5'
AND T0.U_MthAgo = %6
AND T0.U_Hist1 = '%7'
AND T0.U_Hist2 = '%8'
AND T0.U_Inact = '%9'
SET @GroupName = '%3'
IF @GroupName = ''
SET @GroupCode = 0
ELSE
SELECT @GroupCode = T2.ItmsGrpCod
FROM dbo.OITB T2
WHERE T2.ItmsGrpNam = @GroupName
SET @FrmWhs = '%0'
SET @ToWhs = '%1'
SET @WhsLst = '%2'
SET @FrmItm = '%4'
SET @ToItm = '%5'
SET @MthAgo = %6
SET @HistStart = '%7'
SET @HistEnd = '%8'
SET @ShowInactive = '%9'
exec dbo.xxPurchReport @FrmWhs,@ToWhs,@WhsLst,@GroupCode,@FrmItm,@ToItm,@MthAgo,@HistStart,@HistEnd,@ShowInactive
I do not fully understand how the SQL query (the stored procedure) dbo.xxPurchasing Report calculates these numbers. If it is helpful, I could post the SQL query in its entirety or in part.
Thank you very much for your willingness to help. It is quite frustrating for me and it is so great to have knowledgeable people here to help
-HarrisonThanks. That makes sense.
I am not a database guy, but from my limited knowledge, so here is the query in its entirety:
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
ALTER proc xxPurchReport (
@FromWhs varchar(8) = null,
@ToWhs varchar(8) = null,
@WhsList varchar(255) = null,
@GroupCode int = null,
@FromItem varchar(20) = null,
@ToItem varchar(20) = null,
@MonthsAgo int = 1,
@HistStart varchar(6) = null,
@HistEnd varchar(6) = null,
@ShowInactive char(1) = 'Y')
AS
begin
set NOCOUNT ON
DECLARE @StartDate datetime,
@EndDate datetime,
@Today datetime,
@Periods int
CREATE TABLE #tempwhs(WhsCode varchar(8))
if @WhsList is null or LTRIM(RTRIM(@WhsList)) = ''
BEGIN
if @FromWhs is null
set @FromWhs = ''
if @ToWhs is null or LTRIM(RTRIM(@ToWhs)) = ''
set @ToWhs = 'ZZZZZZZZ'
insert into #tempwhs
select WhsCode
from OWHS
where WhsCode between @FromWhs and @ToWhs
END
ELSE
BEGIN
set @WhsList = ',' + @WhsList + ','
insert into #tempwhs
select WhsCode
from OWHS
where charindex(',' + WhsCode + ',',@WhsList) > 0
END
if @GroupCode = 0
set @GroupCode = null
if @FromItem is null
set @FromItem = ''
if @ToItem is null or LTRIM(RTRIM(@ToItem)) = ''
set @ToItem = 'ZZZZZZZZZZZZZZZZZZZZ'
if @MonthsAgo is null
set @MonthsAgo = 0
if @MonthsAgo > 0
set @MonthsAgo = @MonthsAgo * -1
select @StartDate = dateadd(mm,@MonthsAgo,cast(cast(year(getdate()) as varchar(4)) + right(cast(month(getdate()) + 100 as varchar(3)),2) + '01' as datetime)),
@EndDate = dateadd(mi,-1,dateadd(mm,@MonthsAgo,dateadd(mm,1,cast(cast(year(getdate()) as varchar(4)) + right(cast(month(getdate()) + 100 as varchar(3)),2) + '01' as datetime)))),
@Today = cast(convert(varchar(8),getdate(),112) as datetime)
if isnull(@HistStart,'') = '' or isnull(@HistEnd,'') = ''
select @HistEnd = left(convert(varchar(8),@StartDate - 1,112),6),
@HistStart = left(convert(varchar(8),dateadd(yyyy,-1,@StartDate),112),6)
select @Periods = count(distinct period)
from XXSalesHistory
where period between @HistStart and @HistEnd
select itemcode,whscode,cast(round(cast(sum(totsale) as decimal(12,5)) / @Periods,2) as decimal(12,5)) as AvgSale,
cast(round(cast(sum(totqty) as decimal(12,5)) / @Periods,0) as int) as AvgQty
into #tmpavg
from XXSalesHistory
where period between @HistStart and @HistEnd
group by itemcode,whscode
order by 1
Select ItmGrp.ItmsGrpNam,lines.ItemCode,lines.WhsCode,
items.CardCode as DefaultVendor,items.ItemName,
whs.OnHand,items.SalUnitMsr as SaleUnit,items.BuyUnitMsr as PurchUnit,whs.IsCommited,
(whs.OnHand - whs.IsCommited) as Available,whs.OnOrder,items.PurFactor2,
isnull(purprc.Price,0) as PurchasePrice,
isnull(purprc.Currency,'USD') as PurchCurrency,
cast(whs.OnHand / (CASE WHEN items.PurFactor2 = 0 THEN 1 ELSE items.PurFactor2 END) as decimal(16,2)) as CS,
whs.AvgPrice,prc.Price,isnull(prc.Currency,'USD') as Currency,isnull(whs.StockValue,0) as StockValue,
cast(sum(case lines.usebaseun
when 'Y' then Lines.OpenCreQty
else ( Lines.OpenCreQty * Items.NumInSale) end) as integer) as MtdSales,
isnull(hst.AvgQty,0) as AvgSales,items.SalFactor2
into #temprpt
From OINV Main,
INV1 Lines,
OITM Items,
OITB ItmGrp,
OITW whs
left outer join #tmpavg hst
on hst.ItemCode = whs.ItemCode and hst.WhsCode = whs.WhsCode,
ITM1 prc,
ITM1 purprc
Where Main.DocDate between @StartDate and @EndDate
And Main.Instance = 0
And Main.Canceled = 'N'
and Main.DocEntry = Lines.DocEntry and lines.LineTotal <> 0
and lines.ItemCode between @FromItem and @ToItem
and lines.whscode collate database_default in (select WhsCode from #tempwhs)
and Items.ItemCode = Lines.ItemCode
and items.PrchseItem = 'Y'
and (@ShowInactive = 'Y' or Items.frozenfor = 'N')
and ItmGrp.ItmsGrpCod = Items.ItmsGrpCod
and ItmGrp.ItmsGrpCod = isnull(@GroupCode,ItmGrp.ItmsGrpCod)
and whs.ItemCode = lines.ItemCode and whs.WhsCode = lines.WhsCode
and prc.ItemCode = items.Itemcode
and prc.PriceList = (CASE WHEN whs.whscode = '02' THEN 6 else 2 END)
and purprc.ItemCode = items.Itemcode
and purprc.PriceList = (CASE WHEN whs.whscode = '02' THEN 10 else 1 END)
Group BY
ItmGrp.ItmsGrpNam,lines.ItemCode,lines.WhsCode,
items.CardCode,items.ItemName,
whs.OnHand,items.SalUnitMsr,items.BuyUnitMsr,whs.IsCommited,whs.OnOrder,items.PurFactor2,purprc.Price,isnull(purprc.Currency,'USD'),
cast(whs.OnHand / (CASE WHEN items.PurFactor2 = 0 THEN 1 ELSE items.PurFactor2 END) as decimal(16,2)),
whs.AvgPrice,prc.Price,prc.Currency,isnull(whs.StockValue,0),hst.AvgQty,items.SalFactor2
union
select grp.ItmsGrpNam,itm.ItemCode,whs.WhsCode,itm.CardCode as DefaultVendor,
itm.ItemName,whs.OnHand,itm.SalUnitMsr as SaleUnit,itm.BuyUnitMsr as PurchUnit,
whs.IsCommited,
(whs.OnHand - whs.IsCommited) as Available,whs.OnOrder,itm.PurFactor2,purprc.Price,
isnull(purprc.Currency,'USD') as PurchCurrency,
cast(whs.OnHand / (CASE WHEN itm.PurFactor2 = 0 THEN 1 ELSE itm.PurFactor2 END) as decimal(16,2)) as CS,
whs.AvgPrice,prc.Price,isnull(prc.Currency,'USD') as Currency,isnull(whs.StockValue,0) as StockValue,0,
isnull(hst.AvgQty,0) as AvgSales,itm.SalFactor2
from OITM itm,
OITB grp,
OITW whs
left join(INV1 lines inner join OINV main
on lines.DocEntry = main.DocEntry and lines.LineTotal <> 0
and main.Canceled = 'N' and main.instance = 0
and Main.DocDate Between @StartDate and @EndDate)
on whs.ItemCode = lines.ItemCode and whs.WhsCode = lines.WhsCode
left outer join #tmpavg hst on hst.ItemCode = whs.ItemCode and hst.WhsCode = whs.WhsCode,
ITM1 prc,
ITM1 purprc
where itm.ItemCode between @FromItem and @ToItem
and itm.PrchseItem = 'Y'
and (@ShowInactive = 'Y' or itm.frozenfor = 'N')
and grp.ItmsGrpCod = itm.ItmsGrpCod
and grp.ItmsGrpCod = isnull(@GroupCode,grp.ItmsGrpCod)
and whs.ItemCode = itm.ItemCode
and whs.WhsCode collate database_default in (select WhsCode from #tempwhs)
and main.DocEntry is null
and prc.ItemCode = itm.Itemcode
and prc.PriceList = (CASE WHEN whs.whscode = '02' THEN 6 else 2 END)
and purprc.ItemCode = itm.Itemcode
and purprc.PriceList = (CASE WHEN whs.whscode = '02' THEN 10 else 1 END)
group by grp.ItmsGrpNam,itm.ItemCode,whs.WhsCode,itm.CardCode,
itm.ItemName,whs.OnHand,itm.SalUnitMsr,itm.BuyUnitMsr,whs.IsCommited,whs.OnOrder,itm.PurFactor2,itm.LastPurPrc,purprc.Price,purprc.Currency,
cast(whs.OnHand / (CASE WHEN itm.PurFactor2 = 0 THEN 1 ELSE itm.PurFactor2 END) as decimal(16,2)),
whs.AvgPrice,prc.Price,prc.Currency,isnull(whs.StockValue,0),hst.AvgQty,itm.SalFactor2
select r.*,
cast((CASE WHEN r.OnOrder = 0
THEN 0
ELSE (CASE WHEN r.AvgSales = 0
THEN (CASE WHEN r.MtdSales = 0 THEN 999 ELSE r.OnOrder / r.MtdSales END)
ELSE r.OnOrder / r.AvgSales
END)
END) as decimal(9,1)) as MonthsOnOrder,
cast((CASE WHEN r.Available <= 0 THEN 0
ELSE (CASE WHEN r.AvgSales <= 0 THEN 999
ELSE r.Available / r.AvgSales END) END) as decimal(9,1)) as MonthsInStock
from #temprpt r
order by 1,2,3
end
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
I hope that is not too overwhelming, it is for me so any help you have to offer is truly appreciated. I am not trained in SAP but they have no one else. Thanks alot everyone! -
Report needed for storage costs in WM
Hi All,
I need a report for the storage costs for utilising the warehouse by plants. Cost of space utilised per m3 will be provided in selection screen. For each material the volume should taken from material master. Warehouse will be utilised by three plants and report needed to calculate the space occupied by the materials in warehouse per plant per month. I am not able to find the logic to calculate average space utilised(as day to day there will putaways,transfer postings and picking).All stocks to be taken into consideration.Let me know how to proceed.
Regards,
ManikDear Experts,
Cud u plz throw some light on this...
Regards,
Manik -
All SAP Gurus,
Is there any Purchasing report available which gives the information regarding:
Plant, Purchasing group, material type, PO, GR No., vendor, amount (all in single report only).
Regards,Hi,
Refer following reports;
ME2N - List of PO Documents (In selection Screen use Scope of List - ALLES)
ME80FN - General Analysis (Here in Output, select option "PO History" by clicking on the button at extreme right) -
Change BI report links in Purchasing reports ?
Hi,
We are in SRM 7.0.
I want to hide some of the links in portal under the buyer role.
Purchasing reports : In this , i want to hide some links.
There is change launch pad option is available , but i want to hide for all the users.
Could you please let us know whether that is poassible or not.
For better understanding : Link : [http://img1.uploadscreenshot.com/images/orig/1/500101326-orig.jpg]
Regards
Venkatesh P
Edited by: Venkatesh Padarti on Jan 6, 2011 6:10 AMThere is one transaction LPD_CUST.
In that i have done the changes.
Regards
Venkatesh P -
Hi ,
0vtype is used to differentiate a keyfigure with respect to its value type like actual value and planned value.
But what is the use of 0vtype as a filter in Purchasing Reports where there are no planned values and why is it always 10 - does it mean that its always actual value?
Thanks,
JBHi JB,
I think in case of Controlling module, we have to specify 0VTYPE in query level , as in r/3 we define budget, planning figures for a period/fiscal year.
And for purchasing it should be actuals only.
Hope that helps.
Regards
Kapadia
***Assigning points is the way to say thanks in SDN.*** -
Stand alone oracle report - need help asap
Hi,
We are in ORACLE Apps 11i. We started using ORACLE BI Publisher to create templates for the Oracle Reports. How we are doing reports now is
1) create data definition XML which has all the queries embedded.
2) Create Data definition in XML Publisher Admin responsibility.
3. Attach the Data definition XML to that.
4. Create a concurrent program definition for the report with XML Type and run the report and save the data file with tags.
5. Create the template ,rtf in Word and export data using ORACLE BI Publisher. 6. Create template definition in the XML Publisher Admin responsibility and attach this .rtf to that and run the report.
Now I have a requirement stating that the REPORT SHOULD BE AN ORACLE STAND ALONE REPORT AND THE REPORT NEEDS TO BE RUN THROUGH CONCURRENT PROGRAM SCREEN. I am planning on doing the following steps.
1. I have to create an .rdf using report builder.
2. Create concurrent program executable and definition for the report.
3. Create data definition in XML Publisher admin responsibility.
4. Run the report in apps.
5. Create the tempalte .rtf in word and export data with the XML Data file with tags,
6. Run the report.
Am I correct? Any help is appreciated asap.
Thanks
AkilYou said,
standalone report ?? is that mean without using bipublisher ??
1st method.
create concurrent program, output xml,
create data template, create datadefintion , attach Datatemplate.
run the cc pgm, get xml, design RTF , create template definition , attach RTF,
run the cc pgm, you get the pdf output.
2nd method.
create rdf,
create concurrent program, output xml,
run the cc pgm, get xml, design RTF ,
create datadefintion , create template definition , attach RTF,
run the cc pgm, you get the pdf output.
, both requires, cc pgm, rtf, data defintion , template definition.
only differnece is , how do you get the data, i mean, xml...
data template or RDF. -
We have an incremental level-1 backup Mon-Sat and cold full backup on Sundays with retention policy of 7 days. While troubleshooting some backup issues (space issue, expired backups) I ran the following commands and trying to understand the output.
RMAN> report need backup database;
RMAN retention policy will be applied to the command
RMAN retention policy is set to recovery window of 7 days
Report of files whose recovery needs more than 7 days of archived logs
File Days Name
100 146 /orahprdidx/hprd/psindex05.dbf
RMAN> report unrecoverable;
Report of files that need backup due to unrecoverable operations
File Type of Backup Required Name
RMAN> report need backup days = 7 database;
Report of files whose recovery needs more than 7 days of archived logs
File Days Name
100 146 /orahprdidx/hprd/psindex05.dbf
RMAN> report obsolete recovery window of 7 days;
no obsolete backups found
RMAN>
I looks like I need 146 days worth of archive log files to recover the psindex05.dbf. If so, what I could do to bring that into the 7 days policy?
The database is fine, I am not trying to recover the database.
This was setup by someone and now I am taking over with minimum RMAN experience.
I appreciate any help in this subject.The datafile was offline. I guess it was created my mistake and hanging in there. Once I do the cleanup it should go away.
Maybe you are looking for
-
after running mac tuneup got a red dot on the hard drive icon, nothing would respond, now on restart cant get past white screen with apple logo, mac tune up disk still in laptop
-
Change name of batch session in fast entry
Hi all, we want to record changes with PA70 in a batch session. Unfortunatly the system generates a name for this session but our users only have specific authorisations for certain names. Does anyone know, if I can change the name in the fast entry
-
Workflow - AVCHD to DVD but without optimised footage?
I am an enthusiast and I have a few Panasonic prosumer camcorders with which I shoot basic AVCHD and ultimately I burn DVDs - which people tell me look just fine. When importing I have "Leave files in place" checked and I create Proxy files ONLY as o
-
Line Split Interface to feed Integration Process - Performance Issues
Hi All We have a scenario whereby we receive an XML message from a 3rd Party through an exposed SOAP Adapter service. The XML Message has multiple lines that need to be split up and processed as individual messages. We need to create a Line Splitting
-
I had elements 11 and it was working fine then the editor failed to launch. I tried several times to launch it then and decided to upgrade to elements 13. I finally got 13 installed from a download (which had it's own set of problems) and the edito