Right Parameters for running a package in custom menu

Hi Expert,
In one of my project I am creating custom menu where I need to define various macros.I am getting error in one of the VBA code that is as follow:-
Sub Step3_RunAlloc_Click()
Application.Run "MNU_eDATA_SELECTPACKAGE", "Rent Allocation", "ZBPC_RENT_ALLOC", "Company",
"Financial Processes"
End Sub
This code in giving error.Can anyone please suggest the solution and tell me what is the right parameters.I am working in SAP BPC 7.0 M.
Thanks in Advance.
Regards,
Prakash

Hi,
Please find below the example from the BPC Help.
Syntax for this command is MNU_eDATA_SELECTPACKAGE(ackage name>, <package file path>, <teamname>, <package group>)
For only this menu command, the parameters are part of the MacroName so you must leave the Parameter section blank. For example, if you have MNU_eData_SelectPackage(""import"",""examples/import.dts"",""HQ"") in cell A1, FX Restatement in cell A2, your EvMNU function would be: EvMNU(A1,A2,).
Can you please let me know what the error message you received?
Best regards,
Mihaela

Similar Messages

  • Calling multi application packages in custom menu

    Hi,
    I am trying to open a data management and custom package in a custom menu for different applications. My custom menu is set for application A and the custom package is in application B. Is there a way to call this package without changing the CV of the custom menu?
    Thanks!

    Thanks Raman,
    I meant to ask if there is a way to specify the application name in the EV_DEFAULT tab of the custom menu. Normally I use MNU_eData_DataUPLoad or MNU_eDATA_SELECTPACKAGE for defining packages but this calls only the packages from the current view application. I am looking for a way to specify other applications also in the custom menu without changing the package itself.
    Thanks!

  • Run Data Package from custom Menu00F9/VBA macro

    HI guys,
    I have a problem:when creating VBA macro to run Data Package.
    I get the pop-up error "400" . This is the VBA code I'm using:
    Application.Run "MNU_eDATA_RUNPACKAGE(""Opening""; ""/CPMB/Opening_Balances""; ""Company""; ""Financial Processes"")"
    Have you any suggestion for me?
    Thanks
    Marco Uccello

    Hi Marco,
    I'm guessing by prompts you mean user inputs for Entity, Category, Time etc.
    These are controlled by the dynamic script associated with the data package.
    If you go to the menu eData -> Organise Packages then select a package and go through :
    Modify Package -> View Package -> Advanced
    You should get to the Data Manager Dynamic Script window.
    The following is an example of what should be in here. This is taken directly from the SAP How to Guide "How To Pass Dynamic Parameters to script logic.pdf"
    It's the "PROMPT" parts at the start that control the prompts shown to the user (and passed to the data package) :
    PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%")
    PROMPT(TEXT,%WS_PERCT%,"Input W/S Percent in decimals",)
    PROMPT(TEXT,%EXP_PERCT%,"Input Exp. Percent in decimals",)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,TAB,%TAB%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,EQU,%EQU%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,SUSER,%USER%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,SAPPSET,%APPSET%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,SAPP,%APP%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,SELECTION,%SELECTION%)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,LOGICFILENAME, INCREASEPERCENTAGE.LGF)
    TASK(ZBPC_PROMPT_EXP_RUN_LOGIC,REPLACEPARAM,WS_PERCT%EQU%%WS_PERCT%%TAB%EXP_PERCT%EQU%%EXP
    _PERCT%)
    If you paste that in exactly it will resolve into the right package information which can be seen one step back (via Modify Package -> View Package).
    You can modify the prompts as appropriate for the script you are running - the one above from the how to guide has two inputs for percentages which are used within the associated script logic calculation.
    Hope this helps.
    Thanks.
    Bradley Newcombe.

  • Where are the right parameters for styles

    Hi there,
    after a upgrade from SPS12 to SPS15 on a java-only portal, the letters from the menue in the uwl like refresh or check connection status and all the topics in the workflowlist have big letters than before.
    Does anybody knows a hint, where I can set the right parameter for that?
    I noticed that only in webdynpro iviews.
    Best regards
    Christian

    thanks for you hint,
    but thats too easy :o)
    I know where I can change the portal theme, I´m looking for the right parameter in the theme editor :o)
    Regards
    Christian

  • Display "View Status" link by executing the package in custom menu

    Hello All,
    I have an EMenu statement (MNU_eDATA_SELECTPACKAGE) to run a package from the custom menu. But once I execute it, I would like to display the view status link similiar to E-data -> view status. Is this feasible?
    Or Is it feasible to display a message after a successful package execution?
    Thanks.

    Hi,
    You can use "MNU_eDATA_VIEWSTATUS" for this purpose.
    Hope this helps.

  • MBP Display Parameters for Running Soloris in Parallels

    I just got Solaris installed through Parallels. Thing is, Soloris doesn't recognize any of the video parameters through Parallels. I have to go in there and put them in manually. Currently, the res is stuck at 1600x1200 which is too big for my display.
    I've tried the following with no success:
    1. login as root run: kdmconfig
    2. choose: Xsun server
    3. Select: Change Video Device/Monitor
    4. Then start selecting the type of monitor.
    : XF86-VESA Unknown Vendor Unknown Board
    : Notebook LCD XGA 48 kHz (800x600 @56Hz and 1024x768 Interlaced)
    : 15 inch
    : 1024x768 - 65536 colors @ 60Hz
    Any success stories or suggestions?

    Parallels support is at http://forums.parallels.com/. As for Solaris I guess you need to find their support site.
    These forums only provide user-to-user technical support for Apple products.

  • Command Line Parameters for Run Application.vi in the LVWUtil

    I am trying to use the "Run Application.vi" located in the LVWUtil.llb.  I am sending a command line similiar to this:
    "C:\WINXP\system32\msiexec.exe" /i "C:\qc data\ZVMS Program Updates\Application Installer\install.msi"
    this command line works from the Start>Run dialog but the Run Application.vi only sees the beginning of the line "C:\WINXP\system32\msiexec.exe" so it opens the windows installler but does not go to the install.msi file and run it.  Does anyone know the correct command line formats for the Run Application.vi to run the entire command line?
    Thanks,
    BethV

    Hello BethV,
    I downloaded the LVWUtil32.zip file from the Windows API Function Utilities (32-bit) for LabVIEW example program.  In that zip file, is a library entitled Winevent.lib, which includes the Run Application.vi.  When you used this VI, I believe the string you passed in as a input had too many quotation marks.  Namely, you do not need quotes around the msiexec.exe call.  I passed the following string into the Run Application.vi and got the expected results:
    C:\WINDOWS\system32\msiexec.exe /i "C:\mymsi.msi"
    Please let me know if it helps.
    Message Edited by Wendy L on 10-21-2005 02:34 PM
    Wendy L
    LabWindows/CVI Developer Newsletter - ni.com/cvinews
    Attachments:
    RunApplication.GIF ‏2 KB

  • How to Initiate For Creating Business Package.

    Hi all,
    We donu2019t have NWDI setup in our landscape; therefore I would like to know that how i can initiate for creating business package of custom specific application development using Web Dynpro JAVA and DB Oracle. If anyone has idea about this type of in-house development, please suggest.

    Hi Gautam
    Please setup NWDI for creating custom business pachage.
    Download DTR, CBS and CMS same patch level as your Server and delpoy.
    then Create Software component in System Landscape Directory(SLD) and create custom business package track in the CMS for development using Web Dynpro JAVA
    Hope this will help.
    Thanks
    Arun

  • Labview freeze when accessing a custom menu with data on the clipboard

    This one has got me stumped:  When selecting a custom menu item with data on the clipboard the GUI freezes.  Freezes are longer for more data and longer for older versions of Labview.  I wrote the test code, attached, but the example "Menu Selection Demo.vi" shows the same behavior.
    Running Labview 2011 here are some freeze delays for my laptop (a bit slower machine) with various amounts of text data on the clipboard:
    Clipboard size        Delay
    1.3MB                   2.1 sec
    2.6MB                   4.9 sec
    3.8MB                   17.2 sec
    14MB                    253.3 sec
    The delay appears to be non-linear.  A doubling of the clipboard data size more than doubles the delay and a tripling of the clipboard data size produces a delay of almost 10X!  Things are also much, much worse on my ancient version 8.2.1 (over a 40 second freeze for 1.3MB and it goes up from there).
    Note that the freeze also occurs on programs with a custom menu when exiting.  This would seem to suggest it might have something to do with the timeout, but why timeout should vary with clipboard size and not with the value wired to it makes this feel even more like a bug in the custom menu functionality.
    This seems to be related to known issues in Labview 2011 #39604 49UBP4LE (http://www.ni.com/white-paper/13168/en#39604_by_Da​te) that was first reported in version 8.2.1.  This known issue relates to Labview freezing when large amounts of data are copied from Labview to the clipboard.  No fix has been implemented since this was originally reported in 2007.
    This freeze also occurs when shortcuts to menu items (such as Ctrl + L) are used when large amounts of data are on the clip board.
    Thus far this has been 100% repeatable and I have not been able to find a way around it.  I also haven't found anything else similar on the forums or on the web.  It appears to be a GUI freeze with Labview still running in the background, which is also odd.
    My work-arounds at this point are either to not use the clipboard (bad), programatically clear the clipboard several times each second (worse) or remove all custom menu functionality and replace those functions with onscreen controls.  So, for now, I'm removing custom menu items because my users need the clipboard and I can't have massive delays making my data acquisition code look crashed.
    Any ideas would be helpful.  This one has me scratching my head...
    Attachments:
    Menu_Clipboard_Lv2011.vi ‏17 KB

    Well, doing Microsoft Word, Excel and what else on a computer that is used to run an important production test, is a very bad idea. There is no way that you can guarantee, that one of these applications is not causing some interruption to the currently running time critical task. Word and Excel and just about any other computer application can crash, lock up the computer or eat your breakfast while you are doing seemingly harmless things.
    The issue with the clipboard in LabVIEW is indeed a problem that exists for a long time and I hope they fix it sometime, but the fact remains, that you should NEVER use a computer for other tasks while you run a test or other manufacturing related application on it, when a failure of that application can cost you more than a few pennies.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Dynamic custom menu

    Hi all,
    I have a custom menu with a step that should open an input schedule.
    Therefore I added a OPENWEBFILE action in the EV_DEFAULT sheet.
    The path linked to this step should change according to a dimension of the current view.
    For instance,
    -if DIMENSION=XX, the path should be INPUTSCHEDULES/XX/filename.xlt
    -if DIMENSION=YY, the path should be INPUTSCHEDULES/YY/filename.xlt
    I found a way to do it, but the formula is not refreshing when I change the current view, and the custom menu always open the same input schedule. The only way to refresh it is to go back to the EV_DEFAULT sheet and click on ETools, CustomMenuManager, Test Current Worksheet: this is something that a user is not allowed to do.
    Do you have any idea about this? What could be a possible solution? Maybe a macro with an EV formula that refreshes the custom menu?
    Thanks for your help

    Please enable the custom menu in BPC administration console and use the Open Custom Menu option in BPC for Excel to open the appropriate custom menu. Please check here whether the custom menu is refreshed or not. Test Current Worksheet is supposed to simulate this and test the custom menu before enabling it in the BPC administration consol.
    Custom menus already have macro functions included in it. Please try to utilise those macros when necessary, instead of building new ones.

  • Custom menu seems to be bogging the system

    Hello to all.
    I'm replacing the default menu with a custom menu and the custom menu seems to be slowing everything down to a crawl. When we used this menu system in 8.1.7 everything worked fine. Now we're hitting a 9i system (all's been recompiled) and the custom menu is killing my performance. As soon as I replace that default menu the system bogs down. I jarred up a couple of images in the custom menu so some of the images are in the jar and the rest were not jarred up I'm guessing they're being found on the server just as the default menu does. Do I need to jar up replacement images for all images in my custom menu so that the menu is accessing everything from one source? Or can I somehow hack the default menu to meet my needs?
    Thx - J

    It looks lie it crashed doing Network I/O
    Have you blown the dust out of it lately?
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.

  • Error with Data package execution from BPF or running package from custom b

    custom button.
    1.     When run package from BPF or custom button an error apear (for all users): "Subscript out of range".
    Package dynamic script
    PROMPT(SELECTINPUT,,,,"BUDGETHOLDER,CONTRACTOR,ENTITY,RPTCURRENCY,SCENARIO,VERSION")
    TASK(ZMF_BPC_LOGIC_RUN,EQU,%EQU%)
    TASK(ZMF_BPC_LOGIC_RUN,SUSER,%USER%)
    TASK(ZMF_BPC_LOGIC_RUN,SAPPSET,%APPSET%)
    TASK(ZMF_BPC_LOGIC_RUN,SELECTION,%SELECTION%)
    TASK(ZMF_BPC_LOGIC_RUN,SAPP,%APP%)
    TASK(ZMF_BPC_LOGIC_RUN,LOGICFILENAME,PAY_DEPT.LGF)
    2.     After click OK such selection screen appear.
    3.     When run package from eData menu u2013 Run package everything OK. And after running package from BPF or custom button everything become OK. (Only for user who run package from EData menu)
    4.     When Close BPC Excel and launch new BPC Excel error appear again.
    The partners have posted a Message 247960 / 2010
                                                                         created 23.03.2010 - 14:15:03 CET
    Could you please comment on the issue?

    Hi Usman,
    The solution is :
    1. Edit the files updateConfigProperties.properties and
    prependConfigProperties.properties in the installation directory:
    Replace the hostname with the value present during the initial installation.
    Note that the installation directory is the directory where SAPinst creates its log files.
    The original hostname should be reflected in the names of the profiles created by the installation
    (/usr/sap/<SID>/SYS/profile/<SID>_<Instance>_<hostname>).
    If the log files of the initial installation are still available the original hostname can also be found in the file jengine.properties in the value of the property box.number. This file is located in the installation directory the initial installation
    2. Restart the installation.
    This has to work,it worked for me.
    P.S: Give points,ok.
    Rgs
    vikas

  • I am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to ope

    i am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to open the 'compact disc' preset from a trial version?

    Are you sure, Eugene? I have this option:

  • BPF: Run Specific Package vs Run Specific Package for PackageExecution

    Simple question:what is the difference?
    I used Run Specific Package in the BPF setup, but the package does not launch upon testing
    When I use Run Specific Package for PackageExecution it works...

    Hi Nilanjan,
    Can you through some more details or the difference between Run Specific Package & Run Specific Package for PackageExecution.
    Thanks in advance.
    Raghu B.S.

  • Dynamic date parameters for a scheduled report that runs every day

    I have a report that has input parameters for a start date and
    end date. The report will be scheduled to run once a day at a
    scheduled time. I need the report to automatically set the start
    date and end dates when the report runs at the scheduled time.
    When the report runs at the scheduled time, the end date needs
    to be set to that time and the start date needs to be set to 24
    hrs before the end date. I want the start and end dates to roll
    forward automatically when the scheduled report runs each day. I
    don't want any user intervention to change the start and end
    dates every day. How can I do this in a report ?
    Also, since the report is scheduled to run each day, I want the
    output to be saved to a unique file name each time the report is
    run as each day's report will report on the data only for that
    day. How can I get the report to save to a unique file name
    automatically each day ? Again, I don't want any user
    intervention where they would set the output file name manually.

    Try adding the following in the beforereport or beforepform
    trigger, before the RETURN clause (TRUNC gets rid of the time
    component of the date):
    :p_date_from := TRUNC(sysdate) - 1;
    :p_date_to := TRUNC(sysdate);
    :desname := 'REPORT'||TO_CHAR(sysdate, 'DDMMYYYY')||'.txt'
    Paul Williams

Maybe you are looking for