ODI automation method

I am using EPMA planning, the metadata is trsnferred using EPMA. For the Essbase data, I am using ODI for the data transferring. And I expect I can schedule the ODI jobs to transfer data automatically later. The issue is: for EMPA planning project, the ODI just responsible for the data transferring, but the metadata is not transferred by ODI. Now, I create a ODI scenario job based on current essbase metadata structure, and later, if there are more essbase members added, I have to change the ODI job. If every day, there is new metadata members come in, I have to change the ODI job every day, this is not efficient and expected.
Please advise a solution that I can create an ODI job and schedule it to run properly even if the essbase has new members come in.

er2 wrote:
What about errors on the EPMA batch run?
How does ODI handle the error return codes? Is it a very involved development effort?
JzHave a read of http://john-goodwin.blogspot.co.uk/2011/12/loading-to-epma-planning-applications.html
It should be all there what you need.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • ODI substitution method in procedure

    Hi Gurus,
    I want to create an ODI procedure which will execute the code like
    delete from target_table where target_table.column in ( select some_other_table.column from some_other_table where some_condition )
    I want to use ODI substitution method for replacing target_table ,target_table.column ,some_other_table.column .
    Tried with getTable() Method , but it seems (to me) that it works only on KM and not on procedure .
    the following code returns error /exception "invalid table name specified "
    delete from <%=odiRef.getTargetTable("RES_NAME")%>
    By the way my source/target technology is Oracle.
    Where am I going wrong ?
    --Pujan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    can any one help me in this ?
    Observer the following
    In ODI package OdiOutFile , if I specify this command
    SELECT COUNT(1) FROM <%=odiRef.getObjectName("L","EMP","LOG_SRC","D")%>
    In the out file I get the correct command as SELECT COUNT(1) FROM SCOTT.EMP
    But if I specify the same command in a procedure then it is ruturning the following
    Description Tab : select count(1) from < % = odiRef.getObjectName("L","EMP","LOG_SRC","D") % >
    Execution Tab: 903 : 42000 : java.sql.SQLException: ORA-00903: invalid table name
    java.sql.SQLException: ORA-00903: invalid table name
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    --Pujan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Automated method to drop a MAC from wireless controller

    Is there a way to write a script to automatically terminate a MAC address on a wireless controller (running software version 7.0.235.0) from being able to use wireless?  We are trying to utilize an internal system that would trigger a script to terminate a problamatic client from using the wireless in an automated way.  The conceptial thinking would be to use somekind of CLI command in the wireless controller to accomplish this.  Any help or suggestions are appreciated.

    Thank you Saravanan.
    Some Backround:
    The client issues are not really something that wIDS would catch.  The issues are internal company policy related and we are using a type of IDS method to trigger a script to basically shun the client from getting onto the network.  Now, there is a desire to include all wireless users regardless of authentication type.  However, the desire is for the scripts to automatically be implemented by logging into the WLC via CLI session to insert the command.  This script can happen at any time of the day or night.

  • Automated method for downsizing PDF files?

    i have run into the limit of a 1 TB disk and need to return to an old problem where I have a lot of scanned documents that i printed to PDF using Preview and which are now taking up a ton of space. Some of the are 100 GB for roughly 10 or 20 page documents.
    can anyone help me with a workflow that would enable me to select all PDF over - say - 5 GB in size and to downsample them?
    i have a set of filters that will do this by selecting one by one and i do have Adobe Acrobat Pro (i now have it) - and my recollection was that there was a set of AUTOMATOR scripts that let me drag PDF files over a folder to downsample them? does anyone remember what this was and or have advice? i'm an Automator newbie so the first one of two runs at this were not easiest enough for me to implement at the time I first started researching it...
    TIA

    hotwheels 22 wrote:
    can anyone help me with a workflow that would enable me to select all PDF over - say - 5 GB in size and to downsample them?
    If you have Acrobat Pro, you should use it. You don't need Automator.
    There are several options. Fastest is Document > Reduce File Size, which works on batches of files.
    Finer control can be achieved with Advanced > PDF Optimizer. Experiment with different settings on a typical file; when you've got what you want, build a batch sequence in Advanced > Document Processing > Batch Processing, then run it on the select files. (Details in "Processing in Batches" in Acrobat's Help.)
    To find the files you want to work on, use, of course, Spotlight, with suitable Kind and Size search criteria.
    (There are various options to reduce PDF file sizes, including something like PDF Shrink, or Automator actions involving Quartz filters, which can be customised with the ColorSync Utility. But none are as good as Acrobat Pro, so, if you spent the big bucks buying it, you might as well get your money's worth.)

  • Help with PDF automation?

    Hello there. I would like to know how you can automate a bunch of word documents, web achieve and other written documents into PDF with automator or another application if not that with program?
    I can convert them into PDF individualy but I do have quite a few and wondering if theres a better way of doing it.
    Thx.
    Dorian

    Dorian,
    Please see my post in your other inquiry for examples of developed software.
    There may also be ways of using AppleScript combined with Automator to try and manipulate the user interface with applications that you already have on your computer. For example the print dialog in Word with its PDF button can be automated.
    http://discussions.apple.com/message.jspa?messageID=3844201#3844201
    These automation methods can be slower and due to their nature more prone to having problems than the developed software. However, they can be tailor made for your particular case.

  • Is there an automated way to replace a query with another in a workbook?

    Hi all,
    I have a bunch of Queries which I'm planning to phase out, and I have replacement Queries for them. The Queries to be phased out are used in Workbooks. Is there an automated way to replace these obsolete Queries with new Queries in these workbooks? Maybe a BAPI, function module, VB Macro, Tcode (so that a BDC program can be written) or some other way?
    Thanks in advance
    Sankar Tadinada

    KairiTech wrote:I'm thinking of trying out Kernel Seeds.
    Kernel seeds are an excellent way to learn how to build a targeted kernel for your hardware, and I use and recommend them. They are not an automated method, which is what I understand the OP is looking for.
    (edit) yes, the information on the page is a little dated, but the methods still work. Kernel seeds are not really about faster and easier -- it's about understanding what you really need and how the process works (again, not really what the OP was asking for, but a different approach to kernel building).
    Last edited by 2ManyDogs (2013-11-25 21:51:19)

  • Best method for keeping clients updated

    I have five seats for Creative Cloud, therefore five workstations that need updates installed on a regular basis.
    In common with most corporates (I imagine) we don't allow end-users to have Admin access, so IT have to do this for them.
    It can take quite some time - up to a couple of hours per workstation if it's been neglected for a month or two.
    IT don't have the time for this, and the end-users can't spare their machines for it.
    I can't believe there isn't some automated method that does not require the user to have Admin rights.
    What's the right way to be doing this?
    Thanks in advance.

    Update - I discovered the Packager and the Remote Update Manager.
    Job done.

  • Call OpenOffice through OLE Automation

    Hello everybody,
    I am trying to open an OpenOffice Calc window (similar to Excel)
    from ABAP through OLE automation. My problem with this: it
    is necessary to call an automation method of OpenOffice that
    has a SAFEARRAY (OLE data type) as one of its parameters.
    How do I create a data type that maps to SAFEARRAY in ABAP?
    I have found no example for this.
    My program looks like this, the missing line is the one that
    starts with #4:
    REPORT ZCALC2 NO STANDARD PAGE HEADING.
    INCLUDE OLE2INCL.
    DATA: SERVICE_MANAGER TYPE OLE2_OBJECT,
    DESKTOP TYPE OLE2_OBJECT,
    DOCUMENT TYPE OLE2_OBJECT.
    CREATE OBJECT SERVICE_MANAGER 'com.sun.star.ServiceManager'.
    CALL METHOD OF SERVICE_MANAGER 'createInstance' = DESKTOP
    EXPORTING #1 = 'com.sun.star.frame.Desktop'.
    CALL METHOD OF DESKTOP 'loadComponentFromURL' = DOCUMENT
    EXPORTING #1 = 'private:factory/scalc'
              #2 = '_blank'
              #3 = 0
              #4 = ''.
    FREE OBJECT SERVICE_MANAGER.
    When I run the program, the CALL METHOD returns SY-SUBRC code 2 and I see the following in the trace file:
    <1950=(Error): CALL METHOD "loadComponentFromURL" OF [#13/0x00229C9C/402]
                        #0: STRING "private:factory/scalc"
                        #1: STRING "_blank"
                        #2: LONG "0"
                        #3: STRING ""
    IDispatch::Invoke raised exceptionTypkonflikt.
    <1950=(Error):                                                 Exception fire by :[automation bridge]
    <1950=(Error):                                                 Exception info:conversion not possible!
    <1950=(Error):                                                 Exception code:1001
    <1950=(Error):                  Error occured at Verb  : loadComponentFromURL
    <1950=(Error):                                   Object: 13
    <1950=(Error): SAPAWRFC leaving RfcFlushOle with RfcRaise(CALL_METHOD_FAILED)
    See the <a href="http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html">loadComponentFromURL</a> documentation for information on the parameters. Unfortunately it is in UNO IDL, which is specific to OpenOffice. However, a <a href="http://udk.openoffice.org/common/man/spec/ole_bridge.html">mapping</a> to OLE types is available.
    There are many examples how to do this in other programming languages, for example <a href="http://www.oooforum.org/forum/viewtopic.phtml?t=9815">here</a>, but I could not find it in ABAP.
    Thanks for your help,
    Frederic.

    Here is another interesting thing: it's possible to let OpenOffice open a multi selection file dialog from ABAP. It works like this:
    CALL METHOD OF SERVICE_MANAGER 'createInstance' = DIALOG
    EXPORTING #1 = 'com.sun.star.ui.dialogs.FilePicker'.
    CALL METHOD OF DIALOG 'setTitle'
    EXPORTING #1 = 'Hello from ABAP'.
    CALL METHOD OF DIALOG 'setDisplayDirectory'
    EXPORTING #1 = 'file:///C:'.
    CALL METHOD OF DIALOG 'setMultiSelectionMode'
    EXPORTING #1 = 1.
    CALL METHOD OF DIALOG 'Execute'.
    CALL METHOD OF DIALOG 'getFiles' = FILE_ARRAY.
    According to the documentation, last line returns an empty array if no file has been selected. My hope was that I could use this as the 4th parameter of loadComponentFromURL, but I still get "conversion not possible".
    I also wonder what should be the type of FILE_ARRAY - I expected OLE2_OBJECT, but if I try that, I can see in the debugger that the object is not properly initialized (HEADER and TYPE are not 'OBJH' and 'OLE2').

  • Serial number needed to try flex automation

    I'm running the Flex Automation Installer to install the
    plugins needed to evaluate use of QuickTest Professional for
    automated Flex 2 testing. The Installer requires entry of a Flex
    Data Services serial number. (The applications I want to test do
    not use Flex Data Services, so this seems an odd requirement for
    evaluation of the test tool.) How can I get the needed serial
    number? If this requires discussion with someone at Adobe who
    oversees my organization's Flex licenses, how would I determine who
    that is and how to contact him or her? Is it necessary to purchase
    a Flex Data Services license to evaluate QTP automated testing of
    Flex 2 apps?

    I have the QTP configured with Flex and I am able to record
    most events. Attempting to record a mouse rollover results in the
    following error : “Error: Unable to find automation method
    'flash.events.MouseEvent' for class 'name: FlexImage
    superClassName: FlexLoader”. My app is a simple image which
    applies two states to display the image. It utilizes the
    Automation.automationManager.recordAutomatableEvent method for the
    target event, within the “rollover” event handler.
    Also, I override the “replayAutomatableEvent(Event)”
    method calling the
    Automation.automationObjectHelper.replayMouseEvent() for the
    MouseEvent.ROLL_OVER event. The error propagates from the MouseMove
    event as reported in the stack trace –Click and ChangeFocus
    also are reported. I’ve added the rollover event to the
    “TEAFlex.xml” file. Its my understanding that any event
    outside of those defined in the “QTP Object Type”
    document for each control can be configured in the
    “TEAFlex.xml” file, for any control descending from
    UIComponent. I received a similar error after extending the
    ProductCatalogThumbnail ( Canvas ) class contained in the flex
    store code, though this error propogates from Scroll. Can you
    determine why ( in the first case ), the rollover is failing?
    Stack trace:
    Error: Unable to find automation method
    'flash.events.MouseEvent' for class 'name: FlexImage
    superClassName: FlexLoader
    event2descriptor: (Object)#0
    flash.events.FocusEvent|keyFocusChange =
    (mx.automation.qtp::QTPEventDescriptor)#1
    eventClassName = "flash.events.FocusEvent"
    eventType = "keyFocusChange"
    name = "ChangeFocus"
    flash.events.MouseEvent|click =
    (mx.automation.qtp::QTPEventDescriptor)#2
    eventClassName = "flash.events.MouseEvent"
    eventType = "click"
    name = "Click"
    flash.events.MouseEvent|mouseMove =
    (mx.automation.qtp::QTPEventDescriptor)#3
    eventClassName = "flash.events.MouseEvent"
    eventType = "mouseMove"
    name = "MouseMove"'.
    at mx.automation::AutomationManager/recordAutomatableEvent()
    at ViewStates_wt3/dispatchLowLevelEvent()
    at ViewStates_wt3/__soup_rollOver()
    at [mouseEvent]
    Text

  • Automating Folder Creation

    Here's what I want to do. I'm trying to automate client folder creation. I have a directory called clients. Every time I create a new folder in the clients folder, I'd like for it to automatically ask me what I'd like to name the folder, then I would like it to create 6 directories inside the created folder titled "legal" "spec files" "correspondence" "modules""graphic design" and "archived materials".
    How would I go about that with automator?

    A couple of options. The first uses automator and a shell script, but you would run the workflow which asks for a folder name instead of you creating it first, as you requested. The second uses Folder Actions so that when you create a new folder in your clients folder it will ask for a name and create the folders.
    Automator Method:
    1) From Files and Folders, drag over a "New Folder" action.
    2) Enter a default name for the folder in the Name: field (or leave blank)
    3) Select your Clients folder in the Where: field
    4) Click the "Options" button and tell it to "show this action when the workflow runs"
    5) From the Utilities, drag over a "Do shell script" action
    6) Select the /bin/bash shell
    7) in the Pass input field select "As arguments"
    8) Enter this code mkdir -p $1/legal/ $1/spec files/ $1/correspondence/ $1/modules/ $1/graphic design/ $1/archived materials/
    Save this workflow and run it when you want to create the new folder. If you have quick keys, launch bar, Quicksilver, or the like, you could set up a shortcut...or, you can use cmd-space to call up spotlight and search for you workflow name and launch it from spotlight.
    For the Applescript option:
    I had some glitches with it in that it seemed to re-run the script after I changed the name. I couldn't figure out if the name change drove the script to run again. Also, after creating the new folder, you have to wait a few seconds for it to trigger. Kind of annoying, I thought.
    First, copy this script to a new Script Editor script (Applescript folder).
    property dialog_timeout : 30 -- set the amount of time before dialogs auto-answer.
    on adding folder items to this_folder after receiving added_items
    try
    tell application "Finder"
    set theFolder to item 1 of added_items
    set response to display dialog "Please enter a folder name:" default answer "New Client"
    if button returned of response is not "Cancel" then
    set the name of folder theFolder to (text returned of response)
    make new folder at folder theFolder with properties {name:"legal"}
    make new folder at folder theFolder with properties {name:"spec files"}
    make new folder at folder theFolder with properties {name:"correspondence"}
    make new folder at folder theFolder with properties {name:"modules"}
    make new folder at folder theFolder with properties {name:"graphic design"}
    make new folder at folder theFolder with properties {name:"archived materials"}
    end if
    end tell
    on error theErr
    display dialog theErr
    end try
    end adding folder items to
    Save it as a script in your user/Library/Scripts/Folder Action Scripts/ folder. Run the Folder Actions Setup script in the Applescript folder and attach this script to your "Clients" folder:
    1) Click on the Enable Actions checkbox
    2) Click the "+" button in the left pane and find your clients folder
    3) Click the "+" button in the right pane and find your script you just saved.

  • Acroform OLE Automation

    Hi All,
    Can any one help me how to start automation on Acrobat forms i.e
    Acroform OLE Automation methods using IAC?
    Thanks in advance,

    Hi,
    Thanks for the resopnse.
    Yes we have Acrobat SDK.
    First time I was using forms using IAC. Now i got it.
    Thanks,
    Shivani

  • Need help with an automator workflow to convert AAC files to MP3

    Hi
    I am trying to work out a way to automatically convert voice memos which I dictate on my iPhone to MP3 files when they are added to my iTunes library during a sync. Then I need the converted files to be in a specific folder so that they will trigger an auto-transcription program that I have running.
    From my limited knowledge of automating processes on my Mac it would seem that I need to design a workflow or a folder action in Automator. Probably a folder action would be best, as I could attach it to the 'Voice Memos' folder in my iTunes Music Folder. The converted MP3 files would be saved in the same folder and would then be recognised by the transcription program. I have tried to design a workflow/folder action using Doug's iTunes automator actions as follows, but it is not working as I would like. The workflow is as follows:
    Folder Action/Get Folder Contents/Choose encoder (MP3)/Convert Tracks/Choose encoder (apple lossless)/Restore Encoder.
    The folder action is triggered when I add AAC files to the folder I have attached the action to, but then I get an error message stating that 'no tracks have been sent to this action'.
    i would be grateful for any help to get this working using the automator method or another method
    thanks
    nick

    Start with http://discussions.apple.com/thread.jspa?threadID=2039384 and Introduction to Automator tutorial at http://automator.us/leopard/video/index.html

  • Automatic method to reset service log on credentials?

    I have SharePoint Server 2013 farm that uses a number of service accounts whose passwords had expired. An administrator did some troubleshooting and configured the Windows services to use Local System instead of the named service accounts. The farm no
    longer works.
    I suspect I'll have to manually change each service to use the correct account. Before I do this, I'm wondering if anyone knows of an automated method to reset/re-specify the accounts?
    Thank you,
    Jason
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

    Nothing automated. Use stsadm to revert the farm admin account, then you can use Central Admin to manually set other services to the proper accounts.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • COM Automation: getProperty problems

    Hi,
    I know that the topic of this post don't belongs to this subcategory, but really I cannot find where to put it.
    I'm implementing a solucion using Oracle COM Automation to use a DLL through its COM interface from PL/SQL. The connection is done ok, and I can instantiate the object, get properties, set properties, invoke methods, etc.
    The problem is that when I use getProperty to get a Property that's empty (null), it returns the last value for which getProperty obtained a valid value:
    COM Object
    - Property A. Value: 'dog'
    - Property B. Value: 'cat'
    - Property C. Value: '' (empty)
    Pseudocode:
    1- CreateObject using COM interface --> OK
    2- getProperty('A') --> dog
    3- getProperty('B') --> cat
    4- getProperty('C') --> cat
    So, as you can see, getProperty('C') returns the last value obtained in a getProperty that returned a value (getProperty('B)). Any of you has any clue on what could be wrong with the Oracle COM Automation method to access a COM interface?
    Thanks a lot in advance,
    Luis Miguel

    Sorry, I meant to say 12g is where it wont be included.
    The migration path is .NET stored procedures. You should also be able to call a COM object via via COM Interop, but you'd be breaking new ground there in a sense as I'm not sure that that is something Oracle has tested, and I haven't heard from other customers that are doing that, so if there are issues there you maybe the one to uncover them.
    Greg

  • Library/Project Backup methods?

    Hi there,
    I have been using aperture from it's 1.0 incarnation and have always done my backups in the very tedious "export project" method. The reason for doing this is because of the lack of apple being able to keep a running backup of all projects in a vault. IE: if you delete a project in your library, it gets deleted in your vault.
    I am at that point again that I am tired of the "export project" mode, as I am shooting more and more clients, and this is a very tedious, time consuming way of backing up.
    Anyone know of an automated method of keeping a running/current back up of all projects for Aperture?
    I have projects totaling near a TB of photos and keeping a library with ALL these projects is literally impossible.
    Thanks.
    Pax

    Try asking in the iTunes forum.

Maybe you are looking for