Script BPC Admin Packages

Is there a way to script several BPC packages?  We load actual financial results several times a month.  This involves running a few packages in a specific order.  We also need to wait for the packages to complete prior to executing the next package.
The order we run the packages is as follows:
Clear Package u2013 To Clear Out preliminary actual results
Import Package u2013 Imports the latest actual results into BPC into an Actual Version.
Copy Package u2013 Copies actual results from the Actual Version into a Forecast Version.
Ideally we would like to string these together into one script or package such that we only run one job as opposed to hand holding the multiple jobs.
We cannot start a job prior to the preceding job completing.  So we need some guidance to see if there is a way to check status.
Thanks for your help,
-Dan

Thanks for your input so far.  I'm getting there... but still running into some issues.<br><br>
I've been able to successfully combine a clear and import package.  Ultimately, I want to create a Clear>Import>Clear>Copy>Custom Package chain.  <br><br>
1) If I try to use an Execute Package Task to just call the current .dtsx tasks, I don't get any of the prompts to show up when running the package through data manager in Excel.<br><br>
2) If I rebuild the packages and combine the values in the MODIFYSCRIPT variable (example below), it will only allow input for one copy, or one clear.  If I try to combine a copy and clear only the clear inputs show up when running the package through data manager.  Any tips on how I can get this to work properly?<br><br>
Here is the control flow for my "Clear & Copy" package, along with the MODIFYSCRIPT variable.  All tasks are "2008" versions and as I mentioned above, doing a clear-->import package in this manner works correctly.<br><br>
Export_Zero(Dumpload Task)>Load Cube(Dumpload Task)>Clear Comments (Comment Task) >Dump (Dumpload Task)>Convert(Convert Task)-->Load(Dumpload Task).<br><br>
MODIFYSCRIPT variable:<br><br>
'DEBUG(ON)<BR>PROMPT(SELECTINPUT,%SELECTION%,,"Select the members to CLEAR",%DIMS%)<BR>PROMPT(RADIOBUTTON,%ENABLETASK%,"Do you want to clear comments associated with data regions in BPC?",1,{"Yes","No"},{"1","0"})<BR>PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when deleting comments.",1,{"Yes, delete comments with work status settings","No, do no delete comments with work status settings"},{"1","0"})<BR>INFO(%TEMPFILE%,%TEMPPATH%%RANDOMFILE%)<BR>TASK(EXPORT_ZERO,APPSET,%APPSET%)<BR>TASK(EXPORT_ZERO,APP,%APP%)<BR>TASK(EXPORT_ZERO,USER,%USER%)<BR>TASK(EXPORT_ZERO,FILE,%TEMPFILE%)<BR>TASK(EXPORT_ZERO,SQL,%SQLDUMP%)<BR>TASK(EXPORT_ZERO,DATATRANSFERMODE,2)<BR>TASK(LOAD CUBE,APPSET,%APPSET%)<BR>TASK(LOAD CUBE,APP,%APP%)<BR>TASK(LOAD CUBE,USER,%USER%)<BR>TASK(LOAD CUBE,FILE,%TEMPFILE%)<BR>TASK(LOAD CUBE,DATATRANSFERMODE,4)<BR>TASK(LOAD CUBE,DMMCOPY,0)<BR>TASK(LOAD CUBE,PKGTYPE,0)<BR>TASK(LOAD CUBE,CHECKLCK,%CHECKLCK%)<BR>TASK(CLEAR COMMENTS,APPSET,%APPSET%)<BR>TASK(CLEAR COMMENTS,APP,%APP%)<BR>TASK(CLEAR COMMENTS,USER,%USER%)<BR>TASK(CLEAR COMMENTS,DATATRANSFERMODE,0)<BR>TASK(CLEAR COMMENTS,SELECTIONORFILE,%TEMPFILE%)<BR>TASK(CLEAR COMMENTS,ENABLETASK,%ENABLETASK%)<BR>TASK(CLEAR COMMENTS,CHECKLCK,%CHECKLCK%)<BR>BEGININFO(%SQLDUMP%)<BR>select %FACTDIMS%,0 as SIGNEDDATA FROM ( SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACT%APP% WHERE %SELECTION% UNION ALL SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFACTWB%APP% WHERE %SELECTION%  UNION ALL SELECT %FACTDIMS%,0 as SIGNEDDATA FROM TBLFAC2%APP% WHERE %SELECTION%) as ZeroTable  group by %FACTDIMS% OPTION(MAXDOP 1)<BR>ENDINFO<BR>PROMPT(RADIOBUTTON,%CLEARDATA%,"Select the method for copying the data from the source to destination database",0,{"Merge data values (Copies specified records, leaving all remaining records in the destination intact)","Replace && clear data values (Copies specified records, and clears the data values for any records that mirror each entity/category/time combination defined in the source)"},{"0","1"})<BR>PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after copying",0,{"Yes","No"},{"1","0"})<BR>PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})<BR>PROMPT(COPYMOVEINPUT,%SELECTION%,%TOSELECTION%,"Select the members to COPY and where to",%DIMS%)<BR>INFO(%TEMPFILE1%,%TEMPPATH%%RANDOMFILE%)<BR>INFO(%TEMPFILE2%,%TEMPPATH%%RANDOMFILE%)<BR>TASK(DUMP,APPSET,%APPSET%)<BR>TASK(DUMP,APP,%APP%)<BR>TASK(DUMP,USER,%USER%)<BR>TASK(DUMP,FILE,%TEMPFILE1%)<BR>TASK(DUMP,SQL,%SQLDUMP%)<BR>TASK(DUMP,DATATRANSFERMODE,2)<BR>TASK(CONVERT,INPUTFILE,%TEMPFILE1%)<BR>TASK(CONVERT,OUTPUTFILE,%TEMPFILE2%)<BR>TASK(CONVERT,CONVERSIONFILE,%CONVERSION_INSTRUCTIONS%)<BR>TASK(LOAD,APPSET,%APPSET%)<BR>TASK(LOAD,APP,%APP%)<BR>TASK(LOAD,USER,%USER%)<BR>TASK(LOAD,FILE,%TEMPFILE2%)<BR>TASK(LOAD,DATATRANSFERMODE,4)<BR>TASK(LOAD,DMMCOPY,1)<BR>TASK(LOAD,CLEARDATA,%CLEARDATA%)<BR>TASK(LOAD,RUNTHELOGIC,%RUNLOGIC%)<BR>TASK(LOAD,CHECKLCK,%CHECKLCK%)<BR>BEGININFO(%SQLDUMP%)<BR><BR><BR>select %FACTDIMS%,SUM(SIGNEDDATA) AS SIGNEDDATA FROM (SELECT %FACTDIMS%,sum(SIGNEDDATA) as SIGNEDDATA FROM (SELECT     %FACTDIMS%, SIGNEDDATA FROM TBLFACT%APP%  WHERE %SELECTION% UNION ALL SELECT %FACTDIMS%,SIGNEDDATA FROM TBLFACTWB%APP% WHERE %SELECTION% UNION ALL SELECT %FACTDIMS%,SIGNEDDATA FROM TBLFAC2%APP% WHERE %SELECTION%) AS SourceTable GROUP BY %FACTDIMS% union all SELECT %FACTDIMS%,0 as SIGNEDDATA FROM (SELECT %FACTDIMS%,0 AS SIGNEDDATA FROM TBLFACT%APP%  WHERE %TOSELECTION% UNION ALL SELECT %FACTDIMS%,0 AS SIGNEDDATA FROM TBLFACTWB%APP% WHERE %TOSELECTION% UNION ALL SELECT %FACTDIMS%,0 AS SIGNEDDATA FROM TBLFAC2%APP% WHERE %TOSELECTION%) AS zeroTable     GROUP BY %FACTDIMS%) as TotalTable    group by %FACTDIMS% OPTION(MAXDOP 1)<BR><BR>ENDINFO<BR>
Edited by: Dan Frost on Mar 7, 2011 1:16 PM

