Equity roll-forward scripting
<BR>I've inherited an HFM application that has been built by two previous consultants. The client wishes to report Common and Preferred Stock beginning balances at historic cost in entity currency, parent currency and reporting currency (USD) with consolidations and eliminations of intercompany equity holdings. My thought is to write two separate scripts the first being to execute the rollforward. <BR><BR>The method originally used to script for this looked like;<BR> If HS.Value.Currency = "USD" then <BR><BR> If HS.GetCell("A#232001_H") <> 0 Then<BR> HS.Exp "A#232001=A#232001_H"<BR> Else<BR> HS.Exp "A#232001=P#Last.Y#Prior"<BR> End if'getcell<BR><BR> If HS.GetCell("A#231001_H") <> 0 Then<BR> HS.Exp "A#231001=A#231001_H"<BR> Else<BR> HS.Exp "A#231001=P#Last.Y#Prior"<BR> End If'getcell<BR><BR>The "_H" accounts contained a value that had been entered by one of the consultants and did not match the data in the actual accounts. This "_H" method also does not roll the amount that should be booked in subsequent years forward. <BR><BR>What I'm thinking might be the quickest and easiest solution is to try to write a script that simply replaces the beginning balance for common stock (A#232001) with the value of Total Common Stock (A#CommStockTot) for the last period, of the prior year. <BR>What I'm wondering is how best to write this.<BR>This is what I've come up with so far and I'm not fond of it.<BR><BR>If HS.GetCell("A#CommStockTot.P#Last.Y#Prior") <> 0 Then HS.Exp "A#CommStockTot.P#Last.Y#Prior) Else HS.Exp "A#CommStockTot.P#First.Y#Cur"<BR><BR>and a similar piece for the Preferred Stock (A#231001)<BR><BR>Is there a simpler way to do this that would work like a REPLACE command or UPDATE Query?<BR><BR>
No ,there is no simpler way .Got to use Hs.ExpPeacenaveen
Similar Messages
-
hi.
i'd like to roll forward standby 9.2.0.8 database using backup of primary made with rman. there is Note:290817.1 on this topic. the only problem is that we don't use recovery catalog at our site.
can i create standby controlfile on primary (it'll contain information about recent backups then) and somehow replace controlfile on standby with this newly created one? and then somehow recover standby with rman...
what do you think? if this procedure can be performed, i could then do 'nologging' maintenance on primary which in turn greately reduce maintenance time and amount of archived logs generated.You could create the "standby" as a physical clone
of the databaseyes. and i did it several times. whith assistant of rman, ofcourse. not a fast procedure i'd say. copying of 800GB took about 2-3 hours even over fc.
and keep it in continuous "roll-forward" using your
own scripts / procedures.
That would be with normal controlfile backup (instead
of a standby controlfile).that would be a mess. i'd like to use standard oracle features/procedures to achieve HA.
However, if your primary runs nologging transactions
you'd still have to
take backups of the database files from the primary
to the cloned "standby".though it is not applicable to my case i just curious: is that possible at all with rman? AFAIK, cloned database is an another incarnation of primary db. and
backup taken on primary won't work with such clone.
So, after every completion of the nologging jobs,
backup and copy over the
update database files.i know that. it is stated clearly in documentation. so immediately after nologging operations i plan to take incrementab backup and use that backup to roll forward standby.
thats the plan :-) -
Rollback ( Tx Recovery) and Roll forward ( cache Recovey)
Hi Guys,
I have a some doubt after Going through the links :
Difference between redo logs and undo tablespace and Oracle DBA ADMIN Guide (E25494-02).
1) Redologs Contain committed and Uncommitted data . Wether they also contain before Image Data ? or its vector that points to the Undo Segments ?
Doc Says : Redo entries record data that you can use to reconstruct all changes made to the database, including the undo segments.
But Above forum Links says that it contains the vector only .
2) Crash of database ( Abort) , how it happens .
I know first it makes the roll forward and then backward. During this Time Undo Tablespace Comes into the picture ? Do the Undo tablespace segments are build from the redo logs. Please Help on this. really get confused
I try to test few scenarios but Not able to conclude ?
1> Make A TXN ( Updated almost 29000 rows )
2) Abort the Database.
3) Change the undo Tablespace Name in init file some dummy .
Database error with the following Error :
SMON: enabling cache recovery
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_5592.trc:
ORA-30012: undo tablespace 'UNDOTBS11' does not exist or of wrong type
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_5592.trc:
ORA-30012: undo tablespace 'UNDOTBS11' does not exist or of wrong type
Error 30012 happened during db open, shutting down database
USER (ospid: 5592): terminating the instance due to error 30012
Second Test :
1) Create a 2nd Undo Tablespace
2) Update the same number of rows .
3) Shut abort in another session.
4) Modify the Pfile with new undotabs2 ( No Spfile)
5) Startup database it started.
Beginning crash recovery of 1 threads
parallel recovery started with 2 processes
Started redo scan
Completed redo scan
read 7971 KB redo, 1272 data blocks need recovery
Started redo application at
Thread 1: logseq 28, block 3
Recovery of Online Redo Log: Thread 1 Group 1 Seq 28 Reading mem 0
Mem# 0: D:\INSTALL\PRACLEDB\ORADATA\DBA\REDO01.LOG
Completed redo application of 6.72MB
Completed crash recovery at
Thread 1: logseq 28, block 15945, scn 1487147
1272 data blocks read, 1272 data blocks written, 7971 redo k-bytes read
Thread 1 advanced to log sequence 29 (thread open)
Thread 1 opened at log sequence 29
Current log# 2 seq# 29 mem# 0: D:\INSTALL\PRACLEDB\ORADATA\DBA\REDO02.LOG
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 5.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
Sun Oct 28 18:11:03 2012
SMON: enabling tx recovery
Database Characterset is WE8MSWIN1252
No Resource Manager plan active
SMON: Parallel transaction recovery tried
3) Third Test :
1) Update the same number of rows
2) Change the UNDOTBS to the New UndoTBS
3) rename the Old Datafile
4) db start to fail with error
ALTER DATABASE OPEN
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_dbw0_3960.trc:
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 10: 'D:\INSTALL\PRACLEDB\ORADATA\DBA\UNDOTBS2.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Errors in file d:\install\pracledb\diag\rdbms\dba\dba\trace\dba_ora_4552.trc:
ORA-01157: cannot identify/lock data file 10 - see DBWR trace file
ORA-01110: data file 10: 'D:\INSTALL\PRACLEDB\ORADATA\DBA\UNDOTBS2.DBF'
ORA-1157 signalled during: ALTER DATABASE OPEN...
Sun Oct 28 18:20:04 2012
Checker run found 1 new persistent data failures
Please Help on understand thisSourabh85 wrote:
Hi Hemant,
Thank you very much , really very helpful. One More Question :
Why Oracle do the Double work ? First Populate the Undo Blocks and then do the roll backward ? Why Not directly recovered from the redo logs for uncommitted txn.Its not the doubling of the work. Oracle updates teh Undo blocks with the old data and since the Undo blocks are also just like the Other data blocks, any changes done to them is also logged as a Change Vector to the redo log files. This means, that there would be an Undo data block change vector recorded in the redo log file before the change vector of the data block which contains the data of your statement. This is what is meant when it is said that the redo log also contains the old images . The idea is to do the recovery, when needed, in the same sequence(based on the SCN's) using everything from the redo log files. This would include the recovery of the Undo datafiles as well in the case they are lost too!
HTH
Aman.... -
Hello,
I seem to be having an issue rolling by 2006 balances forward. I have been using transaction F.16 to carry them forward and FS10 to verify. Everything looks fine in the local currency view in FS10 but when I look at the group currency balance it has not rolled forward. Any ideas on why this may be happening would be greatly appreciated.
Thanks.Wrong Forum
-
USD OVERRIDES Not Rolling Forward
We are operating on HFM 9.3.1. When we utilize the USD Override account there is a currency variance which continues in the future months and it does not appear to be rolling over each month automatically. The account in our metadata is not set to Balance Reaccuring but Balance. Can this be changed without creating a problem? How can we insure the overrides only have to be input once.
user11993454 wrote:
Hi
I'm about to use the process defined in note: Steps to perform for Rolling forward a standby database using RMAN incremental backup when primary and standby are in ASM filesystem [ID 836986.1]. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Has anyone performed this process when using the broker.
Does the broker handle it properly?
Does it matter if the broker is up or down during the physical standby recovery or control file replacement?
Does the broker configuration need to be recreated?
Thanks.1) disable the Broker
2) perform Roll forard SCN.
3) enable Broker -
Group Currency Balance Roll-Forward
Hello,
I seem to be having an issue rolling by 2006 balances forward. I have been using transaction F.16 to carry them forward and FS10 to verify. Everything looks fine in the local currency view in FS10 but when I look at the group currency balance it has not rolled forward. Any ideas on why this may be happening would be greatly appreciated.
Thanks.Hi
See below the procedure from help
Carry forward the parallel currency ledgers also
Message no. GU633
Diagnosis
You want to carry forward the balances for the general ledger.
You have other active ledgers, in addition to ledger 00, and they have to be carried forward as well.
Procedure
Using the input help, display the parallel currency ledgers and carry them forward also.
thanks
Ashok
Award points if this is useful -
OPM Inventory Roll Forward Report
Hello All:
My Plant controller is asking for an Inventory Roll Forward report in OPM 11.5.10
At the high level, this is what he is asking for :
For the quarters under examination, obtain and test or perform an overall "rollforward" of inventory units (i.e., beginning inventory plus production plus returns less sales and plus or minus inventory adjustments equals ending
inventory).
I am planning to build a custom report using information based in ic_tran_pnd and ic_tran_cmp tables.
I wanted to know, Is there a "standard" Report in OPM that is available to give this information or anything close enough that I can use a starting point to build the above Report?
Thanks in advance.
Sandeep
Edited by: user8611828 on Dec 29, 2010 6:44 PMHi Sandeep,
*"Daily Transaction Detail Report"* in OPM inventory responsibility can be the basis on which you can build on the "running stock balance report". Of course, inclusion of ic_perd_bal would make sense for the opening balance.
Rather, you can even build "Projected Stock Balance report", in case you have procurement plans (PR/PO) –-- inflow and projected requirements --- outflow, is in place.
Hope this helps.
- Sanjeev -
BDC Report to Roll Forward Negative Statutory Leave Entitlement
Hi experts,
Please let me know any standard program is there for this requirement: BDC Report to Roll Forward Negative Statutory Leave Entitlement.
Tel me how to solve this requirement.....
Thanks,
Brahmathanks experts
-
Retained Earnings Roll Forward (GAAP vs. STAT)
Does anyone have any suggestions on how to set Closing Rules, so that you are able to run separate Retained Earnings roll forward, one for GAAP entries, and the other for Statutory Adjustments, with the Book Code field being your point to differentiate?
I have set a chartfield rule in our Clossing rules to capture only Book Code entries for GAAP, but when running the RE Roll Forward in testing, both the GAAP and Stat entries are being captured in the Roll Forward.
Appreciate if anyone has any suggestions on how you have approached completing separate Roll Forwards for GAAP vs. Stat.
Thanks.We don't roll it into retained earnings. In fact, you cannot roll a balance sheet account into retained earnings. We just report that account in the same financial statement node as the retained earnings account is in.
-
Roll Forward Inventory Reporting
Hi,
We currently use Roll Forward reporting. However, due to an error a wrong yield was posted. This caused the Sales at average price to calculate inacurately. Hence the inventory dollars was also inaccurate. Since the Cost of Sales and Inventory dollars from the roll forward are tied to the Trial Balance accounts through IS OIL, my TB values were also wrong. How can I fix my inventory on the Roll Forward report to match the inventory on the Balance sheet?Sandesh,
Thanks for your help. Will the MR21 change the volumes?. Currently the inventory volumes on the Roll Forward is correct, however, because of the error, the moving average cost of sales dollars is wrong. This caused the inventory dollars to be inaccurate on the Roll Forward and the Trial Balance. I can increase the dollars on the RF and TB using MB1C and 961 using 1 gallon and any dollar value. But our inventory dollars is overstated on both the RF and TB and I cannot input a -ve dollars using MB1C.
Will the MR 21 allow me to manually decrease the inventory cost without affecting volume? -
G/L roll forward and Asset Roll forward
HI
Can some body explain me a G/L roll forward and Asset Roll forward I am new this topic is there roll forwards please explain me in detail in which situation we are using this roll forward.
Thanks In advance,
Regards,
Lakshmi narayanaHi,
Please refer to the following activities for 2007 Year End Closing. This document will consist of steps for Verification and Processing Activities for R/3 system activities.
The areas of SAP which will be affected are:
General Ledger
Accounts Payable
Asset
CO
Verification Steps:
Assets:
1. Check all incomplete Assets in the system for 2007
2. Settle all AUCs
3. Do all system adjustments for Assets
4. Make sure all Depreciation is posted
FI:
1. Make sure all payment runs are complete
2. Open new period for new year
3. Do all GL/AP Adjustments
4. Post all Park documents
Process Steps:
Asset:
1. ABST2; Reconciliation Program. List of differences between FI-AA/GL
2. AFRW; Asset Fiscal Year
3. AJRW; Asset Fiscal Year Change. This closes the FY
AP/AR:
1. F.07: Customer/Vendor Balance Carry forward
GL:
1. FAGLGVTR or F.16: GL balance Carry Forward
2. OB52: Close all periods for 2007. Will only open period 1-1, 2008
CO:
1. OKP1; Lock Actual & Plan
2. 2KES
Hope this helps,please assign points.
Thanks,
Rau -
Roll Forward consistent-closed database copy, that hasn't been opened yet
Hi Oracle DBAs,
I was told that it is possible to do this;
1. Shutdown the database
2. copy accross to another server
3. mount the database
4. roll forward the database if there had been some archived redo logs generated after the original database had been started up.
Please if you can provide the command(s) to do that...
Thanks,
Marc.Aman,
thanks for the notes on using the RMAN Duplicate commands, ultimately, we will be going down that path to use RMAN, and the notes will be the first place I look at to start.
Cheers,
Marc. -
We have SAP MAX DB database in our environment.
We used the Database Dump file and the Backup log files to build the database and roll forward the logs.
But when we try to do the same activity again using the same Database Dump file and Roll Forward using the same Backup Log Files, we cannot perform the same activity again. When we actually used the Database Dump again, it did not even provide a Option to Roll Forward the logs
Please advice if it is possible to do roll forwardHello Balaji Rajendran,
1. What is the MAXDB database version?
2. Are you SAP customer?
3. Please review the document u201CSetting Up and Updating Standby Instancesu201D
at MAXDB library http://maxdb.sap.com/doc/7_6/default.htm -> Tutorials -> Tutorial Database Administration
4. There is documentation available in section u201CBackup / Recoveryu201D at
http://wiki.sdn.sap.com/wiki/display/MaxDB/SAP+MaxDB -> SAP MaxDB HowTo
5. Please let us know the database version & what document or SAP note did you follow for the database administration and we could help you further.
Thank you and best regards, Natalia Khlopina -
AR GL Activity roll-forward.
In the FS which i got some input types for the AR GL Activity roll-forward are mentioned.Wht actually is this AR GL Activity roll-forward..The input types given is
Debit Billings
Misc Debits
Cash Collected
The FS is for a ALV report.
Please help me.
Thanks
AnsariHello Balaji Rajendran,
1. What is the MAXDB database version?
2. Are you SAP customer?
3. Please review the document u201CSetting Up and Updating Standby Instancesu201D
at MAXDB library http://maxdb.sap.com/doc/7_6/default.htm -> Tutorials -> Tutorial Database Administration
4. There is documentation available in section u201CBackup / Recoveryu201D at
http://wiki.sdn.sap.com/wiki/display/MaxDB/SAP+MaxDB -> SAP MaxDB HowTo
5. Please let us know the database version & what document or SAP note did you follow for the database administration and we could help you further.
Thank you and best regards, Natalia Khlopina -
No Roll forward in Assest Accounting. Impact on FI, CO, PCA,SPl
Hi, for one company code, NO roll forward is done for 2011. Is there any impact on report generation for Asset Accounting. Further any impact on FI and CO
Hi
The solution is: re-open fiscal year in FI-GL (txn OB52) and follow the
steps from note 619969.
o RAAFAR00
o RAPOST2000
o RAPERB2000
o RAJABS00
If it is not possible to open the fiscal year because audit has already
been completed: workaround (which is not quite correct from the legal
point of view) is the report RACORR20_A from note 29694.
Please do the testing first, as this is not the normal procedure.
Best Regards,
Blaz
Maybe you are looking for
-
I have 2 Apple ID's but the app store will not let me update iPhoto with either
I have a MacBook pro 2011. For some reason i have ended up with 2 Apple ID's i must have forgotten something or i changed my account name from when i first set up the machine. Some apps allow me to upgrade with one but not the other. I have upgraded
-
User exit for MIRO after pressing ENTER
Hello, Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER? I want to popup a message that relates to vendor data that does not appear in the screen Thanks, Moshe
-
FRM-99999 FAILED TO EXECUTE COMMAND IEXPLORE
Hi there, When I attempt to call the report from my forms (from the browser using IE4), an error message was returned: FRM-99999: Failed to execute command. Command=iexplore http://<webserver>:89/sdq.pdf FULL Details: CreateProcess:iexplore http://<w
-
Hi all, I have a problem with a Flex application hosted in an Adobe InDesign CS4. I'm using a panel developed in Flex inside Adobe InDesign. The Flex panel has a Tree component. The problem is that when I click in the Tree component and then I click
-
Why on Premiere Elements 9 for Mac Unexpectly Quits when previewing edit?
Former Dell Windows XP PC user with new MacBook Pro OS X 10.6.5 with 2.53 GHz Intel iCore 5 Using Adobe Premiere Elements 9 for the Mac. Experience: Premiere Elements 2, 4, 6, 7 on Windows based PC First video editing experience on MacBook Pro using