Scheduling in FDM.......

Hi All,
We are using FDM 11.1.2 version, and want to know how we can do scheduling process in this version
can any one let me know how this can be done?????

The FDM task manager is FDM's internal scheduling program. Details on its use can be found in the admin guide.
Additionally, the FDM shell can also be used to create cmd/bat files that can be scheduled using 3rd party components. Its use is described in the 11.1.1.3 application ReadMe. I think it's also covered in the 11.1.2 ReadMe as well.
Edited by: TonyScalese on Jun 21, 2010 7:45 AM

Similar Messages

  • Custom Script Code to create multi-Location files from Master File

    Hi,
    I currently have a custom script that loads a master file (which contains all Entities data). I would like to do the following;
    1. Generate multiple files from the master files, one file per location for all locations.
    2. Each location file should contain data only data relevant to that Location defined by Validation Entity definitions.
    Does anyone have a sample code to do the above?
    Essentially, we want to run this Master Custom Script every hour or so and generate all the Locations' files and have users load them ad-hoc.
    Please let me know.
    Thanks

    Your requirement is quite sepcific so you will have to write the script for this yourself (or hire someone to do it for you). What I will say is that via vbscript and the FDM API all the components you require to do this are there and it can be scheduled with FDM's Task Manager.

  • OpsCenter 12 custom script

    Dear all,
    I am using OpsCenter 12 and would like to install a Solaris 10 package, the file /etc/resolv.conf and a custom script after the OS installation.
    The OS installation does work but the rest is not done.
    In my deployment plan a have
    Install Software: Profile_Install_CSWpkgutil
    Execute Post-Install: Profile_Install_resolv.conf
    Operation cfengine_installation
    In my Job Target Details the last step CmpExecuteTask ist running for hours. I don't know if my three tasks are in that step.
    When I did "Apply Deployment Plan" I the three tasks where listed.
    Can somebody please help me?
    Best regards,
    Andreas

    Your requirement is quite sepcific so you will have to write the script for this yourself (or hire someone to do it for you). What I will say is that via vbscript and the FDM API all the components you require to do this are there and it can be scheduled with FDM's Task Manager.

  • FDM - Integration IMPORT script failed

    Hi,
    We are on 11.1.2.1.
    I am trying to create a import integration script which i took from the FDM admin guide...and i am trying to pull data from Oracle table...
    But i am getting error as "Data access error" and its in the below line when i try to execute the code form the workbench...but when i use the import button in the web its importing....*i beleive its somethign related to the STRWORKTABLENAME and somewhere i read that i need to declare the function FARSTABLE*...but i dont know how as i am pretty novice to that....can you please help me....
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    also when i checked the error log i saw
    *** Begin FDM Runtime Error Log Entry [2012-07-03 07:06:27] ***
    ERROR:
    Code............................................. -2147467259
    Description...................................... ORA-00903: invalid table name
    Procedure........................................ clsDataAccess.farsTableAppend
    Component........................................ upsWDataWindowDM
    Version.......................................... 1112
    Thread........................................... 20228
    Below is the complete code i am using
    Function SI_ActualLoad(strLoc, lngCatKey, dblPerKey, strWorkTableNam)*
    *+'------------------------------------------------------------------+*
    +'Oracle Hyperion FDM IMPORT Integration Script:+
    +'+
    +'Created By: admin+
    +'Date Created: 2012-06-01 01:19:02+
    +'strWorkTableName+
    +'Purpose:+
    +'strWorkTableName+
    *+'------------------------------------------------------------------+*
    Dim cnSS 'ADO connection Object*
    Dim strSQL 'SQL String*
    Dim rs 'Source system recordset*
    Dim rsAppend 'Hyperion FDM recordset*
    Dim monthvar*
    +'Initialize ADO objects+
    Set cnSS = CreateObject("ADODB.Connection")*
    Set rs = CreateObject("ADODB.Recordset")*
    monthvar=Month(Date)*
    +'Open Hyperion FDM work table recordset For appending+
    +'Set rsappend = DW.DataAccess.farsTableAppend(strWorkTableName)+
    +'Connect To Oracle database (our data source)+
    Dim strConn*
    strConn="Provider=ORAOLEDB.ORACLE.1;Data Source=EMDDS392:1521/DEVDBEMD;Database=DEVDBEMD;User id=xxxxxxx;Password=xxxxx"*
    cnss.open strConn*
    +'Create source query String+
    strSQL = "Select * "*
    +'strSQL = strSQL & "FROM STG_SAP_ACTUALS WHERE ACCOUNT NOT LIKE 'NA'"+
    strSQL = strSQL & "from EGETLDB.STG_SAP_ACTUALS where period =SUBSTR(TO_CHAR(SYSDATE-90,'MONTH'),1,5)"*
    +'Open source recordset+
    rs.Open strSQL, cnSS*
    +'Check For data In source system+
    If rs.bof And rs.eof Then*
    +'Give Error message+
    RES.PlngActionType = 2*
    RES.PstrActionValue = "No records To load!"*
    +'Assign Return value of Function+
    SI_ActualLoad = False ' Assign return value of function*
    Exit Function*
    End If*
    +'Loop through source records In database And append To+
    +'Hyperion FDM work table+
    If Not rs.bof And Not rs.eof Then*
    Do While Not rs.eof*
    rsAppend.AddNew*
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey*
    rsAppend.Fields("CatKey") = RES.lngCatKey*
    rsAppend.Fields("PeriodKey") = RES.dblPerKey*
    rsAppend.Fields("DataView") = "YTD"*
    rsAppend.Fields("CalcAcctType") = 9*
    rsAppend.Fields("Amount") = rs.fields("GROUPCURRENCY").Value*
    rsAppend.Fields("Account") =UCase(rs.fields("ACCOUNT").Value)*
    rsAppend.Fields("Entity") = UCase(rs.fields("ENTITY").Value)*
    rsAppend.Fields("UD1") = UCase(rs.fields("SCENARIO").Value)*
    rsAppend.Fields("UD2") = rs.fields("VERSION").Value*
    rsAppend.Fields("UD3") = rs.fields("CURRENCY").Value*
    rsAppend.Fields("UD4") = rs.fields("TRANS_CURRENCY").Value*
    rsAppend.Fields("UD5") = rs.fields("ZONE").Value*
    rsAppend.Fields("UD6") = rs.fields("CATEGORY").Value*
    rsAppend.Fields("UD7") = rs.fields("SCHEDULE").Value*
    rsAppend.Fields("UD8") =UCase(rs.fields("DEPT_PRJCTS").Value)*
    rsAppend.Fields("UD9") =rs.fields("WBSELEMENT").Value*
    rsAppend.Fields("UD10") = rs.fields("DOC_DETAIL").Value*
    rsAppend.Fields("UD11") = rs.fields("BUSINESS_TRANSACTION").Value*
    rsAppend.Fields("UD12") = rs.fields("VENDOR_NAME").Value*
    rsAppend.Fields("UD13") =rs.fields("RECOVERYINDICATOR").Value*
    rsAppend.Fields("UD14") = rs.fields("TRANSAMOUNT").Value*
    rsAppend.Fields("UD15") = rs.fields("GROUPCURRENCY").Value*
    rsAppend.Fields("UD16") = rs.fields("SEGMENTNO").Value*
    rsAppend.Fields("UD17") = rs.fields("PARTNEROBJECT").Value*
    rsAppend.Fields("UD18") =rs.fields("PO").Value*
    rsAppend.Fields("UD19") = rs.fields("QUANTITY_UOM").Value*
    rsAppend.Fields("UD20") = rs.fields("DESCRIPTION").Value*
    rsAppend.Fields("DESC1") = rs.fields("ACCOUNT_DESCRIPTION").Value*
    rsAppend.Update*
    rs.movenext*
    Loop*
    End If*
    +'Give success message+
    RES.PlngActionType = 6*
    RES.PstrActionValue = "SQL Import successful!"*
    +'Assign Return value+
    SI_ActualLoad = True*
    End Function*

    Per my answer on Network 54 you cannot test the script interactively in FDQM workbench. You must execute the integration script as part of the normal data load process.
    Per the FDM Admin guide: "Integration scripts can be run only by selecting Script from the File Type column of the Import Group grid (top grid) of the Import Formats screen".
    As I mentioned in my Network 54 post you can test the pure vbscript portions (without the FDQM specifics) to confirm that is working properly then add it to the integration script which will only run as part of a normal file import process.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Error in FDM task manager

    Hi,
    I am trying to clear the month data using FDM batch script in HFM application.
    Manually I am able to RUN the script. but its failing when I am trying to schedule the script by using the FDM task manager.
    Please let me know is there any setting I need to do other than schedule procedure.
    Thanks,

    Is the e-mail send in an event script or a custom script. I had issues where the custom script would work, but the event script would not ( i think it may have been because the custom script runs under the FDM user id whilst the event script runs under the windows service id. (Might be wrong, but i think that was the issue) 

  • Running a Batch by checking File in OpenBatch folder instead of scheduling

    Hi All,
    We have  requirement to run a Batch file whenever it is available in OpenBatch Folder. It is not available at any particular time intervals so we can not schedule it.
    Can this be achieved by using some script in FDM? Or do we need to write some VB script to check the OpenBatch folder for file and then call the batch using Upshell?
    Any inputs are appreciated.
    Thanks in advance.

    that's how it is run on the current (and previous) client sites and the system administrator just enables / disables for the appropriate business days or in some cases they jut leave it polling
    the .net option i played about with was the FilesystemWatcher class, and although it did the job, i took the view that it was an extra bespoke bit of functionality that needed to be managed / monitored and in the end did not really provide any benefits over the task manager. At least with Task manager, it is part of the application and easy to control if there are issues and you wish to stop / start the batch process (especially when testing etc or production problems arise).
    If you do a search on the internet i am sure you will find various examples in different progam languages that may be of assistance to you.    

  • Data protection in FDM

    We're trying to set up data protection so that FDM doesn't overwrite manual input schedules but only replaces GL data. We've set up a C1 member called "Data_GL" to receive this data. The FDM manual reads as follows but offers no clues on how to set and use the settings and functionality. Any help on making this work will be gratefully received.
    Best,
    John
    From the FDM manual, Configuring Integration Settings:
    * Data Protection Switch—Enables FDM to protect data in the target system from being overwritten during data imports based on a specified protection value. Use this when data is entered into the target system through a method other than FDM. <Selected "Yes">
    * Protection Value 1—Stores the value used with the Data Protection Switch. It is the value that is not to be overwritten. Selected "Data_GL" - C1 member for storing GL data>
    * Protection Operator—Stores an operator (= or <>) to determine if items equal to the value stored in the Protection Value 1 are to be protected, or if items that do not equal the value stored in the Protection Value 1 are to be protected.
    <Selected "not equal signs" ... that is, protect everything that is not "Data_GL">

    I too have found the FDM manual does not provide detail on how to set up Data Protection functionality.
    Any tips?
    James

  • Parallel Processing - In conjuction with TWS scheduler.

    We have a .Bat file that uses upshell.exe to execute a custom script we've created.
    This custom script looks for files in the inbox and moves them to the relevant OpenBatches/OpenBatchesML folder. Once files have been moved it then runs a Parallel process up-to-load for all data. However, what we're finding is that because we're running this in parallel the .bat script is completing despite FDM still processing in the background. This is evident, as the TBATCH table shows the batch as not 100% complete. This unfortunately causes ourselves a problem as the scheduler (TWS) thinks all processing has finished and subsequent downstream processing kicks off. As I understand it this wouldn't be an issue if we'd used Serial processing and not Parallel.
    We've chosen Parallel becuase of the volumes and the limitation of our batch window. Am I correct in assuming that in principle parallel will process data faster than serial? I am currently looking at specific performance tests on my data at present to prove this.
    The real issue is that we somehow need to ensure TWS doesn't kick off downstream processes and I need to somehow have FDM create a log file for batches that complete successfully. I'm assuming it should be done within an Event script but I'm not sure which as this is quite new to me.
    Has anyone come across this issue themselves? If so, I'm looking for some guidance/examples how you've managed to get round the problem.
    Thanks in advance.

    Hi,
    Take at look at the following 2 articles. Using the concepts outlined in them you should be able to achieve what you are trying to do.
    http://odiexperts.com/interface-parallel-execution-a-new-solution
    http://odiexperts.com/processing-multiple-interface-through-single-package

  • FDM Performance Tunning with Oracle

    Hi,
    We are using Oracle 10g with FDM.We have scheduled batch jobs but it takes a long time while importing the data.
    Are there any performance tunnings we can do at Oracle end?
    Thanks.

    First you need to isolate where the performance bottleneck is occurring. If batch loads are significantly slower than interactive loads, then I'd look in the batch processes, as you've suggested yourself.
    If load performance is a problem in both batch and interactive modes, then something else you might consider is the number of records in a typical load. Have you configured the location with the optimal load type (SQL Insert or Bulk Insert) for your situation?

  • What's the trigger of the FDM Task Manager

    I need help on that one. I'm not too familiar with FDM Task Manager.
    One thing about our process. The FTP process copy the files to the \Inbox\Batches\OpenBatch. The copy process of a file is done when it's got the extension .txt instead of the .dat.
    We schedule the task manager to run every 60 seconds. So, if the process starts it will pickup a file with the .dat extension and it will load something that's not complitly transfered.
    Edited by: user10931567 on 26-May-2009 10:41 AM

    Hello,
    I assume you mean the "Default roles" tab in the Task definition.
    I haven't used it myself, but "Practical Workflow for SAP" (p. 116) says:
    "The default rule is only used if no responsible agents have been entered
    at the workflow step level or if the step's agent determination rule fails.
    It is also used if a task is executed without a parent workflow, i.e. as a
    standalone single step task."
    regards
    Rick Bakker
    Hanabi Technology

  • FDM automation directly from relational tables

    Hi Experts ,
    We are plan to use FDM 11.1.2 for data loading direct pull from oracle tables and then load it to planning(Essbase Cube) application(11.1.2). They want drill through to source as well .
    We want to automate this process like whenever the oracle table gets updated with the new data ,the FDM has to run automatically and update the Essbase cube .
    Please Suggest me the options to do it .
    Thanks in Advance !
    Keny Alex

    It all depends on how you want to schedule the batch process. If, as in my earlier example, it is ok to run the batch load process at the end of the day to capture changes then you would simply schedule your modified batch script to run once per daya at a specified time. However, if you want your batch process to be triggered on every update event against the source table, then you could do something like the following:
    1) Have a trigger on the source data table that updates seperate staging area with a value indicating whether an update has occured.
    2) Have a polling pprocess that checks this value on a regular basis
    3) Use upsShell.exe to cretae a command line that can be used to kick of the modified batch load script
    4) If an update is indicated then execute the command line generated in step 3

  • Schedule a SQL Integration Import Script

    Hey Everyone! I need some help from the FDM community.
    I am currently using FDM 11.1.2.1 and using the Hyperion Essbase adapter to load data to a Planning/Essbase application. I have successfully created a SQL integration import script that connects directly to Oracle EBS, and have manually tested the process up-to-check of the workflow. However, I would like to schedule this process on a nightly basis. I am aware of the batch processing task scheduler and have used it previously, but I am obviously not dumping flat files into the OpenBatch directory nor am I using the Custom General script usually associated with Batch Processing. So, is there a Custom General script that I can use to call on the import integration script so I can schedule such a process?
    Please let me know, and thank you for your time!
    Sincerely,
    Craig

    You can do this with the batch. You just create a blank text file with the proper naming convention for the POV you are going to kick off the integration script for and place it in Open batch. The batch will then execute the integration script for the POV when executed.

  • Create Query in FDM to filter records from ERPi/EBS

    Hi,
    I am replacing a manual data load created by a sql query which has many filters and text file lookups. The process creates a file which is loaded by FDM scheduler.
    The requirement is to automate the load, which I have done in ERPi/FDM, but I can not figure out how to filter the data using the existing query and lookups. I am only able to load the entire data set that is returned by default from EBS through ERPi.
    Does anyone know what table in ERPi or FDM I would use in the query?
    Thanks in Adavance!

    Here's the first of 5 steps to prepare the data for loading:
    STEP 1
    The following query is part 1 of the union query. This query retrieves records from VIEW: dw.rpt_gl_balances, if COMPANY and COSTCENTER fields combination does not exist in lookup table: dw.company_costctr_lookup, which is essentially CC_ROLLUP.txt, maintained by user.
    CC_ROLLUP.txt content sample:
    NGL Pipelines & Services,cc07037
    NGL Pipelines & Services,cc11131
    NGL Pipelines & Services,cc11119
    SELECT DISTINCT
    period_year AS years,
    'm' ||b.minor_id AS minor,
    CASE b.cc_id
    WHEN '00000' THEN '[None]'
    ELSE 'cc' || TRIM (b.cc_id)
    END
    AS entities,
    CASE intrco
    WHEN '00000' THEN '[ICP None]'
    ELSE 'c' || TRIM (intrco)
    END
    AS intercompany,
    'c' || TRIM (b.company_id) AS company,
    SUBSTR (period_name, 1, 3) AS months,
    TRIM (b.major_id) AS accounts,
    CASE
    WHEN account_type = 'EQUITY'
    THEN
    current_mth
    WHEN account_type = 'REVENUE'
    AND (SUBSTR (b.major_id, 1, 2) = 96)
    THEN
    current_mth
    WHEN account_type = 'REVENUE'
    THEN
    current_mth * -1
    WHEN b.major_id = '98001'
    THEN
    current_mth * -1
    WHEN SUBSTR (b.major_id, 1, 1) = 3
    OR SUBSTR (b.major_id, 1, 1) = 4
    THEN
    ytd_balance * -1
    ELSE
    ytd_balance
    END
    AS DATA,
    NULL description,
    '<Entity Currency>' VALUE,
    '[None]' custom3,
    '[None]' custom4,
    'Periodic' view1,
    'Actual' scenario
    FROM dw.rpt_gl_balances b,
    dw.cc_dim cc,
    dw.company_dim co,
    dw.company_dim ic,
    dw.minor_dim m,
    dw.major_dim a
    WHERE set_of_books_id <> 23
    AND actual_flag = 'ACTUAL'
    AND b.cc_id = cc.cc_id
    AND b.company_id = co.company_id
    AND b.intrco = ic.company_id
    AND b.minor_id = m.minor_id
    AND b.major_id = a.major_id
    AND currency_code = 'USD'
    AND period_name = 'OCT-11' --p_period_name
    AND NOT EXISTS
    (SELECT 1
    FROM dw.company_costctr_lookup c
    WHERE c.company_id = b.company_id AND c.cc_id = b.cc_id)
    AND ( (account_type IN ('EQUITY', 'REVENUE') AND current_mth <> 0)
    OR (account_type NOT IN ('EQUITY', 'REVENUE')
    AND ytd_balance <> 0))
    Thanks again!

  • FDM Send Email with a Report attachment

    Hi All,
    I'm currently trying to roll out a form of "Lights - Off " automation in for HFM version 9.3.3 , by using the FDM Task Manager to schedule loading information from my organisation's source system JDE.
    The final element of that automation from our perspective is to have an alert email from FDM to certain users once the 4 - Fish process is complete.
    This has worked successfully using 'Send Mail' from Accelerators, however what would be even more useful is to be able to either attach Process/Check Reports.
    I am only a beginner in VB but am willing to take steps if someone can point me in the right direction of either adding the report in the body of the email or as an attachment. I saw a great example of an email alert from Tony Scalese on the attached link
    http://www.fdmguru.com/enabling-lights-out-automation/
    Any help would be much appreciated.
    Cheers
    Pip

    I assume your familiar with the 'Send Mail' Accelerator script so i won't go into that part of it.
    As mentioned previously I opted to attach the source file and save reports on a shared drive. Therefore from the selected script below you can modify to your needs.
    Firstly I published a report (using the Report Publishing accelerator) to a specific location with a variable name (as shown in my example below) or you can give it a specific name so each time it's run it will overwrite the previously run report.
    Publish Report*
    Dim objReport
    Dim lngReportID
    Dim lngPublishType
    Dim strPublishPath
    'Initialize Variables
    lngReportID = 87          'Check Report +(You need to check the report properties for this number)+
    lngPublishType = 31          'PDF
    strPublishPath = "C:\Temp\Validation Report_"&API.POVMgr.PPOVLocation&"_"& API.POVMgr.PPOVCategory &"_"& API.POVMgr.PPOVPeriod &"_"& FormatDateTime(Date,1)&"_"&retv&".pdf"
    'Create the Report object
    Set objReport = CreateObject("upsWReportingDM.clsReportPublisher")
    objReport.mInitialize API
    'Publish the Report
    objReport.mReportPublishToFile CLng(lngReportID), CStr(strPublishPath), CLng(lngPublishType)
    'Destroy the objects
    Set objReport = Nothing
    To attach this to your email :
    .AddAttachment strPublishPath
    This should get you on your way, let me know if you encounter any issues. Also as a newbie I'd appreciate it if you can tag if this message was correct or helpful.
    Cheers
    Pips

  • ERPi and FDM for 11.1.2.2 - Source adapter?

    Hi, all
    Could you please help on the following questions about ERPi and FDM for 11.1.2.2
    1. In general, what is a source adapter used for?
    2. In the FDM installation package, there is an adapter (ERPI-FIN-E) for ERP integrator.
    I would like clarify if my understanding below is correct or not.
    My understanding is that this adapter allows automation on execution of ERPi data load rules in the FDM application, which means we can kick start the data load rule of ERPi by scheduled FDM jobs.
    Thanks so much for your help.

    Hi,
    1. Classic FDM source adapters are used to import data from native supported source system (EBS, SAP, ERPI) instead of files or databases. Let´s say that in some how the extract process is already packaged so you can extract from source system what the adapter does
    2. You are right, as ERPI is a transition product between Classic FDM and FDMEE (11.1.2.3), there were some FDM functionality missing in ERPI. Therefore you had to use a mix of ERPI and FDM in order to get the full functionality. You use ERPI to extract data and FDM to process it (scripting, intersection validation report, etc.)
    In 11.1.2.3, this gap is even smaller as now we have scripting, intersection validation report, and other functionality within FDMEE 11.1.2.3 (re-branded ERPI). The source adapter for Classic FDM still exists.
    In 11.1.2.4, as classic FDM will not be available anymore -> no more source adapter :-)
    Hope that helps
    akafdmee.blogspot.com
    @akafdmee

Maybe you are looking for