Essbase Trigger for SS Lock and Send

Hi,
I need to create a Trigger using EAS for any Lock and Send activity through Spreadsheet Add-In. Please guide me in developing the script, I can't figure out what to put in the Where and When condition in the Trigger window. Can't find any example on net.
Thanks,
Ash

ok, I stand corrected. You can use a on-update trigger to capture changes. Thinking about it, you would have to create a where and when clause that would always return true. Like
Where [scenario].currentmember
when [scenario].currentmember <> [scenario].currentmember + 1
I would suspect you would wnat to use the logging for this not send an email. This will spool the before and after values. I have not tried it, but I don't think it captures the information on who did it. that is why I would go the ssaudit route. In 11.1.1 you have transaction logging.

Similar Messages

  • Filter on Lock and Send access in System 9

    Hi All,
    Is there a way to do a partial lock and send in a planning application using filters or other means?
    To explain what I mean:
    I have a scenario in planning which is supposed to be open for Q1'09. For rest of the periods, the scenario doesn't allow me to update numbers in planning. Can something similar be achieved in Essbase where we can lock and send # for a particular period?
    Any insights to the above are really appreciated.
    Thanks,
    AJ.

    AJ,
    If you provision a Planner to have the Essbase Write role in Shared Services, what does the filter look like?
    I am guessing you have gone down this road and did not see write filters around Time. Is that correct?
    If the above statement was true, it would make the Write function pretty worthless -- after all, the ability to turn time periods on and off through the Scenario dimension is one of the key pieces of controlling a budget.
    For my edification (and probably some others as well), would you create a single user with that Essbase Write role (this is assuming he is a Planner, with restrictions around open time periods), refresh Planning security, pull that user's filter, and then post it in this forum? I'm very curious to see if the role is worth using. I'm still guessing that that role will do what you want.
    Regards,
    Cameron Lackpour

  • Lock and Send problem

    I have problem with Essbase Add-in not locking and sending. We can get it to lock and send once on a new app, but can't do subsiquent locks. Is there a setting issue? We have two servers, one Essbase 6.1.3a and NT4.0, the other Essbase 6.5.3 and Win2K and both have same problem. I would appreciate any help offered.

    If the data is in the ATX file, I would say your lock and send is working.I am trying to work out what "doesn't work" means ... do you get #missing when you do a retrieve or just an old value?You say this works on a new app ... i.e. is this an EMPTY app? ie. does the first entered value retrieve back into Excel?It is possible that you have an implicit share issue here ie. one parent/one child situations in the hierarchy.

  • Cannot Lock and Send data to an Essbase cube

    Hi all,
    One of our customer is executing a Macro script to lock and send data to the essbase cube from an excel sheet.
    They reported that in several cases where users will submit their data, and later discover that their changes are not in Essbase.
    The calls to EssVRetrieve (to lock the blocks) and EssVSendData are both returning successfully and there is no error message received while executing the above macros.
    I reviewed the application log file and found the following message:
    [Mon Nov 24 18:59:43 2008]Local/Applicn///Warning(1080014)
    Transaction [ 0xd801e0( 0x492b4bb0.0x45560 ) ] aborted due to status [1014031].
    I analysed the above message and found the user is trying to lock the database when already a lock has been applied to it and some operation is being performed on it. Because of that the transaction has been aborted. But customer says no concurrent operation is being performed at that time.
    Can anyone help me in this regard.
    Thanks,
    Raja

    The error message for error 1014031 is 'Essbase could not get a lock in the specified time.' The first thought I have is that perhaps some user/s have the 'Update Mode' option set in their Essbase Options and thus, when they are retrieving data, they are inadvertantly locking the data blocks. If that is the case, you will probably see this issue sporadically as the locks are automatically released when the user disconnects from Essbase.
    To make it stop, you will have to go to every user's desktop and make sure they have that Essbase Option turned off. Further, you will have to look at any worksheets they may use that may have an Essbase Option name stored on it. The range name is stored as a string and includes a setting for update mode. Here is a sample that I created for this post where I first turned 'on' update mode and then turned 'off' update mode:
    A1100000001121000000001100120_01-0000
    A1100000000121000000001100120_01-0000
    Note the 11th character in the first string is '1' which indicates that Update Mode is 'on'; in the second string, it is 'off'.
    This behavior, particularly with update mode, is the only one of the behaviors that I disliked in Excel and pushed me to design our Dodeca product. In Dodeca, the administrator controls all Essbase options and can either set individual options to the value they want or they can allow the user to choose their own options. Most of our customers do not allow the user to set update mode.
    Tim Tow
    Applied OLAP, Inc

  • Write back(Lock and Send) in Essbase(v11.1.1.3) ASO cube?

    Hi All,
    can you please let me know if I can do a 'lock and send' in ASO cube throug Excel Add-in ? I have Essabse version 11.1.1.3. If yes, please let know if need to do any special setting.
    Cheers!
    Raj

    Hi John,
    I am working on an issue where a MaxL is closing and killing connections to an application and it's database before it Stops Application inorder to flip it into a working database. Frequently, the process fails at the Stop Application and were advise that we need an ulock objects statement. Are the locks and locked objects different? I can understand why there aren't locks on an ASO and I can see locked objects on an ASO when the outline is checked out. How else can an ASO have locked objects? I am updating the Maxl to include disables on connections, updates, and commands and to unlock objects against the database.
    Now I need to test this and am wondering how to provoke a locked object on an ASO cube?
    Mike McDermott

  • Lock and send ASO

    Hi,
    We are running Essbase version 11.1.1.2 and Smartview 11.1.1.2 (Build 122).
    I have some users that would like to load some data via Excel into an ASO cube. I am aware this would be slower than using BSO.
    I have tried both HSSETVALUE and the ad-hoc with submit data and I get an error 'You do not have sufficient access to perform a lock on this database'.
    I am pretty sure this is because of the 'lock and send' nature of submit data and the fact you can't lock a block on ASO because no blocks exist.
    I have read something about the 'classic add-in' having the option of not locking before sending. What is this? I actually don't think I have it. I have Excel 2010 and everything is consolidated under one ribbon I think from memory.
    What are my options? The cube is big and an ASO for a reason, there's a large number of big dimensions. I could change the Excel sheets to load to SQL Server and run via a rules file. But I would rather load from Excel.
    Rgds
    James

    The oldest release I have is 11.1.1.3, but if I go to this ASOsamp.Sample intersection:
         1 to 13 Years
         Sale
         004118
         Original Price
         Cash
         Under 20,000
         Digital Cameras
         No Promotion
         80101
         Curr Year
    Jan     5
    In either Smart View or the Add-In and put in a different number and submit it (Smart View) or Send (add-in), it works. Of course I'm logged in as the admin.
    Does your user id have write rights?
    http://docs.oracle.com/cd/E12825_01/epm.111/epm_security/frameset.htm?apas02.html
    Regards,
    Cameron Lackpour
    Edited by: CL on Nov 20, 2012 11:21 AM
    'Cause spelling my name is beyond me.

  • Lock and Send Crashes Excel

    Hi all,
    I tried to perform the "Lock and Send" operation in Excel add in and upon performing the operation, my Excel got crashed. Essbase version is 9.3.1 and excel version is 2003.
    I uninstalled and reinstalled the Essbase client but that did not fix the issue.
    Can anyone help me on the above?
    Thanks in advance,
    Raja

    HI ,
    what do u mean by crashing. its not responding or hanging for a while?

  • Lock and Send

    Hi,
    If i am using "Lock and Send" method for data loading for a particular combination, is it possible to add up the data entered for the second time rather than over writing the data entered for the first time?
    Thanks.
    Edited by: Abhi on Nov 5, 2012 2:13 AM

    Hi Abhi,
    No...it's not possible to add up with existing data.
    "Lock and Send" can perform action to overwrite/Update the data with help of Essbase Excel add-in.
    Thanks,
    Good Friend.

  • Lock and send issues

    Hi,
    I have essbase 11.1.2.2 and I have a BSO cube. I am doing lock and send for a intersection. After lock and send when i retrieve the data i can see the data. But after running CALC ALL when I retrieve I am unable to see the data.
    I am not sending data to Level 2. Am i doing the correct way to load data since I am not updating at Zero level.
    Can you please let me any possible reasons for this issue. 
    Thanks for your help in advance.

    "...since I am not updating at Zero level."
    I'm not clear from your question whether you are, in fact, loading data at level-zero in all dimensions.  If you aren't, then your calc may be overwriting the number you have sent by simple consolidation.
    It is also possible that you are loading to a stored member that has a formula on it, and when the CALC ALL runs the formula is being executed and overwriting your loaded number.
    A third option is that a formula on another member overwrites the value on a member to which you are loading, but this is a less common situation.

  • Restrict lock and send data in Hyperion Planning

    Hi All,
    I am working on a planning application version 11.1.2.1.I have users who use excel add in to submit data.The issue is when they submit forecast it messes up the data for the previous periods actual.For ex if they have to submit forecast for Aug onward , but their spreadsheet has data from jan to dec then my jan to july data gets messed up because of the upload.In essbase application,we can restrict them by creating UDA's and filters.
    I need some suggestions for the planning application.I can modify the planning filters in essbase but again it would be very tedious job to go into each filters and modify and the worst part would be if we do refresh security next time,it will overwrite the filters.
    Please guide me through this.
    Thanks,
    vikash

    John,
    Thanks for the reply. The problem is different business units have different excel models with many tabs and those tabs are linked to each other .They have a tab for essbase upload which gets generated by the other tabs.They are using macros which selects the range and do lock and send. I cannot take away their essbase write access because they are very comfortable using excel add-in and they are not ready to change the process as well for atleast now.
    How can i restrict in smartview?
    Please let me know what is the standard process across the hyperion world for this scenario.
    Regards,
    Vikash

  • Start/End Periods - locks period on webform but can still lock and send?

    Hi,
    I've setup a forecast period in planning with the start period May FY13 and end period Dec FY13 and tested as a test user.
    In the webform - this works perfectly, only may:dec are avaliable for write access.
    If i replicated the webform exactly as a lock and send, it will let me load to jan:apr... My users aren't ready to move to smartview yet, so any advice on how to lock them out will be great.
    Many Thanks,
    Jo.

    Hi John,
    Thanks for the speedy response.
    Yes sorry, I mean the Excel Add-In.
    Is there any work around for this, or is my only option to create Essbase Filters manually? (or persuade the users to move onto Smartview, but that's not going to happen overnight).
    Thanks,
    Jo.

  • Lock and Send Issue

    Hi,
    My main motive is to do a Lock and send. My Scenario is like this:
    I have a Planning App on 9.3.1. I have created 20 groups and assigned the users to the group. I have given the Write Access to the Group on Planning side. On Shared Services side, I have provisioned the group with Essbase Server access and Planning Essbase Write Access. Now I am able to connect to this App through Excel Addin. However when i am trying to do a Lock and Send, it says You do not have sufficient permission to perform a lock on this database.
    Please advise. Any help would be highly appreciated.
    Thanks,
    Pankaj

    Hi,
    Few questions
    Have you applied all the security to the dimensions in planning and then pushed the filters to essbase.
    Have you checked the filters are correct in essbase.
    In your excel addin options check that "Update Mode" is not ticked.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • VBA to Lock and send

    Hi All
    I don't have much experience with VBA and I need a VBA script to lock and send data to essbase from my worksheet in excel. Any help would be appreciated.
    Thanks in advance
    Mik

    If you have the Excel addin installed on your machine, there should be a file called Sampvba.xls in the following folder
    C:\Program Files\Hyperion solutions\Essbase\client\sample
    If you go into the source code you'll find the following example which is a good place to start.
    Sub SendData()
    'Connect to each sheet of the book
    'Select each sheet
    'Lock and Send
    'Check hCtx, a none zero value indicates the sheet is connected. If it is zero, Connect.
    hCtx = EssVGetHctxFromSheet("[SAMPVBA.XLS]Jan")
    If hCtx = 0 Then
    X = EssVConnect("[SAMPVBA.XLS]Jan", "user", "password", "localhost", "Sample", "Basic")
    hCtx = EssVGetHctxFromSheet("[SAMPVBA.XLS]Jan")
    If hCtx = 0 Then
    MsgBox ("General Error in connecting to sheet.")
    GoTo Quit
    End If
    If X <> 0 Then
    MsgBox ("Connect Failed. Error: " + Str(X))
    End If
    End If
    'Get Global Options and set the message level. If level value is set to display message, turn it off.
    X = EssVGetGlobalOption(5)
    If X < 4 Then
    X = EssVSetGlobalOption(5, 4)
    End If
    'Select sheets, perform menu lock, send data range
    Sheets("Jan").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Jan", range("A1:Y20"))
    Sheets("Feb").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Feb", range("A1:Y20"))
    Sheets("Mar").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Mar", range("A1:Y20"))
    Sheets("Apr").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Apr", range("A1:Y20"))
    Sheets("May").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]May", range("A1:Y20"))
    Sheets("Jun").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Jun", range("A1:Y20"))
    Sheets("Jul").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Jul", range("A1:Y20"))
    Sheets("Aug").Select
    X = EssMenuVLock()
    X = EssVSendData("[SAMPVBA.XLS]Aug", range("A1:Y20"))
    'Logout all sheets
    X = EssVDisconnect("[SAMPVBA.XLS]Jan")
    X = EssVDisconnect("[SAMPVBA.XLS]Feb")
    X = EssVDisconnect("[SAMPVBA.XLS]Mar")
    X = EssVDisconnect("[SAMPVBA.XLS]Apr")
    X = EssVDisconnect("[SAMPVBA.XLS]May")
    X = EssVDisconnect("[SAMPVBA.XLS]Jun")
    X = EssVDisconnect("[SAMPVBA.XLS]Jul")
    X = EssVDisconnect("[SAMPVBA.XLS]Aug")
    MsgBox ("Sends Completed.")
    Sheets("Main").Select
    Quit:
    End Sub

  • Supporting details  vs Excel to "lock and send"

    If user update Supporting details into a Planning form cell, then use Excel to "lock and send" a different dollar amount to that same cell, who will have precedence?
    Is there a utility that will force/ synchronize Planning to roll up supporting detail's dollars into Essbase cell (thus overwriting L&S)?

    Hi,
    Supporting detail information is held in the planning relational repository, essbase holds the total number.
    If a user enters supporting details in planning and then locks and send data straight into essbase then planning supporting details will be out of sync.
    If you are using supporting details then you should try avoid this situation by entering data via planning or smartview.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Automated Lock and Send

    Anybody has VBA code available to automate Lock and Send toEssbase or knows where to find?
    Thank you

    look in the Excel Essbase Help under VBA Menu Menu equivalent macros. Read about EssMenuVLock and EssMenuVSend. That is probably the easiest way. They simulate activating the menu.
    There is a complet session on VB macros at the ODTUG Kaleidoscope convention coming up in a couple of weeks

Maybe you are looking for