BEx 70 launches new excel instance

Hi experts!
In BEx 3.x no new excel instance was launched when analyzer was started. So if excel was already open and analyzer was started only the AddIn came up in the already open excel instance.
In BEx 70 always a new excel instance is launched even if excel is already open.
Is there a way to change that behaviour?
Thx for your reply.
Michael

Hi Michael,
I also know this difference between Bex 3.x and Bex 7.0.
This is the disadvantage of Bex 3.x and it is improved in Bex 7.0.
Unfortunately there should be no way to change this in Bex 3.x.
Regards,
Patricia

Similar Messages

  • Analyser 7.1 launches new Excel Session

    Hi All,
    I just wanted to ask, I remeber in BEx 3.5 if you had an excel session open and clicked on the Analyser icon it would open the tool bar in the same session. But in 7.1 when I hit the Analyser icon it opens a new Excel session. Is there a setting that needs to be maintained to turn this feature off so tool bar opens in current excel session?

    Hi,
    As per note:  1435326 - "Usage of transaction RRMX / precalc server with gui 7.20". This is a limitation of the system right now.
             o  Reusing of Excel instances is not supported. Every call will launch its own Excel instance.
    Regards,
    Michael Devine

  • Printing Excel Instance from InfoView using Excel 2003

    Hi
    I have problem with printing Excel instance within InfoView. We are using Active X as viewer - but when user schedules report in Excel and when it opens that instance - it opens in Web Excel viewer within InfoView. At that point there is no standard menu if user uses Office 2003 or actually Excel 2003 on its own machine so user cannot print instance. Can anybody help with this. If you try to open instance on machine that has Office 2007 there are no problems since instance gets open in full Excel.
    Thanks

    What version of Crystal Reports are you using?  Any service packs or hot fixes installed?
    Can you open other xls files with 2007?  
    Have you ever exported to excel before?
    I export to -excel (97-2003) data only- and open the files with Excel 2007 with no problems. Excel 2007 complains about the old format (xls) and wants to convert it to the new excel format. I alsways ignor it.
    Maybe the 'garbage' you are seeing is because the layout of your crystal report is not working for the export. Is all the data there but you have extra cells and/or lines, or the data is pushed to the left? I find that I must have the fields packed tightly with no space between them and no space above or below the fields, or I get extra cells between and lines above or below them.
    Most of my exports are detail lines with a single line header and columns are set to match the detail line. When exporting multiple lines where the fields do not line up exactly with the ones above them, I may use one or more empty text fields that matches the size of the fields above them to fill the empty space. Sort of like:
    line 1:{field1.}{field2...}{field 3}
    line 2:(text...}{text.....}{field 4)
    And you may need to turn off 'can grow' on all fields as they may cause miss-alignment. All the data will be there when you export it, even what you can not see in Crystal. You will just need to format the cells in Excel to see it.
    Debi  (hi Don)

  • Commit_form creating issue with When-New-Record-Instance trigger

    Hello friends,
    I am using Oracle forms 6i . I have a multi-data block. I have written commit_form in when-new-record-instance of the data block. When I launch the form on my instance the form does not open.
    But when I comment out this code, the form opens on the instance. What could be the exact problem?
    Also is there any condition that I can specify if the whole data block is null when I open the form?

    Hi...
    In When-New-Record-Instance, check if the block status is NEW. If Not, then just apply COMMIT_FORM;
    try this code in your trigger
    IF :SYSTEM.BLOCK_STATUS = 'CHANGED'
    THEN
    COMMIT_FORM;
    END IF;
    Should work for you.
    Thanks....

  • FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception

    I have a form that I migrated to 10g from 6i. I have no problems with it in 6i.
    When I launch this migrated form on the web in 10g, I get the following error:
    Error: FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-03127From oracle error code
    03127, 00000, "no new operations allowed until the active operation ends"
    // *Cause: An attempt was made to execute a new operation before the active
    //         non-blocking operation completed or a new operation was attempted
    //         before all the pieces of a column were inserted or fetched.
    // *Action: Execute the new operation after the non-blocking operation
    //          completes. If piecewise binds/defines were done, execute the new
    //          operation after all the pieces have been inserted or fetched.What does the above suggested action mean?
    Any suggestions.
    Thanks

    Run the debugger and see what line of code is failing.

  • How to Use AccessibleObjectFromWindow API in VBA to Get Excel Application Object from Excel Instance Window Handle

    I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
    function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
    If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
    I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
    The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
    Thanks
    'This module is located in Access 2010, but this is an Excel question.
    Option Compare Database
    Option Explicit
    ' Module-Level Declarations
    'The GetDesktopWindow function and FindWindowEx function work just fine.
    Public Declare Function GetDesktopWindow Lib "user32" () As Long
    Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, _
    ByVal hWnd2 As Long, _
    ByVal lpsz1 As String, _
    ByVal lpsz2 As String) _
    As Long
    'I'm not getting the expected output from this function (see below)
    Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
    (ByVal hwnd&, _
    ByVal dwId&, _
    riid As GUID, _
    xlwb As Object)
    Type GUID
    lData1 As Long
    iData2 As Integer
    iData3 As Integer
    aBData4(0 To 7) As Byte
    End Type
    Function ExcelInstances() As Long
    ' Procedure-Level Declarations
    ' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
    on this site: http://www.lw-tech.com/q1/base.htm
    Const OBJID_NATIVEOM = &HFFFFFFF0
    Dim hWndDesk As Long 'Desktop window
    Dim hWndXL As Long 'Child window
    Dim objExcelApp As Object 'Final result wanted: Excel application object
    'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
    Dim xlapp As Object
    Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
    'Set up GUID to be used for all instances of Excel that are found
    Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
    ' Executable Statements
    SetIDispatch IDispatch
    IDispatch = IDispatch
    'Get a handle to the desktop
    hWndDesk = GetDesktopWindow 'This seems to work
    Do
    'Get the next Excel window
    'The following statement seems to work. We are finding and counting _
    correctly all the instances of Excel. hWndXL is non-zero for each _
    instance of Excel
    hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
    'If we got one, increment the count
    If hWndXL > 0 Then
    'This works. We correctly count all _
    instances of Excel
    ExcelInstances = ExcelInstances + 1
    'Here is the problem. The following statement executes and returns a value of _
    -2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
    is set to nothing. It should be set to the object for Excel.application. _
    I believe that this value is not an object. I tried to reference tmp1. in the _
    immediate window. There was no Intellisense.
    'I think that the function in returning an error value, but I can't figure _
    out what it is. I believe that AccessibleObjectFromWindow returns error _
    values, but I don't know where to find their values so I can interpret the _
    function's results.
    'As best I can tell, the hWndXL parameter is correct. It is the handle for _
    an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
    above). xlapp is passed by reference as a non-initialized object variable, which _
    will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
    as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
    appears to work. I can see that IDispatch is set as I intended and correctly _
    passed to AccessibleObjectFromWindow.
    tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
    'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
    object. Also, I exect xlapp to be set to Excel.application
    End If
    'Loop until we've found them all
    Loop Until hWndXL = 0
    End Function
    Private Sub SetIDispatch(ByRef ID As GUID)
    'Defines the IDispatch variable. The interface _
    ID is {90140000-0016-0409-0000-0000000FF1CE}.
    'NOT USING {00020400-0000-0000-C000-000000000046}, _
    which could be the problem
    '9 is release version - first version shipped (initial release)
    '0 is release type - retail/oem
    '14 is major version
    '0000 is minor version
    '0016 is product ID - MS Excel 2010
    '0409 is language identifier - English
    '0 is x86 or x64 - this is x86
    '000 reserved
    '0 is debug/ship
    '000000FF1CE is office family ID
    With ID
    .lData1 = &H90140000
    .iData2 = &H16
    .iData3 = &H409
    .aBData4(0) = &H0
    .aBData4(1) = &H0
    .aBData4(2) = &H0
    .aBData4(3) = &H0
    .aBData4(4) = &H0
    .aBData4(5) = &HF
    .aBData4(6) = &HF1
    .aBData4(7) = &HCE
    End With
    End Sub
    DaveInCalabasas

    I don't think you can return a reference to Excel's main window like that as you are attempting to do.
    Ref:
    http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx 
    It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
    Option Explicit
    Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
    (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
    ByVal lpsz2 As String) As Long
    Private Declare Function IIDFromString Lib "ole32" _
    (ByVal lpsz As Long, ByRef lpiid As GUID) As Long
    Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
    (ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
    ByRef ppvObject As Object) As Long
    Private Type GUID
    Data1 As Long
    Data2 As Integer
    Data3 As Integer
    Data4(7) As Byte
    End Type
    Private Const S_OK As Long = &H0
    Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
    Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
    Sub test()
    Dim i As Long
    Dim hWinXL As Long
    Dim xlApp As Object ' Excel.Application
    Dim wb As Object ' Excel.Workbook
    hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
    While hWinXL > 0
    i = i + 1
    Debug.Print "Instance_" & i; hWinXL
    If GetXLapp(hWinXL, xlApp) Then
    For Each wb In xlApp.Workbooks
    Debug.Print , wb.Name
    Next
    End If
    hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
    Wend
    End Sub
    'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
    Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
    Dim hWinDesk As Long, hWin7 As Long
    Dim obj As Object
    Dim iid As GUID
    Call IIDFromString(StrPtr(IID_IDispatch), iid)
    hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
    hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
    If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
    Set xlApp = obj.Application
    GetXLapp = True
    End If
    End Function
    Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
    FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
    Peter Thornton

  • How do I get a refnum to multiple open excel instances?

    I'm using ActiveX to control interface to Excel2007 from my application (Labview8.5). Unfortunately, if I call Open Automation multiple times with 'create a new instance' set to false, a reference to the same instance of Excel is returned. I would like to get a reference to each open Excel instance. I can use the vi 'Get Task List' then use the vi 'Quit Application' to exit. Problem is if there are changes to be saved then Excel does not exit.
    I know I can get all the processes with .NET, but am unsure how to save and exit using .NET.
    Thanks in advance for any help.

    Hi Rickie!
    I looked into how you might save and exit programs using .NET, and was able to find this information on saving files using .NET and I was also able to find this information on manipulating files using .NET commands.
    As for ActiveX, you will need to see if you can assign GUID values to each instance of Excel that you have opened.  In some instances the GUID value assigned to multiple instances of a program will be the same, so this may not be possible.  I would look more into this and get back to us so we can keep working with you on this.
    Ben N.
    Applications Engineering
    Certified LabVIEW Developer

  • How do I create a selector within Xcelsius that launches an excel file or a pdf?

    We are using Crystal Xcelsius 4.5 and would like to have a radio button on the portal that launches an excel or pdf file. How do I create that button.

    I have 2 URL Link components one for a PDF and one for a Excel Sheet. The PDF works fine when you click the button. But when I click the Excel Link button, it opens a new window and right away i get ACTION CANCELED, if i Refresh it opens, but i would like to open it on the first click.
    Anybody experienced this and was able to fix it?
    You help is appreciated.
    Thanks.

  • Provide a new, unique instance name - Distributed Environment

    Hi,
    I am not sure about this piece of information in installation docs
    please refer
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121/frameset.htm?launch.html
    When you configure in a distributed environment, provide a new, unique instance name as you configure each server. For example, if you are using the default instance name epmsystem1 on the first server, and you keep the same naming convention on subsequent servers, you would create new, unique instance names on each subsequent server, such as epmsystem2, epmsystem3, and >so on. What if i use same path "d:\.......\epmsystem1" on all servers in distributed environment?
    Regards
    Kumar
    Edited by: Kumar 1 on Oct 4, 2011 6:18 AM

    Thanks John,
    Mostly i configured different instance name ("D:\oracle\middleware\epmsystem1" and "D:\oracle\middleware\epmsystem2" etc.
    but i have one client where i see similar instance on all servers in distributed environment "D:\oracle\middleware\epmsystem1" and "D:\oracle\middleware\epmsystem1" etc.
    Please advice? and let me know what could be impact of these two scenario.
    Regards
    Kumar

  • Bex Analyzer Toolbar in Excel

    Hi,
    I have a customer usind Bex Analyzer (Excel) for reporting.
    Does anyone know or maybe someone had to do it already if there is a <b>possbility to "grey out" buttons on the Bex Analyzer Toolbar in Excel (e.g. the "tools" button or the "settings" button)?</b>
    I would appreciate any information on that very much.
    Thanks for your help
    Christian

    Hi Christian,
    If you want this function to run when a workbook opens, you would put the code in the code window of "ThisWorkbook". 
    Tools >> Macros >> Visual Basic Editor is a good start.
    If the Project Explorer window is not visible, then use View >> Project Explorer (or Ctrl+R) to make it visible.
    Locate your workbook in the Project Explorer window.  It will be named something like VBAProject(xxxxx) where xxxx = your workbook name.  If the workbook was opened from the BW server, the name in parentheses might be something like xSAPtemp1234.xls.
    If you see a "+" to the left of the VBAProject name, then click to expand it.  You should now see at least two folders under the VBAProject name: 
    + Microsoft Excel Objects
    + Modules.
    Expand the Excel Objects.  Under the Microsoft Excel Objects heading, you will see icons representing each of the worksheets in your workbook, and an icon that is named ThisWorkbook.  That is where you would want to put the code if you want it to run every time that the workbook is opened.
    Select the ThisWorkbook icon, right-click, select View Code.  The code window should open on the right side of your screen.
    As an example, to execute the "test3" subroutine when the workbook opens, you would use the code below:
    Private Sub Workbook_Open()
        Call test3
    End Sub
    The code for test3 subroutine would be added to either a new (Insert >> Module) or existing Module.
    - Pete

  • How to get new controller instance instead of a cached one?

    Hi,
    I have the following problem. I am working on a stateful mvc application. You can search for items and then click on a button which allows you to see the details of an item in a new window and it is possible to modify it.
    I use standard javascript code to open the details windows:
    window.open("item.do?itemnumber=1", "MyFirstWindow");
    This works fine. It opens the first window. The item controller is called for the first time  and the do_init method will be executed.
    Now, I open a second window with this code:
    window.open("item.do?itemnumber=2", "MySecondWindow");
    Unfortunately the framework will not create a second controller instance for the second window. It will use the already existing item controller (the do_init method will not be called).
    Now, I have two windows open which both use the same controller instance.
    So my question is: Is there the possibility to tell the framework that I need a new item controller instance for every new window?
    I already checked various official url sap-parameters but did not find anything useful.
    regards
    Thomas

    Hi,
    sorry for not answering earlier. To be honest I thought there might a standard way to get a new controller instance. But it seems that is not the case. For everybody who is interested I think I will use the following solution.
    I create a wrapper controller called itemwrapper.do. The view of this controller has the following layout:
    <htmlb:content design="design2003" >
      <htmlb:document>
        <htmlb:documentHead>
        </htmlb:documentHead>
        <htmlb:documentBody>
                  <bsp:call url     = "item.do"
                            comp_id = "<%= item_id %>">
                    <bsp:parameter name="itemid" value="<%= item_id %>"/> 
                  </bsp:call>
        </htmlb:documentBody>
      </htmlb:document>
    </htmlb:content>
    The wrapper controller is called like this: item.do?itemid=1234.
    How does is works? The wrappercontroller gets a request -> it gets the itemid from the url -> it opens the view and fills the page attribute item_id. In the view the bsp:call extension will create a new item controller instance everytime a unique item_id is used.
    regards
    Thomas

  • How to create a New Excel File programmatically

    Hi !
    I am documenting acquired data continuously in an excel file, what I need to do is to create a new excel file automatically when the size of the previous file exceeds a certain limit lets say 1MB.
    I have tried using the simple 'Create/Open File' function and the 'Write to Spreadsheet File' function to create the new excel file. I does create a file but when I open the file it says the format of the file is not what you have opened it with.
    Also when the new file is created, three new worksheet are to be added programmatically with pre-defined worksheet name and also Column headers for each of the worksheet are to be added.
    I am also using 'Labview Report Generation Toolkit for Office'.
    Regards,
    Reeves
    Solved!
    Go to Solution.

    @ Aldo A
    Thanks for the reference to tutorial, I didn't know about them. They are useful in general but unfortunately they don't answer the problem of creating an altogether new excel file programmatically.
    @ ben64
    The template thing simplifies the issue of formatting the new file. But I am still working on the new excel file creation challenge.
    Let me put my problem in a different way.
    Certain data is being acquired continually and is being written to a certain excel file, when the size of the file exceeds lets say 1MB the program should start saving the data in a NEW FILE instead of the previous file.
    I have attached the VI to explain what I am trying to achieve here.
    Reeves
    Attachments:
    New Microsoft Office Excel Worksheet.zip ‏30 KB

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • How can I create a new excel workbook only with labview

    Hi everyone...
    I'm trying to create a new excel workbook only with labview but I can't find the file in the hard disk.
    Someone knows?
    Labview 8,0
    Attachments:
    Create new WB with LV.vi ‏18 KB

    You are not using the correct mechanism. Pull up the Example Finder in LabVIEW, click on the "Search" tab, and enter "Excel". Look for an example called "Write Table to XL". Use this as a starting point for creating new workbooks and adding data to it.
    Note: on disk the example is at <LabVIEW install directory>\examples\comm\ExcelExamples.llb.
    Message Edited by smercurio_fc on 06-05-2007 11:08 AM

  • How can I create a new OC4J Instance in Application Server Control

    Hi All,
    Is there any way to create a new OC4J Instance in Application Server Control of installed SOA Suite, so that it gets listed in Cluster Topology page.
    Thanks
    Krrish

    Hi Eric,
    Thanks for the reply.
    it is pretty simple..which I didnt try earlier..
    Thanks
    Krrish

Maybe you are looking for

  • Sharepoint Designer 2010 and Visio 2013

    I am testing out Visio Professional 2013. I can import a VWI file from Sharepoint Designer 2010 and I can export a VWI file from Visio. But when I try to import the VWI file created in Visio 2013 into sharpoint Designer 2010 it appears to work, as I

  • How can I disable synchronization of search input fields between different applications?

    Hi This feature, as I'm assuming it is, is really starting to rub me a very wrong way... Whenever I write anything in the search field of what seems to be any application in OS X, the input I write in the search field is being copied to any other app

  • Document in scenebuilder

    Hi; i just intalled scene builder and i try the tut issuetrackinglite but i can't find the tab : document in the inspector panel according to the tut help please

  • TS1717 iTunes won't open in windows 7

    Since upgrading iTunes, it will not open in windows 7

  • Should I get Motion 5?

    Considering getting motion 5 but just checking that it has some essentials for me. 1. Colour removal on clips and replacing with background, basically for greenscreen stuff 2. Adding animations to clips, not just for adding titles, but importing gifs