Data copy B/W Essbase Applications using script

How to Data copy from one app to another app.
Server Name: Server1
Version: 9.3
Essbase App: App1
Data Bases: Db1, Db2,Db3
Server Name: Server1
Version: 9.3
Essbase App: App2
Data Bases: Db1, Db2,Db3
Note: App1 & App2 Applications are having similar outlines
Requirement: Copy Year 2012 Data from App1 to App2
I have come to know this is possible using Xref calc script.
Could some one please suggest the script.
Thanks in advance!

Partitioning should be the best one as Glenn said, but see if you have licenses for that, as partitioning is licensed separately from essbase.
The alternatives could be:
* Data Export / Import: for exporting you could use DATAEXPORT command within a calcscript (see technical reference for details). Then importing the data with a rule file.
* XREF: this approach could give some headaches with block creation (see https://cn.forums.oracle.com/forums/thread.jspa?threadID=1010153). In general terms, try this one if the portion of data to copy is relatively small and well delimited.
Nacho.-

Similar Messages

  • How to delete the data loaded into MySQL target table using Scripts

    Hi Experts
    I created a Job with a validation transformation. If the Validation was failed the data passed the validation will be loaded into Pass table and the data failed will be loaded into failed table.
    My requirement was if the data was loaded into Failed database table then i have to delete the data loaded into the Passed table using Script.
    But in the script i have written the code as
    sql('database','delete from <tablename>');
    but as it is an SQL Query execution it is rising exception for the query.
    How can i delete the data loaded into MySQL Target table using scripts.
    Please guide me for this error
    Thanks in Advance
    PrasannaKumar

    Hi Dirk Venken
    I got the Solution, the mistake i did was the query is not correct regarding MySQL.
    sql('MySQL', 'truncate world.customer_salesfact_details')
    error query
    sql('MySQL', 'delete table world.customer_salesfact_details')
    Thanks for your concern
    PrasannaKumar

  • Retrieve data from a non-peoplesoft application using HTTP Get

    I need to retrieve data from a non-peoplesoft application. They want us to submit a HTTP GET request to their URL with a series of parameters. I am thinking about using HTTP Targert connector to accomplish this. Does anyone have sample peoplecode?
    Currently we are on 8.51.10 Tools...
    If there is any better way .. please let me know ..

    I have used HTTP Get to get XML file from a government sanction list by hitting URL http://www.treasury.gov/ofac/downloads/sdn.xml
    There is a delivered PS program that does that for vendor sanctions. I had to get the online setup correctly by creating a new custom Node with HTTP Target Connector. The program name is BSP_IMPORT. The below code is responsible for the calling the node and retrieving the data. Play around with the code below see if you can get it to meet your needs.
    BSP_IMPORT_AET.BANKNODE.Value is just the custom external code that I created.
    PMT_FLAT_FILE_INBOUND message is just a none rowset based message to use the web service call.
    Local TR:FileUtilities:FTP &oFTPUtil = create TR:FileUtilities:FTP();
    +/* HTTP */+
    +/*******************************************************************************/+
    Local Message &msgHTTP;
    Local Message &msgResult;
    +&msgHTTP = CreateMessage(Message.PMT_FLAT_FILE_INBOUND);+
    +&oFTPUtil.PopulateFTPGetIBInfo(&msgHTTP, BSP_IMPORT_AET.BANKNODE.Value);+
    +&msgResult = %IntBroker.ConnectorRequest(&msgHTTP);+
    +/* check to see if the file is wrapped */+
    +&strAllLines = &msgResult.GenXMLString();+
    +&strAllLines = Substitute(&strAllLines, Char(26), " "); /* Added this line to remove invalid characters */+
    +/*******************************************************************************/+
    Edited by: Maher on Mar 20, 2012 3:28 PM

  • How to send data from a web dypro application using workflow

    Hi All,
    I am working on a web dynpro application where the user will enter the header and item details for a FI document to be posted. Once the user enters the data the workflow should initiate and should also send the data across to the approver to approve. To initiate the workflow I am using the function module 'SAP_WAPI_START_WORKFLOW' and it's working fine and generating a uniquw workflow item id. Now my main concern is how to send the data across from web dynpro application through the workflow. I have my data in three internal tables: 1. header table. 2. G/L table and 3. Currency table, I am capturing all this data from the web dypro screen entered by the user. Right now I have the following code in my web dypro application.
    METHOD execute_bapi_acc_document_post .
      DATA: return TYPE TABLE OF bapiret2.
      DATA: wa_return LIKE LINE OF return.
      DATA lo_bapi_acc_document_po TYPE REF TO if_wd_context_node.
      DATA lo_changing TYPE REF TO if_wd_context_node.
      DATA lo_accountgl TYPE REF TO if_wd_context_node.
      DATA lo_currencyamount TYPE REF TO if_wd_context_node.
      DATA lo_importing TYPE REF TO if_wd_context_node.
      DATA lo_documentheader TYPE REF TO if_wd_context_node.
      DATA lo_element TYPE REF TO if_wd_context_element.
      DATA lt_elements TYPE wdr_context_element_set.
      DATA ls_c_documentheader TYPE if_componentcontroller=>element_documentheader.
      DATA lt_c_accountgl TYPE if_componentcontroller=>elements_accountgl.
      DATA ls_c_accountgl LIKE LINE OF lt_c_accountgl.
      DATA lt_c_accountgl_cp TYPE if_componentcontroller=>elements_accountgl.
      DATA lt_c_currencyamount TYPE if_componentcontroller=>elements_currencyamount.
      DATA ls_c_currencyamount LIKE LINE OF lt_c_currencyamount.
      DATA lt_c_currencyamount_cp TYPE if_componentcontroller=>elements_currencyamount.
      DATA wa_c_currencyamount type bapiaccr09.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
      EXPORTING
        TASK                      = 'TSXXXXXXXXXX'            
       USER                      = sy-uname
    IMPORTING
       RETURN_CODE               = L_RETURN_CODE
       WORKITEM_ID               = LV_WIID
    TABLES
    *   INPUT_CONTAINER           = lt_input_container
       MESSAGE_LINES             = lt_message_lines
       AGENTS                    = ls_agents
      lo_bapi_acc_document_po = wd_context->get_child_node( wd_this->wdctx_bapi_acc_document_po ).
      lo_changing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_changing ).
      lo_accountgl = lo_changing->get_child_node( wd_this->wdctx_accountgl ).
      lo_currencyamount = lo_changing->get_child_node( wd_this->wdctx_currencyamount ).
      lo_importing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_importing ).
      lo_documentheader = lo_importing->get_child_node( wd_this->wdctx_documentheader ).
      lo_element = lo_documentheader->get_element( ).
      lo_element->get_static_attributes(
        IMPORTING static_attributes = ls_c_documentheader ).
      lt_elements = lo_accountgl->get_elements( ).
      LOOP AT lt_elements[] INTO lo_element.
        lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_accountgl ).
        INSERT ls_c_accountgl INTO TABLE lt_c_accountgl[].
      ENDLOOP.
      lt_c_accountgl_cp = lt_c_accountgl[].
      lt_elements = lo_currencyamount->get_elements( ).
      LOOP AT lt_elements[] INTO lo_element.
        lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_currencyamount ).
        INSERT ls_c_currencyamount INTO TABLE lt_c_currencyamount[].
      ENDLOOP.
      lt_c_currencyamount_cp = lt_c_currencyamount[].
      READ TABLE lt_c_currencyamount INTO ls_c_currencyamount INDEX 2.
      ls_c_currencyamount-amt_doccur = ls_c_currencyamount-amt_doccur * '-1.0000'.
      MODIFY lt_c_currencyamount FROM ls_c_currencyamount INDEX 2.
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          documentheader = ls_c_documentheader
        TABLES
          accountgl      = lt_c_accountgl
          currencyamount = lt_c_currencyamount
          return         = return.
    ENDMETHOD.
    Please suggest.
    Thanks,
    Rajat
    I am not sure if this falls in webdynpro or workflow threads.. so I am posting it here also
    Edited by: rajatg on Jun 23, 2010 9:28 PM

    Dear Colleague,
    You have different method to send parameters to Workflow.
    1. Method
    Container Set Element
    DEFINE SWC_SET_ELEMENT.
      CALL FUNCTION 'SWC_ELEMENT_SET'
        EXPORTING
          ELEMENT   = &2
          FIELD     = &3
        TABLES
          CONTAINER = &1
        EXCEPTIONS
          OTHERS    = 1.
    END-OF-DEFINITION.
    Set the data into Workflow container
        SWC_SET_ELEMENT IT_CONTAINER 'parameter1' lv_parameter1.
    Start the Workflow
        CALL FUNCTION 'EWW_WORKFLOW_START'
          EXPORTING
            X_TASK          = 'WS90000001'   " your wf
          IMPORTING
            Y_WORKFLOW_ID   = WF_ID " your workitem id
          TABLES
            X_CONTAINER     = IT_CONTAINER
          EXCEPTIONS
            INVALID_TASK    = 1
            NO_ACTIVE_PLVAR = 2
            START_FAILED    = 3
            GENERAL_ERROR   = 4
            OTHERS          = 5.
    2. Method,
    You can also add your parameters direly to a container,
      DATA: lt_simple_container TYPE TABLE OF swr_cont,
            ls_simple_container TYPE swr_cont.
      ls_simple_container-element = 'parameter1'.
      ls_simple_container-value = lv_parameter1.
      APPEND ls_simple_container TO lt_simple_container.
      CALL FUNCTION 'SAP_WAPI_WRITE_CONTAINER'
        EXPORTING
          workitem_id      = WF_ID " your workitem id
          do_commit        = 'X'
        TABLES
          simple_container = lt_simple_container.
    Bulent.

  • How to copy applications using script logic with conditions

    Hi,
    I have two copy data between application A to application B, but only i want to copy the March's Data of Application A. Dimensions are the same in both applications
    I'm going to use this script logic, ¿this script will work?
    *WHEN TIME
    *IS "2009.MAR"
    *DESTINATION_APP=B
    Thanks in advance
    Regards,
    Juan

    Hi all,
    Finally I solved the issue, the problem was that i haven't add this line in the script logic:
    TASK(Execute formulas,USER,%USER%)
    But now i need to pass in the script logic as an input: entity and time. Below is the code I prepare, it has no error but it doesn't work. ¿any idea?
    Thanks in advance
    Regards,
    Juan
    *SSIS PACKAGE *
    'DEBUG(ON)
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when running logic.",1,{"Yes, check for work status settings before running logic","No, do not check work status settings"},{"1","0"})
    PROMPT(SELECTINPUT,,,"Please select entity and time to copy data from LegalAppNceu to LegalApp",%ENTITY_DIM%%TIME_DIM%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%..AdminApp%APP%CopyApplication.lgx)TASKTASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    TASK(Execute formulas,CHECKLCK,%CHEKCLCK%)
    SCRIPTLOGIC
    *DESTINATION_APP=LEGALAPP
    *SKIP_DIM= COSTCENTER
    *WHEN ENTITY
    *IS "%ENTITY_DIM%"
    *WHEN TIME_DIM
    *IS "%TIME_DIM%"
    *REC(FACTOR=1)
    *ENDWHEN
    *ENDWHEN
    *COMMIT

  • Copy 2D Axis system Display using script

    Help.....Can we Copy all the selected entires of 2D axis system Dispaly using Diadem script for comparing data of two input file

    Hi junkjunk,
    I don't know of an easy way to copy curves.  Could you make a version of the TDR file that has the curves manually copied and simply assign the correct X and Y channels to each curve programmatically?  The only way I know to copy curves is to create new curves and laboriously assign all the curve properties (that you care about) of the new curves to be the same as those of the old curves, and there are easily 50 or more of those.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Packaging ADF application using scripts

    How i can package a adf application in ear using ant / maven script?

    It's common requirement in this forum to post which version of JDev you're using.
    If you're using JDev 11g, look for the ojdeploy documentation on creating ADF Libraries.
    For general EAR/WAR construction consult publicly available Ant documentation.
    Unfortunately I can't comment on Maven, though I note a number of bloggers are currently working on it's integration with JDev 11g: http://biemond.blogspot.com/2010/05/deploy-to-weblogic-with-maven.html
    CM.

  • Extracting data from sap to java application using JCO

    Hi,
    I am new to sap and wanted to know what is the procedure to extract data from  based on the java application client (user defined input from different tables of sap) input and need to manage huge data meaning reading millions of records.kindly help me how to handle this in ABAP.

    Hi,
    Pls chk these links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4
    Accessing SAP Tables from a Java application
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/47b6cd90-0201-0010-5aba-b6b7474d4aff
    Java Application ,SAP BW
    <b>***Reward Points if Useful</b>
    Regards
    Gokul

  • Save data while closing Flex mobile application using HTTPService

    On close of the Flex mobile application I need to save some information to the back-end by using HTTPService.
    On creationComplete() of the application I am adding :
    NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit);
    On close of the mob application, the following method will get call.
    private function onExit(e:Event):void
        httpServiceCall("log event data");
    The request itself is not reaching backend. I have tested this by installing Wireshark, there is no entry if I close the application in wireshark(wireshark will just catch any kind of requests from frontend to backend).
    I am introducing delay to achieve this :
    public var closeTimer:Timer;
                private function onExit(e:Event):void
                    e.stopImmediatePropagation();
                   httpServiceCall("log event data");
                    closeTimer = new Timer(3000,1);
                    closeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, closeApp);
                    closeTimer.start();
                protected function closeApp(event:Event):void{
                    NativeApplication.nativeApplication.exit();
    The above code is not working. As soon as control comes to onExit() method, application is closing.
    According to my understanding, I have to introducesome delay before closing the application to achieve this requirement. How can I introduce delay in this case?

    Try opening Task Monitor and killing any existing "adl" process before launching.
    Does this help ?

  • How to use script undeploy applications

    Is anyone familiar with OAS script? I want to undeploy some applications using script rather than EM. Any suggestion or help is appreciated.

    In 10.1.2, you can write your own shell script and use dcmctl undeployApplication command:
    http://download.oracle.com/docs/cd/B14099_19/core.1012/b13997/cmds.htm#BEIGDEFI
    In 10.1.3, you can use Ant or admin_client.jar to write your own script:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/dplyapps.htm#i1038931
    Hope this helps.
    Thanks
    Shail

  • Data getting lost in essbase

    We use a replicated partition to copy data from planning to essbase application. Partition works fine and data gets copied. We have another separate maxl script which does changes to the outline. This script exports the data from essbase, clears the database, updates the outline, reimports the exported data and does a cube build. Once this maxl completes, whatever data copied from planning is lost. But if I look at the export file, planning data exist in the export file. We know import process is working fine, because other data not loaded thru partition exist in essbase.. Only data loaded from planning gets lost..
    Can someone help me on this issue?

    Hi Mahe,
    1. You maxl does the following things
    exports data
    clears data
    updates the outline
    reimports the data
    2. After you reimport,Are you trying to retrive to confirm the data ?
    3. After you reimport the data, check the properties of database ( check whether the new blocks have been loaded , and increased the count ).
    4. Are you exporting all data , or only level 0 ?
    5. If its only level 0, You need to aggregate or consolidate ( by running calculation script).
    Hope this helps
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Data copy in Hyperion Planning taking long time

    Hi All,
    good morning.
    I am using data copy in hyperion planning (11 1 2 2) to copy from one scenario to other selecting account annotations and supporting details.
    The essbase part of copying data completed (checked sessions), but when I checked the job console in planning it still says processing for past 2 hrs.
    My java heap size for planning is 1.5GB and the backed database is SQL server
    my suspicion is that the issue was with backend sql. but I don't where to start.
    can anyone please guide me.

    I am working with version 11.1.2.1 and running into the same issue. The Supporting detail option works fine if the application has just a few details, let’s say 50 cells, but if we have around 500 cell with details then the copy process never ends, the details are not copied, and I have to restart the Planning service. As a workaround we are using a two steps process. In the first step we copy the just Essbase using the copy data functionality of Planning (with no data copy options enabled) or by using an Essbase calculation script. For the Supporting Details piece we use the Export for Edit functionality of LCM and export them to an XML file, and then we edit the XML file and change the source member name with the target member name, and finally we use the Import after Edit functionality of LCM. Of course if works only if the Planning application was deployed using EPMA.

  • Copy information from another application

    Hello Experts,
    I'm facing some issue, and I've tried a lot of approachs and still without a answer.
    There is two application, one of Sales and another of Production.
    After planned the Sales, based in the volume of sales, we project the production applying another measures.
    So, what I need is after planned Sales, copy the informations of volume, from Sales to Prodution, changing just one member, that is a master data.
    I've tried to use script logic, LOOKUP (script below), and use BADI with this [document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203?QuickLink=index&overridelayout=true]. But the point is, that with this document, we start from the app source to the app destination, and what I'm looking for is the opposite.
    Well, if somebody could help me. Thank you a lot.

    Hi, thanks for your reply.
    Ok, let me explain better. What I need is this, in the source application we have this data.
    APP:SALES
    CATEGORY=PLAN1
    ENTITY=1000
    INPUTCURRENCY=NONE
    MATERIAL=E00000778
    TIME=2012.JAN
    UNIT=KG
    P_ACCT=0002
    SIGNNEDDATA=1050,000
    And I need to copy this values to another app, but, changing the P_ACCT and adding the CostCenter, like this:
    APP:PROD
    CATEGORY=PLAN1
    ENTITY=1000
    COSTCENTER=NONE ***
    INPUTCURRENCY=NONE
    MATERIAL=E00000778
    TIME=2012.JAN
    UNIT=KG
    P_ACCT=0012 ***
    SIGNNEDDATA=1050,000
    The script is the folowing. I'd done this based in some threads that I saw.
    //Production APP
    //Take informations from SALES
    *LOOKUP SALES
    *DIM SALES1:CATEGORY="PLAN1"
    *DIM SALES1:ENTITY = "1000"
    *DIM SALES1:INPUTCURRENCY = "NONE"
    *DIM SALES1:P_ACCT = "0002"
    *DIM SALES1:UNIT = "KG"
    *DIM SALES1:MATERIAL = "E00000778"
    *ENDLOOKUP
    *WHEN LOOKUP(SALES1)
         *IS > 0
                 *BEGIN
                   *REC(P_ACCT="0012",EXPRESSION=%VALUE%)
                 *END
            *NEXT
    *NEXT
    Thanks!
    Edited by: Lucas Gabriel Corrêa da Costa on Jan 6, 2012 12:45 PM

  • Refreshed Essbase Database using MAXL

    Hello Sir ,
    I want to refreshed my essbase cube from planning application using scripts or
    Is there any way to refreshed my essbase cube from planning application .
    Please give me idea , how can i acheive this .

    You can't do a Planning refresh in MaxL. MaxL is for Essbase.
    However, there's an Planning utility called CubeRefresh.cmd. See: http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch10s06s01.html that will do what you want.
    Regards,
    Cameron Lackpour

  • GL data Import into Hyperion Essbase using Adapters in FDM

    Hi All,
    I am trying to import GL data using the below adapters, I have an Essbase application created to accept the data. I previously imported a text file into Essbase and that worked perfectly.
    Source Adapter :ES9x-G4-C
    Target Adapter :EBS-FIN-B
    FDM version :11.1.1.1.00
    1) my Integration settings in workbench are valid
    2) control tables in FDM web are valid
    3) I created an Import group and set the file Type to adapter then specified to Source adapter as EBS-FIN-B.
    What are the next steps as my application is not IMPORTING.
    Thanks
    K

    Hello,
    All software available from Oracle to download is on their eDelivery site: http://edelivery.oracle.com
    If software is not listed there that you need; then you will need to create a Non-Technical SR for media delivery.
    Also please keep in mind that there is no EBS adapter compatible with FDM 9.3.1 .... please review the compatibility matrix at the end of each FDM ReadMe.
    Thank you,

