Start CalcScript befor loading data

How can I start CalcScript befor load data?
I want clear slice in cube befor load data.
Example:
I export data with period Jan, Feb, so I must clear data in Essbase cube only fo period Jan, Feb. In the case when I export data for period Mar, I want clear data with period Mar.
I don't want use maxl because in a maxl script I must specify login and password.
Thanks a lot.
Gelo

Hi,
The best way is to duplicate the KM - "IKM SQL to Hyperion Essbase (DATA)"
Edit command "Load data into essbase" of the KM
Update
sql= """select <%=od.....
to
sql= ""
Now you can create an interface, set staging as "SUNOPSIS MEMORY ENGINE" and just drop the essbase dataload datastore on to the target, set the KM to the one you just updated.
Then use the calc script options, so you have an interface that does not need a source and can run CALC scripts.
Ok? Correct :)
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Delete the records which have the Data values are NULL before load data to BPC model

    Hi Everyone,
    I am loading the data from flat file to BPC Model (10.0 Version).
    Source data (Flat file) looks like below:
    RP_Employee RPT_Currency Data
    Test                USD                   8
    Test1              USD
    Test2              USD                    6
    My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
    So,Please let me know how can i meet to this requirement.
    I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
    Thanks in advance!!

    Hi Nilanjan,
    Please see my source data below:
    Account      Client       Employee     Time                Data
    123              XYZ            Vishu            2014.01               300
    456                                                       2014.01
    789              ABC         Alexander      2014.02               200
    If you see the second record,
    If data value is ZULL,  then the Employee or another dimension is also NULL.
    So I want to delete second records.
    If it is Start routine please share the code and steps to do.
    Thanks in advance!!
    Regards,
    Viswanath

  • How to remove all records(Truncate) In SalesForce Object before load data in to it ?

    I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

    I'm loading data from Oracle to SalesForce staging object.Here i have to remove all the records in SFDC object before load data. Please guide me ,My work struck due to this

  • JSPM fails to start: Could not load data model com.sap.sdt.jspm.model

    Hi
    We running windows server with ERP 6.0 and this was coppied from another server.
    The JSPM fails with the following error.
    Trouble Ticket Report
    Java Support Package Manager for SAP NetWeaver'04s
    SID................: $(/J2EE/StandardSystem/SAPSystemName)
    Hostname...........: $(/J2EE/SAPGlobalHost)
    Install directory..: $(/J2EE/StandardSystem/SAPSIDDirectory)
    Database...........: $(/J2EE/DBSystem/DBInfoName)
    Operating System...: $(/J2EE/StandardSystem/CentralInstance/J2EEEngineInstanceHost/OpSysType)
    JDK version........: $(/SystemProperties/JavaVersion) $(/SystemProperties/JavaVendor)
    JSPM version.......: $(/MAIN_VERSION)
    System release.....: $(/J2EE/StandardSystem/Version)
    ABAP stack present.: $(/J2EE/StandardSystem/BCSystemPresent)
    The execution ended in error.
    Could not load data model com.sap.sdt.jspm.model.JspmDataModel. See previous messages.
    Class with name com.sap.sdt.j2ee.model.NWDISystemRole not found.
    More information can be found in the log file .
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.tools.model.LoadException
    Could not load data model com.sap.sdt.jspm.model.JspmDataModel. See previous messages.
    JSPM_MAIN
    JSPMPhases
    NetWeaver Upgrade
    SAPJup
    Java Upgrade
    SAPJup.LOG
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:
    usr
    sap
    ERP
    DVEBMGS10
    j2ee
    JSPM
    log
    log_2008_11_17_12_39_25
    SAPJup.LOG]/>
    <!PATTERN[SAPJup.LOG]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    #1.5 #C0000A0A0A3D00000000000F010E329300045BE031D40CA8#1226918373625#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.build.BuilderDirector.extractElements(BuilderDirector.java:132)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.build.BuilderDirector.extractElements(BuilderDirector.java:132)#Java###Tag with name found.#2#ControlUnit#JSPM#
    #1.5 #C0000A0A0A3D000000000010010E329300045BE031D577F0#1226918373718#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.build.BuilderDirector.createUnits(BuilderDirector.java:186)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.build.BuilderDirector.createUnits(BuilderDirector.java:186)#Java###Creating control unit .#1#JSPM#
    #1.5 #C0000A0A0A3D000000000011010E329300045BE031D6E720#1226918373812#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.ctrl.ExecutionDialog.showWelcomeDialog(ExecutionDialog.java:421)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.ctrl.ExecutionDialog.showWelcomeDialog(ExecutionDialog.java:421)#Java###Could not process dialog because execution dialogs have been suppressed.#1#JspmWelcomeDialog#
    #1.5 #C0000A0A0A3D000000000012010E329300045BE031D6E720#1226918373812#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#Java###Starting execution of action with name and type .#2#Unit#JSPM#
    #1.5 #C0000A0A0A3D000000000013010E329300045BE032541218#1226918382015#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#Java###Starting execution of action with name and type .#2#Modul#JSPMPhases#
    #1.5 #C0000A0A0A3D000000000014010E329300045BE032541218#1226918382015#/System/Server/Upgrade/Jump##com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#######Thread[main,5,main]##0#0#Info#1#com.sap.sdt.ucp.pce.ctrl.ActionExecutor.execute(ActionExecutor.java:103)#Java###Starting execution of action with name and type .#2#Phase#JSPM_MAIN#
    #1.5 #C0000A0A0A3D000000000015010E329300045BE0333D02E8#1226918397281#/System/Server/Upgrade/Jump##com.sap.sdt.tools.model.AbstractDataModelElement.getClassByName(AbstractDataModelElement.java:743)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.model.AbstractDataModelElement.getClassByName(AbstractDataModelElement.java:743)#Java###Class with name com.sap.sdt.j2ee.model.NWDISystemRole not found.##
    #1.5 #C0000A0A0A3D000000000016010E329300045BE0333D3D80#1226918397296#/System/Server/Upgrade/Jump##com.sap.sdt.tools.model.DataModel.load(DataModel.java:89)#######Thread[main,5,main]##0#0#Error#1#com.sap.sdt.tools.model.DataModel.load(DataModel.java:89)#Java###Could not load data model com.sap.sdt.jspm.model.JspmDataModel. See previous messages.##

    Hi Patrick ,
    What user did you use to start JSPM? Was it <sid>adm? Also based on the error it seems there is something wrong with DataModel.xml JSPM uses. And you've mentioned it was copied from another system if I get it right.
    So as a quick workaround you could try removing:
    - Jspm.DataModel.xml
    - Jspm.J2EE.DataModel.xml
    - Jspm.JSPM.DataModel.xml
    from ../j2ee/JSPM/data/variables directory and give JSPM another try.
    Please make sure the rest of the XMLs are in place otherwise JSPM won't start.
    Regards,
    Vasil

  • How to get object key before load data into form?

    I need to get object key (e.g. ItemCode in Item Master Data From ,docEntry in A/R Invoice From) to calculate and do something  before data is loaded into this form .
    I try to use SAPbouiCOM.BusinessObjectInfo.objectKey as in this code.
    Private Sub oApp_FormDataEvent(ByRef pVal As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
           If pVal.FormTypeEx = "672" And pVal.BeforeAction = True And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD Then
                   oApp.MessageBox(pVal.ObjectKey)
           End If
    End Sub
    But this fields doesn't valid under this condition (form DI help file).
    - The property returns an empty value in the before notification of the Load action (et_FORM_DATA_LOAD) triggered by a Find operation.
    How can I get this value(key)?

    Janos
    I can't do a calculation after data is loaded because what I'm going to do is that if the opening entry match my condition , the system will not let that user see that entry (bubbleEvent = False).
    I think when formDataEvent is triggered B1 know which entry are going to load because before this event is triggered we did one of following ways
    1. choose from "choose from list windows"
    2. enter docEntry or itemCode or cardCode  and then press Find Button
    3. press "next/previous record button"
    4. press linked button (orange arrow)
    Choice 3 and 4 can be done by retrieve data from BusinessObjectInfo.objectKey (I've tested and it return entry key that is going to open correctly).
    but 1 and 2 can't (it return empty as I mention before).
    thanks
    Edited by: daron tancharoen on Aug 5, 2008 2:34 PM

  • Amount field is rounding before loading data to file

    Hi All,
    I am loading the data from table to flatfile. i've amount column, most of the values are decimals. while loading the data it is rounding the column and loading. my source table datatype is "number (20,9)" and target file datatype is "String" for the Amount column.
    if any one know the solution please reply me.
    Thanks in advance.
    Kiran

    can you make it as number and appropriately select the decimal .
    else can you check in the C$ table if the complete decimal is coming

  • Page DIstorted Before Loading Data

    Hey Guys,
    If you visit, www.glmmrs.com/points.asp
    You can see that the page stretches 100% wide across the
    screen for 1-2 seconds while it's loading the XML data and
    displaying it.
    Is there any way to make this loading sequence a
    smoother/less visually noticeable process?
    Thanks much.

    Hi kraftomatic84,
    That flash you are seeing is the template markup in the
    region. Look at this sample, it shows you a technique for hiding
    the template markup:
    http://labs.adobe.com/technologies/spry/samples/HideDataReferencesSample.html
    using a SpryHiddenRegion class name.
    --== Kin ==--

  • Clearing HFM Account Before Load

    Good afternoon all -
    I'm facing a problem that's new to me and I'm not sure where to start. I have a main FDM load for GL data. I have one subsequent load that I have set to merge into HFM instead of replace, since I don't want to clear out the data from my first load. I know in my planning application I run a batch in my FDM Custom script that runs a calc script that clears the data in that account. Alas, HFM does not have individual calc scripts - what is the best way to go about this?
    Thank you,
    Sarah

    When you need to load 2 separate data sources to the same entity using FDM you should create a separate HFM adapter by copying the first adapter but changing the Data Protection Value. You will need to use unique members in one of your custom dimensions to separate the data. For instance you can create 2 members in Custom4 called 'GL_Load' and 'Supp_Load'. Your first HFM adapter would have a Data Protection Value of 'GL_Load' and the second would be 'Supp_Load'. (the Data Protection Operator should be '<>' for both).
    You would need to have separate locations for each of these datasources with one location pointing to your original adapter and then other pointing to the new adapter.
    When the 'GL_Load' location loads data it would clear out only data in 'GL_Load' and then only load to 'GL_Load'. The 'Supp_Load' location would only clear data from the 'Supp_Load' member before loading data to it.
    Note: Do not use Data Protection Values that contain the same pattern as another Data Protection Value. For example, don't use 'GL_Load' for one and 'GL_Load2' for the other because FDM only looks for that string and not the entire value. In that example a load from the 'GL_Load' location would clear data from both the 'GL_Load' member and 'GL_Load2' member because they both contain the string 'GL_Load'.

  • Need help in loading Data file

    I am new to HFM. I am trying one example and try to load data file. But i am getting error saying period July is invalid.
    Do i have to follow certain steps before loading data file.
    Sample file
    !Column_Order = Scenario, Year, Period, View, Entity, Value, Account,ICP, Custom1, Custom2, Custom3, Custom4
    !DATA
    Actual; 2008; July; Periodic; EastSales; USD; Salaries; [ICP None]; P3000_Phones; Electronic_City; [None]; Increases;22

    Use the label associated with July instead of the description. The label for July in your application is probably JUL or JLY - I've seen both. Also, if the column order is the default order, you do not need the !Column_order line.

  • How to load data in realtime/transactional cube for BPS

    hello all,
    I have installed the neccessary cube from business content and all the neccesary content. how do I get data in that real time/transactional cube. SInce we dont have any rules or datasource or anything so its confusing me can someone please help me.
    If you have any other imp point to share about this please help.
    Thanks in advance

    Hi Raj,
    Transactional cubes are filled with data using the BPS layouts. They do not require any update rules for this purpose.
    However you can also load the data from your source system into this cube and for this you will need to usual Update rules, InfoSource etc. Before loading data you may need to check if the Cube is enabled for Reporting (in RSA1 > right click> Swtich transactional cube.
    Hope this helps...

  • I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (what does this mean?)

    I recently updated my iTunes to the most recent version and I am receiving an error message when starting up iTunes: iTunes was unable to load data class information from sync services. Reconnect or try again later. (Does anyone know what this means and if it is going to cause me issues?)

    http://support.apple.com/kb/TS2690?viewlocale=en_US&locale=en_US

  • Safari won't open, just quits before loading. I'm on Yosimite and up to date.

    Safari won't open, just quits before loading. I'm on Yosimite and up to date.

    Do a backup.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • When I attempt to sych with I tunes I get the following Error Message.  "Itunes was unable to load data class information from synch services. Reconnect or try again later."  How do I fix this?  This started happening after I updated to the latest version

    When I attmpt to synch my Iphone I get the following error message.  "Itunes was unable to load data class informationfrom synch services.  Reconnect or try again later.  This started after I uddated to the latest version of Itunes. What should I do?

    My iPods are working fine...this is just on our iPhone 3GSs....friend said his iPhone 4 was working fine with upgrade. 
    Tried: the winsock reset, uninstall/re-install of iTunes, shut the firewall down.  Even called Apple...and after 2 hours of being told that "I'm savvy and have done everything they'd recommend" still with no fix...
    Still:  Takes over 2 minutes (not hooked up to phone) to open Edit-Preferences-Device...and can't find any backups?!?!  Takes over 2 minutes to even open the phone to change spps, musice, books, etc....but won't let me do anything with contacts...wonder if this is what that error message is about (because I don't actually sync to an email program, I've just kept it all on the phone - mistake). 
    **banging head on table**

  • Depersonalising Data Before loading into DB

    Hi Guys,
    I need some help on de-Personalizing customer data before loading it into the database using SSIS.
    So one all the transformation done and finally want to load the data into respective tables , we need to de-personalize it.
    Also, how it will handle datatype of the table for each columns need to be de-personalized ?
    Later on we have to again de-cript once its tested by the testers. 
    Anky

    Hi Raj
    We have to  encrypt the data before loading the data into the table.
    As we are not encrypting the client ID that can be used to join with other tables for testing purpose but tester won’t able to see the other Client Personal Data
    like account number, address and DOB etc .
    we have to decrypt the data back once testing is done.
    Anky

  • Data Cleansing Before PSA data Load

    Hi
    In BI, one of my field was off of the data type in flat file, so got error while loading flat file to PSA, so whole file failed to load.
    Do you have some idea how to cleansing the data for data type before loading to PSA or what do we do generally?
    Thanks...

    hi,
    you can write a program to check the data type on the application server file using ABAP routine prior to loading, but even the abap routine will return error if the data types mismatches:).
    Iin any case there will be a failure so i think there might not be a solution present in this case.
    regards,
    Arvind.

Maybe you are looking for

  • US Xperia Support RMA Warranty Nightmare

    I am planning to send this in letter form to Sony Mobile but want to share it with the readers on this forum: Today marks 5 weeks since I opened an RMA with US Xperia support to facilitate the repair of my Xperia Z2. The device had a small crack on t

  • Select RTF Data and display in PDF Document

    Hi all, I have a simple table: CONTENT_ID - NUMBER CONTENT - VARCHAR2(4000) On top of this table I have a form that allows the user to enter / update data. The 'CONTENT' field is a Rich Text Editor (ApEx 4.0 - CKEditor 3). This allows the user to ent

  • Belkin AV cable w/3rd Gen Touch

    Hi, I have a late-2009 iPod Touch and am trying to connect it to a HD TV. I visited my local Apple Store on Saturday and was assured by two assistants that the Belkin Video cable would definitely be compatible with my iPod. However, I have followed t

  • Email access query from powershell

    I am trying to utilise the DoCmd.SendObject command, from powershell... I have the script launch the required database but I cannot get it to export the query information into Xl format and email it... This ran the macro that I had produced in Access

  • After update to 10.9.1. wifi dropouts

    hi, after updating to 10.9.1. experiencing frequent wifi dropouts. so far used 5GHz and experienced the dropouts  (router: linksys ea4200). currently using 2.4GHz so far without dropout. but also speed slowed down significantly. anyone experiencing s