Journal Scripting HFM
Hi Experts,
What type of scripting we would use generally during journal posting?
Where would you use Scripting? we would use VB script for this? or else is there any other scripting?
regards
Dev
Hi Dev,
Thanks for the information. Until and Unless you have an out of box requirement from your users no need to go for Scripting. To answer your question we can write scripting for Journals.
1. If you want to have scripting in FDM, Goto Work bench client -->Target Adapters --> Actions -->Export A (Here we can modify the script according your requirement).
2. If you want to have scripting in HFM, Goto Rules editor and write logic according to your requirement. Use "HS.Con" while writing a rule for journals as they are part of consolidation.
Please mark it as Helpful/Correct if it what you are really expecting.
Cheers,
Vyas
Edited by: 840552 on May 30, 2012 2:18 AM
Edited by: 840552 on May 30, 2012 2:19 AM
Similar Messages
-
JOURNAL Script issue (NW7.5 SP9)
Dear
I meet a problem.
First, when I post a journal on server,it's normal.
Second, I post another journal which has the same Entity / Acct members
The second journal covers the first journal
following is my journal script
*WHEN FLOW
*IS <> "F99"
*WHEN C_DATASRC.DATASRC_TYPE
*IS "M"
*WHEN C_ACCT.ACCTYPE
*IS "AST"
*REC(FLOW=F99)
*IS "LEQ"
*REC(FACTOR=-1, FLOW=F99)
*ENDWHEN
*ENDWHEN
*ENDWHEN
*COMMIT
I want to aggregate the twice journal , not cover each other.
How can I do.
B.R.
MUTAHello Mutaak,
I think that the problem is that you are introducing journal data in F99, and the script record again to F99.
If you need to use that script is because you are using flows in your model. In this case the journal must be introduced in flow member (For example, F20, F30) and then your script must write in F99 member (Close balance).
The script you must use is this one:
*XDIMMEMBERSHET FLOW=
*WHEN FLOW
*IS "F20"
//You can use a property to define all the flow members different to close balance. For example "FLOW_DETAIL"
//*WHEN FLOW.FLOW_DETAIL
//*IS "Y"
*WHEN C_DATASRC.DATASRC_TYPE
*IS "M"
*WHEN C_ACCT.ACCTYPE
*IS "AST"
*REC(FLOW=F99)
*IS "LEQ"
*REC(FACTOR=-1, FLOW=F99)
*ENDWHEN
*ENDWHEN
*ENDWHEN
*COMMIT
I hope this help you.
Regards,
Gabriel García
Edited by: algarciagomez on Jan 9, 2012 11:55 AM -
Difference between reversing journal and Auto reversal journal in HFM
What is the difference between Auto reversing journal and Auto reversal journal in HFM?
Hi Dev,
The below link might be helpful:
http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_user.pdf
Refer to page 173
Thank you,
Charles Babu J -
Hi all,
Im working with HFM 9.3 and I have a problem with the journals. Im posting journals set with *Value:[Contribution Adj]* in a child entity and I execute Calculate contribution in the parent entity to see the effect on the parent.As a test, I unposted them and I execute the Calculate contribution again, but this time I don't see the result of unposting the journals. The data still remains...
I have done exactly the same process ( using the same journals) for next year and everything is fine... What could it be?
Thanks.But the problem is, once I unpost the journal and I execute Calculate contribution again, the data remains in the cell so it does not unpost the journal. And when I do exactlly the same operation for the next year( posting and unposting journals) it works correctly! So I don't know t if it has something to do with the configuration of metadata or what...
-
Journal Security for unpost the journal in HFM
Hi All
I want to have a security that a user should post a journal and he should not un post the journal? How to achieve this?
Because post and unpost is not segregated in HFM Journal.
regards
Sarillaif the user submits the entity (or phase) in the process control and has no Review Supervisor role then he would not be able to unpost the journal unless the Review Supervisor rejects back the submission in the process control
-
Tracking down who has deleted what journals in HFM
Hi all,
We used HFM v9.3.1. and some of our users are saying that a number of journals do not appear anymore under the "Process Journals" section when they are trying to run them. Apparently, last month, those journals were there but this month, they have somehow disappeared.
I have gone to the Administration > Task Audit screen but couldn't find any task filter which could tell me what journals have been deleted.
Even with the Journals Unposting task filter, there were not enough details\information against the records which were listed as I would have expected to see at least the name of the journal which were unposted as part of the list.
Is there a way to:
1. find out the list of journals which have been deleted in HFM?
2. find out the exact name of the journals which have been unposted in HFM?
Thanks in advance
JBMThere is no way to see which users deleted journals. This is not an activity that can be tracked currently with Task Audit. Data Audit only applies to input level changes in <Entity Currency> and does not apply to any of the adjustment nodes.
If this is an ongoing problem in your application, you can certainly prevent users from unposting journals -- only give them rights to create and post, so they must request a different user to unpost them. Also, you should know that any user granted the Administrator role cannot be restricted from anything in an application (except granting access to other users or making changes to access).
Another idea is to make use of process management so that once an entity has been approved that no one can change it, let alone unpost and then delete journals.
The placement of classes on journals is entirely an "honor system" idea since there is no security on the classes themselves. It may be possible for a user to create a journal that he himself has no access to.
I think in this case you have to invest time in asking your users, or put better controls into your security plan.
--Chris -
Users cannot view journals in HFM
I am on HFM version 11.1.1.3 and am having some issues with users being able to view journals. These same users were able to be able to view/edit journals a couple of weeks ago and the functionality has randomly dissappeared. One user specifically created a new journal and is unable to view it on the same day. The journal exists and other users with the exact same security are able to view it. I have reviewed the security and everything is set up appriopriately. Also, are users are all set up as Native Directory. We restart services weekly and this has not fixed the issue. The only consistent behavior is that once a user loses the ability to see journals, they never get it back. I have to set them up with a new id that has the exact same security as their old one and then they are able to view journals again.
Has anyone else experienced this? Is this a known HFM bug?
Any help is greatly appreciated.
Thanks!!Hi,
May be you have already checked it, but can you see if there is any filter condition applied by the affected users?
Ask the affected users to go to process journals/filter/filter tab and check the settings applied. if there is any filtering condition for which there are no journals, user wouldn't see anything.
Hope this helps...
Edited by: Silver13 on Jun 4, 2011 12:25 AM -
Hi
Is there a limit to the number of journal entries in an HFM application?
We have thousands of journal entries in our application - is there any risk that this will cause us problems, either through random unexplained errors or through performance?
ThanksYou have thousands of entries created in HFM or you have thousands of entries to load from a GL to HFM?
HFM should not replace a general ledger for most companies. It would be better to load the resulting balances from a source system to HFM. -
Difference between the reversing journal and auto reversal journal in HFM?
Hi! all
This is sandeep. I was posted journals but I'm not able to understand the difference between the reversing journal and auto reversal journal could you please help me to know the difference between them
Thank you,
SANDEEPHi Sandeep,
As per my understanding, reversing and auto revering journal entries are same:-
1) Reversing journal entries are the entries which are made for the adjustment for the preceding periods.
2) For Understanding Auto Reversal entries, please refer HFM user guide, you can refer page number 182
http://docs.oracle.com/cd/E17236_01/epm.1112/hfm_user.pdf
Regards,
Ajay -
Hi experts,
Is there any specific standart scritp logic called by the journal templates when you post a journal?
When we post a journal we don´t want to call the default.lgf.
Regards.Hi
Your previous entries in your journal will be retain but unfortunately you can not use it again because your currency will be restricted to LC.
Thanks -
I am currently reporting half yearly, and have completed Dec 08 data, and now successfully loaded June 09 data.
However, when I went to use the recurring journals (for June 09), the Dec 08 data has changed, despite the Dec 08 period being locked and closed. The journals (4 of them) are still in Dec 08 journals and marked as "Posted", however the impact of those journals has changed the Dec 08 balances.
If anyone has any suggestions as to why/how Dec 08 data has changed, I would be very grateful !!
(Please forgive me if there is another post on this topic, I did a search on "recurring" and "journals" and cant find any, so if there is one, please include it).Hi,
I am sorry Oracle Applications does not have this feature as of now.
If you click on lines you will find that the currencies which can be choosen is Monetary or Stat.
Secondly if you have to generate such recurring foreign journals, you need to give conversion rates.
I hope I making things clear
Regards,
Raj.. -
<Font color="Blue">
Hi, All
There is a scenario, I want to restrict the user to post the journal but he can not unpost the journal in HFM?
How would I achieve this? Post and unpost roles are not segregated in HFM. (Means Post journal role includes the unpost journal role also) How to achieve this?
Regards
Taruni
<Font/>This type of access is not for loading metadata(what you refer to as write access) it is basically a filter used during the display of the Metadata using any of the interfaces.
In your example US Security Class for the people in US region.
A user will be able to see all of the Entities tagged with the US Security Class, so if you have a "Global Region" that includes say "Europe" the user won't be able to see this structure when they are navigating in the Entity Dimension. If you also tagged some accounts for the exclusive use of US entities (with US Security Class) then, the Europeans won't have access to those accounts when they navigate the Account Dimension.
Hope this will help you clarify the use of the Security Classes.
Also, for this filter to take effect, you must enable METADATA SECURITY FILTERING in the Application Settings.
Edited by: Raul Rodriguez on Nov 13, 2008 9:58 AM -
Hi everyone,
Does anyone know if there is a limit on the number of lines (rows) that can be used in a single HFM journal entry? i wasn't able to find information on this question in the HFM user guide.
Thanks,
BrianThere is not a limit according to Chris Barbieri and he knows his stuff => Journals in HFM 11.1.1.3 - error with Journals with many lines
Thank you,
Todd Rebner -
Import Script Failing Sporadically
The script ran fine for a year, then it began failing sporadically. I suspect it's related to a DB timeout or network issue, but I can't pinpoint the issue. I added some basic logging and error trapping, but it isn't enough to go on. Any ideas on how to continue troubleshooting?
Function FDM_JDE_Connect(strLoc, lngCatKey, dblPerKey, strWorkTableName)
' Date Person Modification
' 20131024 Jeff McAhren Cleaned up code, added logging
Dim cnSS ' Integration Connection
Dim strSQL ' SQL statement for V_HFM_LOAD
Dim rs ' v_HFM_LOAD Recordset
Dim rsAppend ' tTB table append rs object
Dim strMonth
Dim strYear
Dim strJDEMonthCol
Dim r
WriteLog "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
WriteLog "FDM_JDE_Connect Starting"
WriteLog "strLoc = " & strLoc
WriteLog "lngCatKey = " & lngCatKey
WriteLog "dblPerKey = " & dblPerKey
WriteLog "strWorkTableName = " & strWorkTableName
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTableAppend(strWorkTableName)
'Connect to the Integration database
cnSS.open "Provider=SQLOLEDB.1;Password=mypassword;Persist Security Info=True;User ID=myuser;Initial Catalog=mydatabase;Data Source=mydb;"
WriteLog "Connected to Integration Database; Err = " & Err & " - " & Err.Description
strMonth = RIGHT("0" & Month(RES.PstrPer),2)
strJDEMonthCol="GBAN" & strMonth
strYear = Year(RES.PstrPer)
strSQL = "SELECT DATAVIEW, YEAR, PERIOD, ENTITY, ACCOUNT, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, AMOUNT " &_
"FROM V_HFM_LOAD WHERE PERIOD = " & strMonth & " and (YEAR = " & strYear & " or YEAR = '')"
rs.Open strSQL, cnSS
WriteLog "rs recordset opened; Err = " & Err & " - " & Err.Description
'Check for data
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records to load!"
WriteLog "No records to load, exiting function; Err = " & Err & " - " & Err.Description
Exit Function
End If
'Loop through records and append to tTB table in location's DB, use records returned from the strSQL query
If Not rs.bof And Not rs.eof Then
WriteLog "Entering do/while loop; Err = " & Err & " - " & Err.Description
Do While Not rs.eof
r = r + 1
rsAppend.AddNew
If err <> 0 Then WriteLog "*** ERROR EXECUTING ADDNEW - RECORD: " & r & " - Error: " & err & " - " & Err.Description
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = rs.fields("DATAVIEW").Value
rsAppend.Fields("CalcAcctType") = 9
rsAppend.Fields("Amount") = rs.fields("AMOUNT").Value
rsAppend.Fields("Desc1") = rs.fields("ACCOUNT").Value
rsAppend.Fields("Account") = rs.fields("ACCOUNT").Value
rsAppend.Fields("Entity") = rs.fields("ENTITY").Value
rsAppend.Fields("ICP") = "[ICP None]"
rsAppend.Fields("UD1") = rs.fields("CUSTOM1").Value
rsAppend.Fields("UD2") = rs.fields("CUSTOM2").Value
rsAppend.Fields("UD3") = rs.fields("CUSTOM3").Value
rsAppend.Fields("UD4") = rs.fields("CUSTOM4").Value
rsAppend.Update
If err <> 0 Then WriteLog "*** ERROR EXECUTING UPDATE - RECORD: " & r & " - Error: " & err & " - " & Err.Description
If r / 10000 = Int(r / 10000) Then WriteLog "Status Update Record: " & r
rs.movenext
If err <> 0 Then WriteLog "*** ERROR EXECUTING MOVENEXT - RECORD: " & r & " - Error: " & err & " - " & Err.Description
Loop
WriteLog "Exiting do/while loop; recordcount = " & r & "; Err = " & Err & Err.Description
End If
rs.close
rsAppend.close
WriteLog "Recordsets closed, exiting function; Err = " & Err & Err.Description
'Assign Return value
FDM_JDE_Connect = True
End Function
Sub WriteLog(LogMessage)
Dim objLogFile
Dim FSO
Set fso = CreateObject("Scripting.FileSystemObject")
Set objLogFile = fso.OpenTextFile("d:\scripts\HFM\FDM_JDE_Connect.log", 8, True) '8=ForAppending
objLogFile.Writeline (Now() & ": " & LogMessage)
objLogFile.Close
Set objLogFile = Nothing
End SubOh, and there is this:
** Begin FDM Runtime Error Log Entry [2013-10-28 16:07:18] **
ERROR:
Code............................................. -2147467259
Description...................................... File [07^JDE^Actual^Jul - 2013^RR.txt] Caused Error: (Query timeout expired At line: 99) <=== LINE 99 is the "LOOP" Statement
Procedure........................................ clsBatchLoader.mFileCollectionProcess
Component........................................ upsWBatchLoaderDM
Version.......................................... 1112
Thread........................................... 5844
IDENTIFICATION:
User............................................. sys_jde_load
Computer Name.................................... MyServer
App Name......................................... BBCFDM
Client App....................................... WebClient
CONNECTION:
Provider......................................... SQLOLEDB
Data Server...................................... MyDBServer
Database Name.................................... BBCFDM
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... JDE
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... ACTUAL
Category ID...................................... 13
Period........................................... Jul - 2013
Period ID........................................ 7/31/2013
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False -
How to show only the wanted member in Journals?
Hi experts,
I would like to know how i can limit the members of one dimension than can be choose when user creates a journal. I mean, i know that it exists the property Enable_JRN than permit show only member with this property to yes of one dimension.
But i would like have limitations for the combination of two dimensions, i mean, for example, if i have selected one member of dimension Account with ID 23456, i want to have the possibility of choose ONLY these flows, F99, F30. But for another member of account with ID 07898, only i want show (and then permit) the flow F35.
Any ideas, about it?
Thank for your help!!!BPC doesn't have a method for this form of dimension combination validation or restriction in the current form. The only option I can think of is to possibly build a second application that contains the valid combinations, noted by using a single value entered at the valid combination. Then using the valdation and Journal Script file to check the validity of the combination of the posted value using script logic or defering to an EVDRE that checks the Validation application during a send of data process, instead of using Journals. We have been requested this behavior in the past to development, but your request as well would be beneficial, via SAP Support.
Maybe you are looking for
-
Scanner Presets - Adobe Acrobat 9 Pro
I removed a Canon CanoScan LiDE 60 from my Vista computer, drivers and all. The scanner continues to display in the Configure Presets Scanner Selection drop-down list. I have been unable to remove the uninstalled scanner from the list. Any help would
-
I keep getting this message when I try to open FCP X. "The storage location 'brianmassman1' on this computer is already in use by 'brianmassman1' on 'Brian-Massmans-Computer-7". To access the location, quite Final Cut Pro on 'Brian-Massmans-Compute
-
Flag email as junk...pointless task!
why do I still get Dr Oz miracle cure junk mail after I've flag it as junk everyday
-
How can I prevent someone from deleting history?
My son keeps deleting his history. Can I prevent this?
-
Re: Need to download AM from Server into JDeveloper
Hi, I have exported the OAF page from the server. While exporting the AM from the server i get error as D:\JDev9\jdevbin\jdev\bin>export /oracle/apps/ap/oie/server/HomePageAM -rootdir D:\JDev9\jdevbin\jdev\bin\myprojects -username apps -password apps