Maybe you are looking for

  • Log on - Windows XP

    I just got my X300 and put on Windows XP because the Vista took up too much space on an already small hard drive. (Also wanted to get rid of bloatware and didn't like comfirming every move I made on Vista). I then wanted to get rid of the Welcome scr

  • Abort System Error in program SAPLRRS2 and form INITFL_ASSIGN-01 error

    Hi All, When I refresh a query/workbook getting following error message and can not proceed further.. Abort System Error in program SAPLRRS2 and form INITFL_ASSIGN-01 We are using BW 3.5 and BEX reports. I'd appreciate if you could help me on this

  • Computer Icon not appearing as it should

    I was looking at forms to see if I could get 10.5 to see that I am using a Black MB not a White one. I was wondering if there is any way to change this. I have tried renaming the file and placing in a new icon. It now show that I am running an old im

  • Dead power adapter for modem hg612.

    I am trying to find out how to get a new power adapter for this modem. I have had it for 20 months and it suddenly died. I spoke to bt help in India but I couldnt get them to understand what I needed. It didnt seem to be on their pages that they go t

  • MRP and calendaring

    I am wondering if the "Lead time" on the item master/Inventory tab is always factored into the MRP forecast based on a typical 5 day work week.  What if my client has a 4 day work week?  How are holidays incorporated into the mrp calculation?