SmartView VBA with HypExecuteCalcScriptEx

We have a function vba (click the button) that connects to the planning and uses application.sendkey (Alt + 1 + Y + D + C + B) to call the dialog box business rules with guests. But the application shortcut key doesn't always work. Therefore, we want to use the HypExecuteCalcScriptEx instead. Could someone tell how it works as it it comes to table settings.

Take a look at the link https://docs.oracle.com/cd/E38438_01/epm.111223/sv_developer/ch10s05.html

There explanation of each argument and it also has an example

HTH

Amarnath

ORACLE | Essbase

Tags: Business Intelligence

Similar Questions

  • Functions of SmartView VBA (connection to the APS and automate ad hoc retrieves)

    I tried a number of functions, all proved that it works?

    I can't successfully connect to the APS and launch ad hoc recovery on a new worksheet with a definite POV/content.

    Thoughts?

    I tried 100 permutations of the following:

    m = HypCreateConnection (void _
    "admin" _
    "password" _
    HYP_ESSBASE _
    "http://localhost: # / smartview/SmartView", _
    'localhost' _
    "App" _
    "BD1" _
    "TestConnect" _
    "Analytic Provider Services")

    I tried HYP_ANALYTIC_SERVICES instead of HYP_ESSBASE (or its value appropriate - I think that it is wrong), I tried many permutations and APS/SmartView also)

    If someone got it works? Just thought I would throw this out there.

    -Matt

    Published by: MattRollings on July 27, 2010 14:11

    Matt,

    I could operate in 11.1.1.3. I kept getting an error 4. As a last resort, I did some research. It seems that Mr. Goodwin has preveiously slayed the dragon.

    SmartView VBA - HypCreateConnection and HypConnect controls

    This code worked for me.
    Dave

  • SmartView - HypExecuteQuery with suppress ranks "No. Data / missing"

    Hello

    I'm running an MDX query by running the command "HypExecuteQuery" and I put the options remove lines "No Data / Missing". "."

    But each time the query is working properly but without deleting the missing data.

    Does anyone know of it suppress lack of lines is compatible with the hypExecuteQuery or "execute MDX"?

    SmartView 11.1.2.5.210

    Office 2010

    Thanks in advance for your answer

    Best regards

    Benjamin

    Hello

    The solution is the following:

    SELECT

    NOT EMPTY {[NOM_MEMBRE]} ON THE RANKS.

    NOT EMPTY {[NOM_MEMBRE]} ON COLUMNS

    OF .

  • SmartView VBA - can't set "Width of the column updated"

    Hi people,

    I am updating a series of workbooks based on the API VBA Essbase v9 on SmartView 11.1.2.1 and touched a problem - I am new to VBA SV commands, and I hope that it is something obvious that I'm missing.

    One of the functions which is essential to ensure recovery of data does not affect the layout of spreadsheets is the parameter 'Adjust the column widths', which, in the VBA Essbase API, could be managed by using the EssVSetSheetOption function, but neither HypSetGlobalOption nor HypSetSheetOption appear to have such a capability. The only option I have is to run get followed by some reformatting of the column widths, which seems rather ineligant for me.

    Any ideas?

    Thank you very much

    Dave

    research in the .bas file (and what needs to be included in your project that I find HSV_ADJUSTCOLUMNWIDTH in the definitions of the index count options to use for HypGetOption/HypSetOption

    Note, I'm looking at the 11.1.2.2 version, your mileage may vary depending on your version

  • Create PDF from VBA with the same resolution from the Ribbon

    I use Word 2010 and Acrobat X Standard. I wrote a VBA application which creates a Word 2010 document and saves it in PDF format.

    I have a problem with export to PDF from Word 2010.

    In Word 2010, I've specified to the file, Options, advanced, do not compress the images and my pictures are saved in the Word document with high resolution.

    On the Acrobat Ribbon tag, I created my own preferences with any compression and downsample off.

    When I create a PDF file from the Ribbon, the resulting resolution of the PDF document is beautiful.

    I used the feature to record a Macro of Word to capture the action:

    ActiveDocument.ExportAsFixedFormat _

    OutputFileName: = "C:\Gary\Book Publishing\Projects\Problem with Images\Sample.pdf", _

    ExportFormat: = wdExportFormatPDF _

    OpenAfterExport: = False _

    OptimizeFor: = wdExportOptimizeForPrint _

    Range: = wdExportAllDocument _

    From: = 1, _

    À : = 1, _

    Agenda: = wdExportDocumentContent, _

    IncludeDocProps: = False _

    KeepIRM: = False _

    CreateBookmarks: = wdExportCreateHeadingBookmarks _

    DocStructureTags: = True _

    BitmapMissingFonts: = False _

    UseISO19005_1: = False

    When I put this code in my code VBA for Word, the images in the PDF output are at a much lower resolution. It feels like the Preferences are not honored.  Any ideas?

    I agree, you do a very reasonable assumption; What happened ago just weird... I don't know if the Adobe is doing, or Word...  In any case, here is the documentation for the method uses the macro, because Adobe do not offer an alternative. http://msdn.Microsoft.com/en-us/library/Microsoft.Office.Interop.Word._Document.exportasfi xedformat.aspx

  • Control in VBA with Adobe Reader PDF reader

    Can I use control "Adobe PDF Reader" on a VBA UserForm on a machine with only Adobe Reader (v9) installed?

    I would like to create a shape similar to the one described on page 25 in http://wwwimages.Adobe.com/www.Adobe.com/content/dam/Adobe/en/DevNet/reader/PDFs/reader_ov rview.pdf

    Whenever I drag the control of "Adobe PDF Reader" in my form, I instantly get an "Unknown error" message from VBA.

    When I try to run

    Void pdf()
    Dim an as new AcroPDFLib.AcroPDF
    a.SRC = "test.pdf".
    End Sub

    I get an "error Automation, unspecified error" on the line a.src = "test.pdf".

    Any guidance is appreciated.

    Use: something like:

    Set oReader = createObject ("AcroPDF.PDF.1")
    MsgBox (oReader.getVersions)

    contact/work with the drive object.

    HTH, Reinhard.

  • SmartView working with Essbase: preserve formulas

    Hi everyone, everyone has to keep the formulas in the worksheet even a connected to Essbase using Smart View?

    The documentation says that "the option"Preserve the formula to change POV"is only the data forms in Hyperion Enterprise, planning and financial management".

    I put the options to "Preserve the formula on POV changes", but I am having two main problems:

    -The formulas in the worksheet as well as the recovered data and its data disappear during the updating of the cube
    -The formulas that reference the retrieved data, which are located in other spreadsheets get the cell reference converted to #REF during the updating of the cube.

    I assumed that the two problems are because this incompatibility between Smart View and Essbase (it should work with planning and HFM)

    Thanks in advance

    The desired functionality works as expected in the typical add-in (which explains why many, many customers still use this add-in).

    Tim Tow
    Oracle ACE Director
    Applied OLAP, Inc.

  • Error VBA Hypretreive SmartView

    Hi all

    I am uisng 11.1.2 SmartView VBAs to retrieve values for 7 excel sheets in a workbook

    Sheet6.activate
    m = HypSetActiveConnection (connectionname)
    'Retrieve data for each sheet.
    X = ActiveSheet.Name
    Application.DisplayStatusBar = True
    STS4 = HypRetrieve (Sheet6)
    m = HypDisconnect (Feuil6, True)
    Application.StatusBar = "data recovery for" & X & "..." »
    Application.Wait Now + TimeValue("00:00:02")

    Here is given is the piece of code (macro, I am reproducing the same code for all 7 sheets)

    But every time that I run the macro... some of the leaves is not cooling properly. (this is random... sometimes first 3 gets refreshed... sometimes 4,5, 7)...

    The return status is always 4.

    Can anyone throw some light on this... what I have to wait longer before the next update.

    I tried to use HypMenuVRefresh and then it will fail with the following error message.

    "Can not interview members of the plug. Essbase Error (1290002): network error [10061]: unable to connect to [server: 32776]. The client has timed out waiting to connect to the server Essbase using the TCP/IP protocol. Make sure that the client computer has a sufficient number of available ports. »

    I tried to add MaxUserPort and TcpTimedWaitDelay and MaxFreeTcbs, but which did not help.

    I can be linked to an issue of timeout IE. http://support.Microsoft.com/kb/813827 try to increase the expiration time and see if that helps. Also, try a connection that is explicit in the code instead of simply set the active connection and see if that helps.

  • Review - VBA recovery status

    Is there a way using the Smartview VBA API to retrieve the current level of review for a particular Phase?

    We use Smartview to give a financial overview of the results of the entity and also wants to show the current level of process for the first 5 phases.

    Thanks in advance.

    As long as you have the Phase the account dimension, you can get an account with each phase on him and he should withdraw level State exam

    JOINT TASK FORCE

  • PrintPagesSilent using to print the PDF with double-sided printing and color

    The use of VBA with Acrobat 9.0 code library.

    I have an application that prints the PDF files that are stored on a network drive.

    I can print PDF files using PrintPagesSilent, which prints the file to the default Windows printer.

    However, I want to be able to specify in the VBA code if I want the file in duplex or printed in color.

    I can do this in access using the Printer.Duplex = '2' or Printer.Color = '2', but they do not change the windows default printer settings and therefore do not change how PrintPagesSilent prints.

    Can someone shed some light on how I can set these parameters to accomplish what I need.

    Or maybe another solution I didn't think.

    Figured out, or at least a work around.

    Found a VB code that can change Windows printer settings.

    All I had to do was create a module and then call SetPrinterDuplex before you print the pdf file, and then again to change it after.

    Here is a reference for anyone interested.

    http://support.Microsoft.com/kb/230743

  • SmartView: XML load error: an invalid character was found in text content.

    Hello

    IM using hyperion 11.1.2.1 with SmartView installed with Office 2007. Many forms are works good about it, but we've entered data on a number of them recently and we are unable to open in SmartView either through the icon and menu options in the workspace or via the smartview Panel in excel 2007. The error we get is "XML load error: an invalid character was found in text content.".

    See you soon,.

    Imran

    Take a look at the Oracle Support - "SmartView XML load error:"Year Invalid character was found in text content"[968808.1 ID]".
    It may be the same problem you are having.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • SmartView 11.1.1.3 - unable to connect the entire workbook

    We have recently upgraded to version 11 Smartview.

    With Smartview version 9, we had only connect once and the whole workbook would be connected. SmartView version 11, it seems that each individual worksheet must be connected separately. Depends on the size of the workbook, it can become quite heavy. Is another user on this obstacle similar experience of forum? Macro is a good solution?

    Thank you

    T.T.

    I write a macro to browse the leaves, connect (or validate that it has a connection) and then submit.

    One thing I've found with the refresh everything is if you have a sheet which is not really a smartview discounting all the stops when it hits this sheet.

  • SmartView v11 has no batch and capacity planning?

    Reading documentation, it seems that Smartview v11 has no batch and capacity planning. Am I wrong?
    So if I want to schedule my reports Essbase and run reports in cascade to be grouped and sent by e-mail to different users (each receiver reports customized for their Business Units), how do I go about it?
    Can we establish the rep; orts using financial reports and batch out by e-mail to users, who can then convert these EN Smartview reports so that they can run Drill-in analysis of detail?
    Thanks in advance.

    You can also optionally run a VBA excel macro function to create a process of 'Batch' which would be updated on a worksheet or create a new workbook and send the file to an end user. Research in the smartview VBA commands there are a few very useful commands that could automate this process for you. I don't know about the process that you would use to automate a process to send reports of EN, but emailing from in excel is not usually hard to do through VBA and could help automate this process.

    JF

  • You want to know the NI-VISA order in measurement and Automation Explorer

    Hello

    I use measure and Explorer of automation to connect my equipment through LAN and it works well.

    But this device does not detect my code VBA with Ni-VISA. I want to know how the software (measurement and Automation Explorer) generates the connection and reading the message of compression inside the unit.

    It's my code. I check the read back value if it is "100 connection accepted."
    ----
    Public Function VNAconnection() As Boolean
    = stat viOpenDefaultRM (defaultRM)
    msDly (1000)
    Stat = viOpen (defaultRM, ' TCPIP0::10.85.148.60::5000:OCKET ", VI_NULL, 20000, NETWORK" ')
    msDly (1000)
    = stat viSetAttribute (RÉÉS, VI_ATTR_TMO_VALUE, 15000)
    msDly (1000)
    Feedbk = Space (80)
    status ("Waiting for connection VNA")
    = stat viBufRead (NETWORK feedbk, Len (feedbk), Actual_Length)
    If InStr (left (feedbk, Actual_Length), "accepted") = 0 Then

    MsgBox "error has occurred. Ethernet connection not accepted! »
    NETWORK viClose

    viClose defaultRM

    VNAconnection = False

    Exit Function

    End If
    End Function

    Thank you

    Michelle,

    I found I need to add viWritebuff to * IDN, equipment, then he will answer a message accepted.

    Thank you

    Xin

  • Updating of multiple grids on a spreadsheet with SmartView

    Hello everyone,

    I get an error after refresh report via excel SmartView ("I tried both ways: to run vba code or directly by running smartview features")

    "Smart View managed an unknown exception thrown by Microsoft office '.



    Someone has an idea?


    Thank you very much for

    Hi Dan,.

    It is one or more sheets.

    What version of Excel? Excel 2013, but I think that's not the problem...

    The refresh action that I used is written in VBA and smart view functions. I use a personal library - programmed to adapt to our environment.

    It's strange to this error, because the report retrieved with the correct data/values. I don't care...

    To resolve this issue I just change the HypMenuVRefresh of HypRetrieve (sheetName) function in the part of code that refreshes the reports

    Thanks and thanks for all the people who have tried to help

Maybe you are looking for

  • Phone no ID number does not after updating ios 10, showing "unknown"

    Hi, I have recently updated to ios 10 on my iPhone 5s, after which my phone in the tab displays "unknown". Also I am not able to change a put my number inside. How to solve the problem? Asked me again activate Facetime and iMessage.

  • LabView Runtime Engine 7.0 trys to install at the start

    This just started happening, everything was fine a few days ago. Now when I click on the ICON of the LabVIEW office he says he wants to install the runtime of 7.0. And application of disc #3 do I need this?  Finally after the cancellation of the gues

  • How to make a UN suppressible but accessible file in windows XP sp2

    HelloI use windows xp sp2, I'm in an area I need to lock the files of disk F: in my computer but I need to access it, then how can I make my files not suppressible but accessible.

  • Print Ipad to wireless printer

    I have a wireless HP3050A J611g printer, I also have an Ipad that I used to be able to print since then, now I can't. The main computer is a HP, Windows Vista. I printed out directly from the printer the wireless network test results and It shows no

  • Windows XP for a Linksys wmp54g drivers?

    Anyone know where I can find drivers Windows XP for a Linksys wmp54g v4.1 PCI Wireless NIC?  Aliens have stolen the CD and excellent customer service at the Linksys is no longer provides them ("No firmware/driver download available").