Automated Lock & Send - Essbase VBA

Hello,
I'd like to know if anybody has a VBA code for uploading ("Lock" & "Send") several Tabs and templates in Essbase ?
The version of Essbase I have is ESB11.1.2.2.
Thank you in advance for your help

Hi,
You have to go with smartview option and write a VB Macro code to do "lock and send" back to the cube.Vbcode can be used to do lock & send for multiple sheets.
Refer the smartview user guide .Go to VBA Functions chapter & read the usage of vba parameters & write your vb macro code.
http://docs.oracle.com/cd/E17236_01/epm.1112/sv_user.pdf
Sample set of Essbase macro codes are available & the solutions are @ below link ,Just go through it to get an insight about the vbmacros
http://www.teachexcel.com/excel-help/excel-how-to.php?i=260920
Thanks,
Sreekumar Hariharan

Similar Messages

  • Lock/Send issues in Excel addin 11.1.2.1

    We have recently upgraded to version 11.1.2.1. Running Windows XP, Office 2003. All clients are currently experiencing this issue:
    When they do a lock/send data is sent to the cube no problem. The spreadsheet has blank columns between the data. When they go to another sheet and retrieve the data, it appears to be shifted one column to the right. I'll try and demonstrate with an example:
    Sheet A contains the following values:
    1 2 3 4 5 6 7
    Sheet B, the following values are entered, with a lock/send successfully executed:
    9 8 7 blankcolumn 6 5 4
    Go back to sheet A and do a retrieve and you get the following result:
    9 8 7 3 6 5 4
    Note the 3 is unchanged and the 6,5,4 all get shifted one column to the right.
    Repeat the above example, remove the blank columns, lock send and then retrieve on sheet A again and you get:
    9 8 7 6 5 4 7
    We did not have this problem in version 11.1.1.2. The spreadsheet has not changed since moving to the new version. Is this a new config setting that needs to be changed somewhere or is it a bug. Anybody else have this problem, or able to duplicate my example?
    Thanks,
    Mike

    The fact that everyone is experiencing the same issue suggests that someone created a template with a flaw in it and sent it out to everyone.
    For this behavior, this is the usual suspect:
    The Essbase add-in can save option settings to specific Excel spreadsheets as the named range "EssOptions". In this way, every sheet in a workbook can be set up with unique Essbase option settings.
    Here's the solution:
    1) Make the retrieve sheet the active sheet (if you don't do this, the solution will fail).
    2) Pull down Essbase > Options.
    3) On the Display tab, uncheck "Use Both Member Names and Aliases for row dimensions".
    4) Press "OK".
    Retrieve to test, if it still shifts, you have a different problem. Look for missing dimensions.
    Hope this helps,
    Tim Young

  • Can responses be automated to send to Domo or other BI Apps for deeper analysis?

    can responses be automated to send to Domo or other BI Apps for deeper analysis?

    Hi Jeremy,
    First of all as suggested already, you’ll need to reconsider if it’s architecturally sound to route a message to two
    solicit response ports? if yes, read further.
    Then solution for your problem, if you still want to go ahead with this.
    Pre-Bitalk 2010 
    Hotfix available : http://support.microsoft.com/kb/923632
    Biztalk 2010 & Later:
    1) Inside the BizTalk administration console open the BizTalk Settings Dashboard.
    2) Go
    to the tab for the hosts settings, and select the host used by the request response ports.
    3) Check
    the checkbox for property Allow Multiple Responses.
    Rachit

  • 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

  • Lock & send error

    hi when i use usually lock and send i havent recived any error till dat but today i have some issues
    *File [D:\Hyperion\......\ess0001.pag] cannot be created because it already exists [adIndNewFile] aborted..*
    can help will be appricated

    There are many issues which may conflict with :
    it would be better you post error information with error number
    basic would be try look at you combination which ur loading data through excel and make sure all of them are level Zero ..
    Non of the combination are miss placed
    if u excel has too many rows it would be better u use rule file to load data ..which will help to overcomes these issues
    since there would like network issues..to over come that try
    In Essbase.cfg:
    Add/Increase two network parameters as follows:
    netdelay 1500
    netretrycount 2000
    Dont increase more than 10 mins for above values
    this would be one scope of workaround ..similarly there are many workarounds depends on error
    Hope this helps

  • Cannot Lock & Send Please Help

    1) I perform a retrieve to valid intersections and I get #Missing in the spreadsheet
    2) I replace the #Missing with a number like 1 in the spreadsheet
    3) I submit the data back to the DB
    4) I do a retrieve and still get #MISSING
    Does anyone know why I always get #MISSING values back and connot lock and send data?
    Thanks for your help!

    Could be few reasons:
    1. Do you have access to lock and send? Essbase should give you a warning about not having sufficient access when you tried to lock.
    2. Are you sending data to correct member combination? Maybe you are entering data at a parent level or some dynamically calc'd member.
    3. Are you retrieving the same combinations that you tried to send.
    Message was edited by:
    Amit Gupta

  • How to read an Excel "~$" Lock File in VBA?

    When Excel opens a Workbook for possible updating it creates a temporary hidden file in the same folder as the document being opened:  its file-name is the same as the workbook but with the special characters "~$" in front.
    This Excel "Lock File" contains the name of the person who has the Excel Workbook document open.
    If another User attempts to open the (already open) Excel workbook they get a warning message advising opening it as read-only and nominating the current user of the file.
    An Excel "Lock File" can be copied using Windows Explorer and that copy can be subsequently opened in the NotePad application.
    The "Lock file" is automatically deleted by Excel when the workbook is closed.
    Whilst it is possible in VBA to confirm the existence of an Excel "Lock File" (indicating that the workbook you want to open is presently in use for possible updating) - but HOW CAN YOU USE VBA TO READ IT'S CONTENTS?
    All help and advise will be very gratefully accepted.
    Paul J

    Hi Paul J,
    We can't open the temp file to read when the Excel file is opened. It is locked by the Excel process. But it's possible to make a copy of the temp file, then read it in VBA code. But why do you want to read this file? It's not supposed to be opened by other
    applications actually.
    If you just want to check which user is using this Excel file, you could try this method(not tested, from net):
    Function GetFileOwner(fileName As String) As String
    Dim secUtil As Object
    Dim secDesc As Object
    Dim File_Shortname As String
    Dim fileDir As String
    File_Shortname = Dir(fileName)
    fileDir = Left(fileName, InStr(1, fileName, File_Shortname) - 1)
    Set secUtil = CreateObject("ADsSecurityUtility")
    Set secDesc = secUtil.GetSecurityDescriptor(fileDir & File_Shortname, 1, 1)
    GetFileOwner = secDesc.owner
    End Function
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Automator problem - Send text from file to email

    Hi all, I used automator on OsX 10.6 to send automatically the text within an HTML file to an email and then to a list of addresses. I installed 10.7 and now the thing doesn't work anymore.
    I did a couple of tests and it looks like the text taken from the file doesn't pass to the email body. Do you have any clue on how to do this?
    Thanks

    Hi,
    Print the whole stack trace. It will tell you the line which causes the error. How you use clob and blob in oracle is also version dependent. Try to google for
    oracle "your version" java clob example.
    /Kaj

  • Use automator to send document from pages directly in outlook

    send an email from pages directly in Outlook  Even though Outlook is selected as the default reader, Mail opens to send a document directly out of Pages.  Is it possible to set up a service in Automator to use Outlook instread of Mail? Or is there another solution?

    What version of Palm desktop do you have? Go to help - about in Palm desktop for the version number.
    Is there a media conduit in your version of Palm desktop? If so, have you tried using that conduit?
    Click on the following link to the kb.palm.com webpage for the article regarding copying Copying, deleting, sending and beaming files and applications on an SD/MMC expansion card
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=10102
    Click on the following link for the support page for your device on the kb.palm.com webpage.
    http://www.palm.com/us/support/centro/centro_att/
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.
    Post relates to: Palm i705

  • Automated message from Essbase

    Hi All,
    i got this request from one of my business users.
    H ewants to knwo whether Essbase can send an alert based on data value.
    for example if the net income is below 50Mil it has to send an alert (email) to users list.
    Is there any way to achieve this.
    Thanks in advance.
    Dornakal.
    www.dornakal.blogspot.com

    HI,
    By using Trigger, you will send the alert message to users.
    Types of Trigger:
    There are two types of triggers: on-update triggers and after-update triggers.
    On-update triggers are activated during the update process, when the block containing the data referenced by the trigger is brought into memory.
    After-update triggers are activated after the update transaction is complete.
    Note: On-update triggers are supported only on block storage databases.
    I think you get the some idea about trigger. For more information, please refer the Essbase DBAG.....

  • Migration from Essbase VBA-API 6.5.7 to 9.3.1 System

    Hi,
    Can anybody tell me what all should I change while upgrading my essbase 6.5.7 system  to 9.3.1 System without crashing down. I have excel VbA API for both essbase 6.5.7 and 9.3.1 version. please also tell me the conflicts and problems that would get effected for my system by doing this.
    Thanks and Regards
    Omanakuttan.M.K
    +919742341251
    Edited by: Oku on May 26, 2009 3:30 AM

    For applications Atul is correct, you should just be able to migrate them to the new server, but for your VBA code, you will want to make sure you update your function declarations in your code. You would want to replace your definitions with the ones in arborpath\api\include\esb32bas . If you are using toolkit functions also replace those definitions with arborbath\bin\ESSXLVBA.TXT

  • Can I lock an Essbase database for a particular period?

    Hi Everyone,
    I was thinking about the ways in which this can be done. Any simple ways to achieve this? Please do post your suggestions. Periods would be defined by Years or a combination of Years and Periods.
    Thanks,
    Sayantan

    Hi John,
    That seems to be the only way to do it! The requirement was mainly for Actual data load. I created a special user, granted it Viewer and Analytic Server write access in Planning module, Server access for Essbase and configured it as a planning as well as Essbase user. During refresh, the filter was automatically created in Essbase. A MAXL script is called before the Actual data load that modifies the definition of the filter through a substitution variable. I am using this user account for all the actual data loads.
    Thanks,
    Sayantan

  • Automating a process through VBA using web-based tool PMD

    I'm currently trying to automate a process of extracting information from PMD into an excel (or access if necessary) spreadsheet by using VBA in Microsoft Excel. So far i haven't found a way of communicating through VBA code with PMD. In our company's SAP there is a recorder that creates a code to simply copy into VBA but with PMD being a purely web-based tool there are not any options "clearly" available.
    Does anyone know of a script-recorder, or just any method, to include PMD processes within VBA? I'm stumped..

    I'm new to the community and I just realized I may have posted this in the wrong place. Still, any help would be great.

  • Iphone 3g sounds text,lock,sending mail and more

    My iphone 3g sounds keep disappearing I thought I could deal with it but I cant it's very frustrating. What do you think I should do.
    Message was edited by: jamin13

    im a bit of a loudmouth about the text sounds issue, so far i have found that resets restores etc dont work, it comes back anyways and also apps dont cause it. I wiped out all apps on my phone and still lost sounds, also people reported never installing any apps and still losing sounds.
    I think its just 2.0 being the piece of rushed crap that it is.
    but i digress GO APPLE YEEAAAAAAAAA!!!!!

  • Semi-Automated granting send on behalf rights - Exchange 2013/Exchange Shell

    Hi all,
    We have just upgraded to Exchange 2013 and currently cant set mailbox permissions via the Exchange Admin Center, we currently have to do it via Exchange Shell.
    Thats all fine but i would like to automate it so my team can run a script and get prompted to enter the target mailbox and the user's id.
    Im new to ExchangeShell/PowerShell so be gentle with your feedback, but this is what I have come up with:
    $RemoteEx2013Session = New-PSSession -ConfigurationName Microsoft.Exchange ` -ConnectionUri  ` -Authentication #-Credential (Get-credential)
    Import-PSSession $RemoteEx2013Session -AllowClobber
    $mailboxname = Read-Host "Please enter name of mailbox"
    $UserID = Read-Host "Please enter name of user"
    $output = set-mailbox $mailboxname -GrantSendOnBehalfTo $UserID
    When I run it I get "Insufficient access rights to perform the operation", I get what that means but if I manually type the command it works i.e    set-mailbox john.smith -GrantSendOnBehalfTo Jane.Smith
    Questions are: Is this possible to semi-automate this via powershell, and am i totally of track with the above commands?
    Thanks in advanced 

    Hi,
    According to the error message, it seems there is no proper permission to run this script.
    Please make sure you have proper permission, I suggest run this script as Administrator for testing if you are using an additional account now.
    Also suggest creating a test user and grant proper permissions for testing.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

Maybe you are looking for