Executing BW workbooks from EP as back groun process

Hi all!
I need to execute BEX workbooks from Enterprise Portal with automatically predefined values of variables. Iu2019d like to do this in two ways: normal (ordinary way) and as background process (result: xls. file). The question is how to execute Bex analyzer in background mode?
Thanks.

Hi Alzatula,
You can do this in information broadcasting.
You can configur broadcast settings for workbooks.
The prerequisite is you need a precalculation server.
Check on sdn, how to register a precalculation server.
You can execute it in foreground or you can schedule it in background.
Check this link, it may help you to set up the broadcast setting.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
Check this how to as well
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09dea78-b61a-2b10-c7ad-acd94d64079a
Information broacasting can be called through BEx broadcaster in EP.
Hope it helps,
Regards,
Sunmit.

Similar Messages

  • Executing BW Workbooks from EP as background process

    Hi all!
    I need to execute BEX workbooks from Enterprise Portal with automatically predefined values of variables. Iu2019d like to do this in two ways: normal (ordinary way) and as background process (result: xls. file). Can you help me?

    Hi Alzatula,
    You can do this in information broadcasting.
    You can configur broadcast settings for workbooks.
    The prerequisite is you need a precalculation server.
    Check on sdn, how to register a precalculation server.
    You can execute it in foreground or you can schedule it in background.
    Check this link, it may help you to set up the broadcast setting.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
    Check this how to as well
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d09dea78-b61a-2b10-c7ad-acd94d64079a
    Information broacasting can be called through BEx broadcaster in EP.
    Hope it helps,
    Regards,
    Sunmit.

  • Error while executing the workbook query.

    Hi guyz
    i'm getting an error while executing the workbook Query. The actual problem is there is a filter for REQUID in the query definition for removing the doble count. there is customer exit written. the report works fine in DEVELOPMENT but it is not working in quality.
    The query on which this workbook is created is working fine, but the problem is when we execute the workbook i'm facing this issue.
    we re-transported the queries but still we are facing the same problem.
    while we execute the query we are prompted for variable entry(Optional) for date. when we press OK we get the below error
    " NO SID value found for the value REQU_4DQT75Y2RJPVT4PXZ4LHC70V3 of characteristic"
    the request is not available in the BW system. the request was deleted long back, but it is still referring to the same the request id
    could someone please tell me where we went wrong and why we are getting this error.
    Regards,
    Anil Vadde

    Hey ,I think data load to your target on which the query was based had some issue.
    Can you check the data load to the data target.change the status of request concerned to red and delete.do reconstruct if neeed..I think the request had some issue.
    Even you can go to RSRQ or RSMO and filter on the basis of this request and see its status.
    Regards,
    RK

  • Error when execute a package from SQL Server Agent

    We have the next problem:
    When we execute a package from a Job of SQL Server agent, it shows the success messege, but reviewing the results, the package didnt do all the tasks.
    When we run it mannually by MSIS the package, it shows the success message and it works fine.
    The workflow of the package is :
    1) Shrink the databases (executing a sql file)
    2) Backup the databases (Back up Database task of MSIS)
    3) Rename the files to .BAK extension (by the Foreach loop container and fyle system task)
    4) Execute command to compress the it (by a .bat)
    5) Move the compress file to another location  (by another Foreach loop)
    Manually run correct, but when is a a SQL AGent Job that execute the package it does only the first 2 steps.
    we are ussing Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (coffee) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) 
    We are using a user with administrator privilegies
    Cheers 

    Can you check if account running package has proper access. You may need to define a proxy account for that.
    See
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    http://gqbi.wordpress.com/2014/01/30/setting-up-a-proxy-account-to-run-sql-server-integration-services-ssis-2012-packages/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • ORA-27092 Error while executing any query from client

    Hello
    I am getting following error while executing any query from client remotly.
    IAMDBA@TEST_OAT.ABCD > select userid from dual;
    select userid from dual
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 1
    ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 131071
    Additional information: 286209
    But while local connection,its working.

    hi,
    ulimit command- Limit user resources
    su - oracle
    ulimit -n (this command will show you the current value for ulimit the default value is 1024)
    to increase its value:---
    ulimit -n <some value> ( this command will change value for current session only)
    example
    ulimit -n 101062
    once done check the value as:--
    ulimit -n( for verification)
    search in google for more explanation or revert back to me for any suggestions.... :)
    Edited by: varun4dba on Jan 31, 2011 4:09 PM

  • Problem while executing a report from Planning Web

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I didn't see anyone post the resolution on this. I recently re-ordered the dimensions in my outline, and afterwards was getting that error. It's a simple fix of changing the database connection to something else, then changing it back. I was able to do this because I have multiple databases with the same outline structure. If you don't, possibly you may just have to re-create the connection, not sure.
    Sabrina

  • Call Workbook from another Workbook

    Hello,
    I want to call a Workbook from another Workbook just like calling a Query via Report-Report-Interface with restrictions from the selected line.
    Does anybody know, if this works in Excel?
    Thank you for your answers!
    Andreas

    Hi Andreas,
    San's response will open the workbook. If you want to also refresh the queries in the workbook, you have the option of setting workbook properties (see the Interaction tab in the BEx Workbook properties dialog) to refresh all queries when the workbook opens; or, use
    Run "sapbex.xla!SAPBEXrefresh", True
    But, you also mentioned restrictions (filters?) based on the line selected.  You can do this using
    ReturnValue = Run("SAPBEX.XLA!SAPBEXSetFilterValue", myFilter, "", myRange)
    I would suggest an entirely different approach, however.  I would suggest that you actually do use RRI; and, if you want to have the RRI query open a particular workbook (instead of in a blank workbook), you set the local properties to "Use permanent template" ... and define the workbook you want the RRI query to embed in as the "permanent template".  Then, after the RRI query refreshes and embeds, change the embed option back to whatever the user's default was before.
    Here is example code to achieve this:
    Sub jump2KPIODS()
    Dim myCell As Range, resultRng As Range
    Dim ws As Worksheet, myRange As Range
        Set myCell = ActiveCell
        Set ws = ActiveSheet
        If Not BExIsLoaded Then Exit Sub
        'ensure that user selected a cell within the query results table!
        On Error Resume Next
        Set resultRng = Range(ws.CodeName & "_results")
        If resultRng Is Nothing Then
            MsgBox "Unable to locate query results on " & ws.Name & ".", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        Set myRange = Application.Intersect(myCell, resultRng)
        If myRange Is Nothing Then
            MsgBox "Please select a cell in the query results table.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'set New Workbook on embed ... is based on Permanent Template
        Run "sapbex.xla!templatePermanent"
        'define the KPI ODS jump workbook as the Permanent Template
        wbID = Documentation.Range("M5")
        retVal = Run("sapbex.xla!rfcSetTemplate", wbID, "")
        'rfcSetTemplate function returns a Boolean
        If Not retVal Then
            MsgBox "Unable to set workbook for receiver query.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'check that jump is valid
         retVal = Run("sapbex.xla!SAPBEXcheckContext", "BS01", myCell)
        If retVal <> 0 Then
            MsgBox "Please refresh query before attempting jump to details.", vbCritical, _
                "Unable to jump to KPI ODS query."
            Exit Sub
        End If
        'make the initial jump via RRI to QURY0001
        Run "SAPBEX.XLA!SAPBEXjump", "r", "QURY0001", myCell
        'set New Workbook on embed ... is selected from list
        Run "sapbex.xla!templateChoose"
    End Sub
    NOTE:  the RRI jump query will embed on top of the LAST query embedded in the "target" workbook.  So, if there is more than one query in the "target" workbook, be sure that the jump query is the LAST one embedded.
    - Pete

  • How to execute a Scenario from Windows CMD prompt

    Please can you let me know how to execute the Scenario from a Windows CMD prompt? I am not sure if it is any different from "ODIStartScen" command that ODI uses to execute the scenario.
    Appreciate your help.
    Regards
    B

    Hi SH,
    I tried running the scenario from the command line, but the process was not completed and it came back with the below message
    Session : 131774001 finished with return code : 7000
    Do I need to set up any environmental variables or any other setups before I can run the scenario from the command line?
    Appreciate your help.
    Regards
    B

  • Delete workbook from repository from Bex Excel Interface

    Hello,
    Is it possible to delete a workbook from the repository from  Bex Excel Macro.
    Yesterday I have lost a workbook (is not anymore in the table RSRWORKBOOK) but the program RRMX_WORKBOOKS_DELETE was not used.
    Since it was transported I have re run the Transport order so everything is fine but I can not explain.
    thanks for help

    Hi,
    A workbook can be deleted using function module RRMX_WORKBOOKS_DELETE (execute using Transaction SE37 and Test). Parameter workbook ID (I_WORKBOOKID) and object version (I_OBJVERS) must be specified.
    check this sap help link....it might help you....
    http://help.sap.com/saphelp_nw04s/helpdata/en/54/a493f7256b43698191a2623e5a0532/frameset.htm
    please read the sap help link as well...it might help you...
    Message was edited by:
            Swetha G

  • Copy some workbooks from one user to other

    Hi!
    How can I copy (not share) some workbooks from one user to other?
    The reason to do this is because we are renaming users to other naming pattern.
    Thanks!

    You would first need to share the workbooks you want to transfer ownership of to either the new user name, or a responsibility that the new user has (I am assuming this is an Oracle Applications EUL). The user signs on to Discoverer Plus with their new name. They open up the workbook(s) and then do a SAVE AS. That will save the workbook with them as the new owner. You would then need to sign on with the old owner's name and delete those old workbooks (after first backing them up) once you are sure everything is working okay. Yes, this is a yucky process. What we do is we use a "dummy" user name when we create/modify workbooks. That way the dummy user name is the owner of the workbooks. So it does not matter if a person leaves or if you change user naming conventions. If you have a lot of users creating workbooks, then a dummy user name may not work well. You could always submit an enhancement request to Oracle for a copy function. I expect you would get a lot of customers supporting such a request.
    John Dickey

  • How to copy discoverer workbooks from one user to another user

    I need to be able to copy all workbooks from one user and save them in a shareable user account. The request is being made by his manager (in preparation for the user's retirement) so I need to do it without the user's knowledge. The manager wants to ensure that all workbooks are copied. For example, can the DBA copy all workbooks of schema JOHNDOE to APPLEX. We are using  Oracle Database 10.2.0.5.0 and Discoverer 10.1.2.3 in the Windows environment.
    Robert

    Robert
    Are these workbooks saved in the database or on a file server somewhere? If its the latter you just need to copy them to another location.
    If they are saved to the database you can export them using the Admin tool but I have a feeling you will only be able to do this if you have access to them: aka they have been shared with you. So here's several ideas:
    1. Grant JOHNDOE and APPLEX access to be an administrator then log on as JOHNDOE in the Admin tool and use File | Export | Selected Objects | Workbooks and export ALL workbooks owned by JOHNDOE. Then you log in as APPLEX and import the workbooks this time taking ownership. Now you can share them with whoever else needs them. You will need to make sure that APPLEX has access to the same business areas as JOHNDOE. When done you can revoke the admin rights of JOHNDOE.
    2. If you don't know JOHNDOE's password you could export the entire EUL to a file. For example if you EUL is owned by a user called EUL_US then create another database user called EUL_US_TEMP and install an empty EUL as a Private EUL, not Public. Then you grant APPLEX permission to be an administrator of this new EUL. Next you log in as APPLEX in the new EUL and import the EUL you exported earlier, this time also taking ownership of all workbooks only if the original owner cannot be found.You'll find that APPLEX has access to ALL workbooks not just those originally owned by JOHNDOE so next you have to work out which ones were originally owned by JOHNDOE. You can do this in SQL by examining the file called EUL5_DOCUMENTS in the original EUL and look for all documents owned by JOHNDOE. Now that you know the names of the documents you log back into the new EUL as APPLEX and export only the workbooks you want to a separate export file. With that done you can log in as APPLEX into the original EUL and import that file this time always taking ownership. Finally you can drop the EUL_US_TEMP schema.
    Hope this helps
    Michael

  • Error while executing a scenario from CMD

    I am trying to execute a scenario from CMD using the starctscen command.
    when I use the below command
    E:\OraHome_ODI\oracledi\bin\startscen EXT_DATA 002 GLOBAL
    it is executing correctly
    but I tried to create a sceduler for the execution where i used the below command
    C:\Documents and Settings\Desktop>"E:\OraHome_ODI\oracledi\bin\startscen.bat" EXT_DATA 002 GLOBAL
    and it is giving me the following error
    The system cannot find the path specified.
    OracleDI: Starting scenario EXT_DATA 002 in context GLOBAL ...
    'oracle.odi.Agent' is not recognized as an internal or external command,
    operable program or batch file.
    can someone help me on this.
    Thanks,
    Sri

    In the batch File write this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen EXT_DATA 002 GLOBAL In case you are providing the values (EXT_DATA 002 GLOBAL) as parameter
    then call the startscen this way
    cd E:\OraHome_ODI\oracledi\bin
    E:
    startscen %1 %2 %3

  • Error while executing a report from Planning

    Hi,
    I've got this error message when I execute a report from Hyperion Planning (web) :
    "5200: Error executing query. [1106] Error : Class component property name invalid[DataType]"
    Can you help me please ?
    Thanks.
    Virgile.

    I am not sure about it. But i remember once running into a similar issue where i made some changes in the metadata or outline and few members were dropped from the hierarchy and it came up with this error at the time of running
    the report as my report was still trying to query the dropped members. But u said you have already checked and all your members are valid on the report. Is this happening with all the reports or just one. If its all the reports i would
    restart the BI+ reporting services and then try to run the reports!

  • HT4527 I just had to clear the hard drive on my computer - now I want to transfer all the music and pictures from my ipad back onto my computer.  'Sync' doesn't do it.  What do I do?

    I had toclear the hard drive of my computer and reinstall Windows 7.  Now I want to transfer all the music and photos from my iPad back onto my computer.  I authorized the computer (it is the ONLY computer authorized on this account - and this is the ONLY account on this iPad).  ITunes then downloaded my purchases...or at least it tried - out of the hundreds of tracks I have purchased, it managed one album that I bought over a year ago and NOTHING else.  So I tried to Sync - since on older versions of iTunes (that were SO MUCH MORE user friendly) that would do the job -transferring things that were only on the iPad onto the computer and vice versa.  It doesn't do that anymore.  So I went from my iPad's summary to the Music tab - the box for Music was not checked but when I checked it said the only thing it could do was erase EVERYTHING from my iPad and replace it with what was on my computer (that ONE album).  What is going on?
    Why hasn't iTunes downloaded my other purchases since I authorized the computer? (there are over 3,000 tracks...not 18)
    How can I download my iPad to my computer?

    -Me again - it also won't upload the few new pictures I have on the computer onto the iPad without deleting all the photos that are already there....

  • Executing batch file from Java stored procedure hang

    Dears,
    I'm using the following code to execute batch file from Java Stored procedure, which is working fine from Java IDE JDeveloper 10.1.3.4.
    public static String runFile(String drive)
    String result = "";
    String content = "echo off\n" + "vol " + drive + ": | find /i \"Serial Number is\"";
    try {
    File directory = new File(drive + ":");
    File file = File.createTempFile("bb1", ".bat", directory);
    file.deleteOnExit();
    FileWriter fw = new java.io.FileWriter(file);
    fw.write(content);
    fw.close();
    // The next line is the command causing the problem
    Process p = Runtime.getRuntime().exec("cmd.exe /c " + file.getPath());
    BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line;
    while ((line = input.readLine()) != null)
    result += line;
    input.close();
    file.delete();
    result = result.substring( result.lastIndexOf( ' ' )).trim();
    } catch (Exception e) {
    e.printStackTrace();
    result = e.getClass().getName() + " : " + e.getMessage();
    return result;
    The above code is used in getting the volume of a drive on windows, something like "80EC-C230"
    I gave the SYSTEM schema the required privilege to execute the code.
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'java.io.FilePermission', '&lt;&lt;ALL FILES&gt;&gt;', 'read ,write, execute, delete');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    GRANT JAVAUSERPRIV TO SYSTEM;
    I have used the following to load the class in Oracle 9ir2 DB:
    loadjava -u [system/******@orcl|mailto:system/******@orcl] -v -resolve C:\Server\src\net\dev\Util.java
    CREATE FUNCTION A1(drive IN VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'net.dev.Util.a1(java.lang.String) return java.lang.String';
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    The problem that it hangs when I execute the call to the function (I have indicated the line causing the problem in a comment in the code).
    I have seen similar problems on other forums, but no solution posted
    [http://oracle.ittoolbox.com/groups/technical-functional/oracle-jdeveloper-l/run-an-exe-file-using-oracle-database-trigger-1567662]
    I have posted this in JDeveloper forum ([t-853821]) but suggested to post for forum in DB.
    Can anyne help?

    Dear Peter,
    You are totally right, I got this as mistake copy paste. I'm just having a Java utility for running external files outside Oracle DB, this is the method runFile()
    I'm passing it the content of script and names of file to be created on the fly and executed then deleted, sorry for the mistake in creating caller function.
    The main point, how I claim that the line in code where creating external process is the problem. I have tried the code with commenting this line and it was working ok, I made this to make sure of the permission required that I need to give to the schema passing security permission problems.
    The function script is running perfect if I'm executing vbs script outside Oracle using something like "cscript //NoLogo aaa1.vbs", but when I use the command line the call just never returns to me "cmd.exe /c bb1.bat".
    where content of bb1.bat as follows:
    echo off
    vol C: | find /i "Serial Number is"
    The above batch file just get the serial number of hard drive assigned when windows formatted HD.
    Same code runs outside Oracle just fine, but inside Oracle doesn't return if I exectued the following:
    variable serial1 varchar2(1000);
    call A1( 'C' ) into :serial1;
    Never returns
    Thanks for tracing teh issue to that details ;) hope you coul help.

Maybe you are looking for

  • New Mac has slowed down dramatically

    My mac is only a few weeks old and I have noticed that it has slowed down dramatically. It takes quite awhile for programs to load. The fill-in boxes are not keeping up with my typing and it is getting quite annoying. I am new to Imac, so I am not su

  • Can't change MAC address of my wireless card on Windows XP

    Dear Forum Members, I have recently bought a notebook, Lenovo IdeaPad G550L (I haven't found section for the G series here on the forum) and would like to use its WiFi adapter (BCM4310 according to Everest) with explicitly changed MAC address. I inst

  • Compile error with insurance sample

    When I compile the Insurance-Javafiles, I get the error Class oracle.ifs.beans.xxxx not found in import. I use the IFS 1.0 and Oracle8i Standard Edition Release 2 both on NT. I run the ifsenv.bat and followed the instructions for installing the Devki

  • IWeb failure to load

    Help! I am receiving an error when I try to open iWeb. It states that there is a "kern protection error". I have found a few similar posts here and have tried those solutions, but without trashing my current site, I haven't found a solution that work

  • Black screen with Distortion - Macbook Pro (Retina 15 inch Late 2013)

    Hello. I don't know much about computer problems like this, hence why i'm here but yesterday my Macbook Pro started to get pixel size flickering snow with some flashing horizontal lines. It kept functioning fine although this was happening.  Then lat