Similar Messages

  • Cannot connect to ApShell in BPC Admin

    Hi,
    We are in the process of BPC installation. We have installed NW 7.01 + IIS 6.0 & .NET server.
    We have followed all the steps mentioned in the BPC installation guide. But, after installation, we are not able to login into ApShell in BPC Admin window. We are getting error message "The system cannot connect to the server. There may be network or security issue".
    Can anybody give us some tips?
    Kind Regards,
    Indrakumar

    Greetings, collegues
    We have absolutely the same problems. I have described them here (BPC NW connection errors).
    We have Win2k3 64 bit., BPC NW SP2. We performed all steps in installation guide and Server Diagnostic of Server Manager shows that everything is fine but when we are trying to connect to BPC, it displays two connection error messages:
    1. "The system cannot connect to the server. There may be a network or security issue."
    then after initialization dialog, 2. "Failed to connect to ABAP server."
    I am also able to browse to the site http://<servername>/osoft. If I execute the BPC Admin icon, it takes me to the another page where I can see Action panel. We have default application set there but If we click  "Manage Application Sets" or any other, there is no any effects or results. In addition if we try to go to Client Software Center from the main page, we see the error "The format of the file 'AntiXssLibrary' is invalid." but we have installed  Anti-Cross Site Scripting Library V1.5.
    By the way, Arteris Basis I have seen the problem "Your login ID does not have SYSADMIN rights". To solve this problem. you need to  correctly execute "UJA3_WRITE_SYS_USERS" in ABAP server and assign right values.
    BPC SysAdminUser Domain\<user name>
    BPC AdminUser Domain\<user name>
    BPC User Domain\<user name>
    Arteris Basis, have you solved the problem with "The system cannot connect to the server. There may be network or security issue"?

  • Edit a BPC Standard Package with SSIS

    Hi,
    I need to edit a BPC standard package ("Convert Task" for example) with SSIS.
    I have an Error message of Microsoft Visual Studio :
    The task with the name "Admin Task" and the creation name "Osoft.Services.Application.DataMgr.Task.SSISAdmin, OsoftTaskAdmin, Version=4.2.0.400, Culture=neutral, PublicKeyToken=bf6c37fa78f5a648" is not registered for use on this computer. Contact Information:Admin Task
    I copied files .dll from "u2026\websrvr\bin" to "u2026\90\DTS\Tasks"
    Thank you for your help
    Regards,
    Morgann

    Hi James,
    I always have the same issue.
    For my customer, BPC is installed E:\ in Citrix environment
    In first, I followed the guide "How to...Build SSIS Package for SAP 5.0".
    I copied my "osofttask.dll" files in E:\BPC\websvr\Web\Installation\OsoftSSIS_client\Bin to E:\MSSQL\MSSQL2005-0\90\DTS\Tasks
    Then, I copied these files in GAC (C:\Windows\Assembly) like your procedure.
    But I always had the same error message in SSIS...
    Have you another idea ?
    Files are copied betwween E and C, is it an impact ?
    Thanks,
    Morgann

  • "An error occurred while running scripts from the package "DeveloperTools.pkg"

    I'm trying install my xcode 4.2 and check log and this where there is problem
    "An error occurred while running scripts from the package “DeveloperTools.pkg”

    II found the answer elsewhere. I logged in from a diffent admin acount and the install went fine.

  • Upload new member in the dimension not from BPC Admin

    Hi Experts,
                     If we want to upload a new account not from of BPC admin, how we can do it?
        I tried to do it in MS version and was able to do it, as we have a dimension files in excel format (other than the temporary excel file ), we can add member in that excel file and run the Dimension process without selecting the "from member sheet". And it includes the new member.
                  But in Netweaver version if we do same thing in the xml file of that dimension and try to process, it doesn't take the new member which was added in the xml file.. Any idea ..
    Thanks
    IshitaD

    Hi Ishita,
    Can you try using Data Manager to load master data? I know that is too much trouble if you want to load say just 1 record but it  is a clean option that does not require BPC Admin.
    Regards
    Pravin

  • HT1222 hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package "mzps6175750011235388779.pkg"

    hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
    can you please advise me what should i do to fix this

    Some ideas.
    https://discussions.apple.com/message/20034600#20034600

  • Object Variable or With block Variable not set-not fr Excel, from BPC Admin

    Hello everyone,
    Object Variable or With block Variable not set-not from Excel but from BPC Admin. 
    I searched the form and all posting/solutions talk about this error appearing from Excel. In my case it happens for BPC Admin - when I try to maintain dimension members.  I tried uninstalling and re-installing BPC client few times, processed all dimensions and tried pretty much all solutions posted here. Nothing worked (in BPC Admin). If anybody who came across this issue and solved it,
    can you please post the solution?
    Thanks
    Pals

    Hello Everyone,
       Thanks for all your possible solutions.  Here is the solution in case if you come across,
    "Object Variable or With block Variable not set" error from BPC Admin (not from Excel).
    Did some analysis with Basis administrator and found that there was an installation of MS Office 2010 component (not the full version. not sure how it got there since I do not have MS Office 2010) along with MS Office 2007. So,
    I un-installed MS Office 2010 component, MS Office 2007 and Planning and Consolidation client.
    Re-booted the laptop.
    Installed MS Office 2007 first. Re-booted.
    Installed Planning and Consolidation client. Re-booted.
    Started Planning and Consolidation Admin client. Clicked on Maintain Dimension members for a dimension. Dimension members displayed without any errors.
    Tried update, insert and delete of dimension members, worked fine.
    Thanks again All.
    -Pals

  • Unable to process BPC admin

    Hi,
    I received the following error when i selected "Manage Application Sets" from BPC admin.
    OSoft.Services.Application.Report.WorkStatusRptSystem.Exception:Cannot create ActiveX component. at Microsoft VisualBasic.Interaction.CreatObject(String Progld,String ServerName) at OSoft.Services.Application.LockManager.Handler.ObjCreat..
    How to resolve this?

    If it is first time when you are trying to perform administration into that environment then I will say the problem if it is with installation.
    In this case I think you have a problem with regional settings into BPC server.
    You didn't install the BPC into a server with windows Regional settings English US.
    Regards
    Sorin Radulescu

  • Problems downloading and installing OS X Yosemite An error occurred while running scripts from the package

    Hi! I have problems downloading and installing OS X Yosemite.
    While downloading this message pops up:
    An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.
    and in /var/log/install.log i can see:
    MacBook-Pro installd[1086]: PackageKit: Install Failed: PKG: pre-install scripts for "com.apple.pkg.InstallMacOSX"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x100193c00 "An error occurred while running scripts from the package “wct8079783343594854923.pkg”." {\n    NSFilePath = preinstall;\n    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.";\n    NSURL = "#InstallMacOSX.pkg -- file://localhost/Users/username/Library/Application%20Support/AppStore/91504108 2/wct8079783343594854923.pkg#Distribution";\n    PKInstallPackageIdentifier = "com.apple.pkg.InstallMacOSX";\n}
    does anyone have an idea about this?
    thank you very much

    Mucked up installation. If the installer app is still in /Applications, delete it and start over.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.2), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • An error occurred while running scripts from the package "ztb343812063996219254.pkg

    i tried to upgrade my os lion 10.7.5 to os x yosemite on my macbook pro and in the middele of downloading I'm getting this notice: an error occurred while running scripts from the package "ztb343812063996219254.pkg
    help me please…..
    i think i have problem with the app store cause sometimes I'm getting more errors like error no 13 or 100
    what should i do?

  • "error while evaluating Java script for the package"

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

    Okay, this is a new one on me! Anyone ever get this message? I don't know what is going on with my iMac, all I know is that about a month ago my iTunes was working fine, and when I just went to use it, it tells me "you can not use the application iTunes with this version of Mac OS X. So I thought maybe something was wrong with my iTunes and downloaded it again and i got the "error while evaluating Java script for the package" when I tried to reinstall iTunes. Another issue I am having is with updates. I haven't received an update for a long time and when I manually check, it tells me there are none.

  • Script out SSIS packages from SSISDB using powershell

    Hi,
    I was able to script out the packages that are on msdb but I was unable to script out that are in Integration services catalog. Does anyone has any idea on how to do this???? Is this possible at all???
    Thanks in advance....

    Can you send me the link in English??
    This is how you can get a single package from IS catalog
    http://social.technet.microsoft.com/wiki/contents/articles/25913.import-a-ssis-project-from-catalog-using-t-sql-script.aspx
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Need ant script to compile, package, and deploy to Oracle AS 10.3.1

    I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
    Thanks,

    Hi,
    How are you referring to the class path. I have created my custom build file and I refer like this.
    <path id="classpath">
      <pathelement location="${oracle.home}/lib/aia.jar"/>
      <pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
    </path> oracle.home is the location where my aia.jar resides.
    In the compile-classes target I have
    <!--Target for Class path details -->
    <target name="compile-classes">
      <mkdir dir="${sca-inf.classes.dir}"/>
      <javac destdir="${sca-inf.classes.dir}"   classpathref="classpath"
             debug="on"                         nowarn="${javac.nowarn}"
             deprecation="${javac.deprecation}" encoding="Cp1252"
             source="1.6"                       target="1.6">
        <src path="${src.dir}"/>
      </javac> 
    </target> Regards,
    Neeraj Sehgal

  • VB script to run a batch script as admin

    I have batch script the I need to run as an administrator, I created a VBscript wrapper that calls a runas and runs my batch file, however the batch file is not being elevated high enough on Windows 7 and Vista, it works fine on XP.  The batch script
    needs to create a folder in Program files, and copy the necessary files, install several programs, as well as make several registry key changes.  If I am logged in as a user with admin rights, right click on the batch file and select "Run as Administrator"
    the batch works fine.  Using the VBscript to elevate the rights, it installs the programs, but when it comes to creating the folder in Program files\Program data and Registry edits, it fails.  Is there any way to script so I can elevate the batch
    file to the same level as selecting "Run as Administrator?
    Set objShell = WScript.CreateObject("WScript.Shell")
    objShell.Run("runas /user:domain\user \\unc\location\Install.bat"), 1, True
    WScript.Sleep 100
    oShell.Sendkeys "password~"
    Another issue, I am having with the script is that it will not send the password, I have to type it manually to test.
    The idea is to have the end user be able to click on a link from a webpage and install the program itself, as opposed for our Helpdesk be required to install the program.  So psexec is no doable as it is not on any of the PCs and user login scripts
    is not an option either, as we don't want the program install on every PC.

    Evers_Mark,
    Here is a VB Script Vall Script that will get around the Password Prompt when "RunAs" is called...
    'Start
    ' To Run other VB Scripts or even Batch Files with Admin Priviliges'
    Dim WshShell, objFSO
    suser = "[email protected]"
    sPass = "YourPassWord"
    'Put your Domain Account and Password in between the qoutes, REMEMBER! the Password will be clear text. If this is a standalone just take off the @YourDomain.com
    sCommand = "wscript \\UNCServerName\ShareFolder\YourScript.vbs"
    'This will be the path were the scripted you want called will be at. Please note you can substitute the ablove for a local directory (Example: C:\Folder\YourScript.vbs)
    Set objComputer = CreateObject("Shell.LocalMachine")
    Set WshNetwork = CreateObject("WScript.Network")
    Set WshShell = CreatObject("WScript.Shell")
    Set WshEnv = wshShell.Environment("Process")
    WinPath = WshEnv("SystemRoot")&"\System32\runas.exe"
    rc = WshShell.Run ("runas /noprofile /user:" & suser & " " $ Chr(34) & sCommand & Chr(34))
    WScript.Sleep 900
    WshShell. AppActivate(WinPath)
    WScript.quit
    'End
    I've used this myself to call up scripts with admin rights however I've not tested it with the UAC on in either Vista or 7, However works like a peach with 2000 & XP. From this point you can add in the script into Peagus's disabling the UAC Script as
    mentioned below. The usual warnings apply on the security, passwords are sent in plain text.
    John M. Keller MCP (XP & 2003) | Security + E-Mail : [email protected]
    Sorry but this topic has been closed for almost a year.
    If you have a script to share feel free to put it in the repository. (link above).
    If you have a new question then please start a new topic.
    ¯\_(ツ)_/¯

  • Help: BPC admin view stuck in creating a new App set

    Hello,
    We have SAP BPC 7.5.05.1002 NW. I have tried to create a new app set by copying an existing application set. The BPC admin view has been stuck for a couple of hours now. I have a dialog box on the screen, with the message "Waiting for the server's response....". The "OK" button is greyed out.
    I would appreciate any help on this. What would happen if I were to cancel this (shut-down my BPC front end)? Would that cause any problems in the BPC application or the application set which is copied across to the new app set?
    Thanks in advance.

    Hello,
    Thanks for your response. I don't have access to the back-end BI/BW and the IT support will take a long time to get back to me.
    How do I cancel this task?

Maybe you are looking for