Excel ActiveX Problem

Hello All,
I think every body knew that If I move spreadsheet ActiveX control from one version to other. It will not work and we need to reconnect. 
I built an application, which can be used in several countries and mostly I am facing the problem with ActiveX. Because of version change.
Now even we are thinking not to give Microsoft office to the customer to reduce the cost of machine.
So is there any LabVIEW internal tool, which can used to design as Excel and use. It is so important that not to use any ActiveX control of Microsoft.
Please let me know, if any body knows,
Thanks,

LVTestek wrote:
Hello All,
I think every body knew that If I move spreadsheet ActiveX control from one version to other. It will not work and we need to reconnect. 
I'm not sure that everybody knows that, and I'm not quite sure I actually understand what you're saying here. Yes, if the ActiveX interface changes then you need to update the code to reflect the API change. I don't understand what you mean by "reconnect".
Now even we are thinking not to give Microsoft office to the customer to reduce the cost of machine.
So is there any LabVIEW internal tool, which can used to design as Excel and use. It is so important that not to use any ActiveX control of Microsoft.
The only thing that NI has available is the Report Generation Toolkit, but that requires Office in order to work. I do recall people asking about an interface to Open Office, but I don't recall how far any kind of development has gone related to that. You can do a search for "Open Office" and see what's available. What are you trying to create? Are you trying to create spiffy reports, or just saving data? If it's the latter you can probably get away with simply writing text files using the Write to Spreadsheet File VI or the Write to Measurement File VI.

Similar Messages

  • ActiveX problems after upgrading to 7.0

    I upgraded from 6.1 to 7.0. I kept the 6.1 version intact. Afterwards the ActiveX functions did not work in either version. For example, the 3D plots within Labview did not work. I had to uninstall 7.0 and reinstall 6.1 for it all to work again. Any comments?

    Greg McKaskle wrote in message news:<[email protected]>...
    > > I upgraded from 6.1 to 7.0. I kept the 6.1 version intact.
    > > Afterwards the ActiveX functions did not work in either version. For
    > > example, the 3D plots within Labview did not work. I had to uninstall
    > > 7.0 and reinstall 6.1 for it all to work again. Any comments?
    >
    > I suspect that this isn't a general ActiveX problem, but a problem with
    > the specific 3D graph control. I don't really know why that happened,
    > but the first thing to do would be to install 7.0, on a safe machine and
    > see if other ActiveX, such as to Excel, or dropping the calendar control
    > works or not. You might then want to search the support site and see if
    > this is alr
    eady known, otherwise contact them and see if they can help
    > you debug it.
    >
    > Greg McKaskle
    Here is a simple test I would do if I fall into such a problem.
    I would install LabVIEW Express(7.0)on a windows 2000 machine (a clean
    machine would be prefereable).
    Then drop a automation open function. Create a Control and then select
    an ActiveX class to the Microsoft Common Dialog Control Version 1.0
    type library.
    Select the CommonDialog (MSComDilg.CommonDialog.1) object.
    You can select any of the objects depending on the type library
    choosen.
    Now go back to the diagram and drop the property node. Connect the
    property node and take care the error handling. Now by selecting
    different properties, one ata time you can check if there is any error
    returned.
    Repeat the same procedure with LV 6.1.
    If there is an error returned in one property when using LabVIEw
    Express but it works fine with LV6.1, then probably this is to be
    reported to an Application engineer of NI.
    Good luck

  • Excel ActiveX error in exe: library not registered

    Hi,
    I wondered if any of you can help me as I'm at a bit of a
    loss. I have an application that is complied to exe, and installed with
    an installer in LabVIEW 8.5.1 that uses the Excel ActiveX interface to
    write to an xls file. In development and on all of my testing this
    seems to work fine (with Excel 03 and 07) but I have just received a
    bug report whereby on a particular install the following error has been
    thrown form my Open Excel VI (see attached code). Apparently it was
    working but this machine has recently upgraded some data management
    software (Goldmine 6.0 -> 7.5) and since then it hasn't worked.  The error generated is:
    Error code:-2147319779
    source: "Library not registered."
    Troubleshooting
    is complicated a little as this is running as an exe and the source
    code seems to work fine on my development machine.
    Any ideas would be GREATLY appriciated!
    (my current inclination is to ask the customer to resintall Office and
    Goldmine and then reinstall the LabVIEW app - so far he has only tried
    reinstalling the LabVIEW software)
    Shaun
    (this message is also posted on Lavag.org = http://forums.lavag.org/Excel-ActiveX-error-in-exe-library-not-registered-t11912.html)
    Attachments:
    Open Excel.vi.png ‏52 KB

    It would really help to see the relevant code, and to know which version of LabVIEW is being used.  I notice the original code was developed on LabVIEW 8.5, and the Poster mentions older versions of Office (and is writing an .xls instead of an .xlsx file), suggesting the original code is about 7 years old.
    About 4 years ago, I got frustrated with trying to use ActiveX, and NI developed a much more robust Report Generation Toolkit.  I've adopted the RGT and haven't looked back.  Most of the weird errors I used to fight are gone, and building executables is (mostly) no pain (there's a small glitch that required manual OK-type intervention when you first encounter the Toolkit in a Build).  I'm guessing that it should be pretty easy to rewrite your code using the RGT in place of ActiveX, and I'm willing to help ...
    Bob Schor

  • ActiveX problems with 3.0.F.2 (fwd)

    This is the message I sent to tech support. Has anyone else seen this
    type of thing? Any suggestions (even half-baked) would be appreciated.
    -- Adam
    ---------- Forwarded message ----------
    Date: Tue, 17 Mar 1998 13:48:17 -0600 (CST)
    From: Adam Mckee <[email protected]>
    To: [email protected]
    Subject: ActiveX problems
    Product: Forte
    Version of Forte: 3.0.F.2
    Server OS: HPUX
    Client OS: NT/Win 95
    DBMS: Oracle
    Reproducible(?): Yes
    Brief description of issue:
    I have experienced problems using ActiveX controls. I have tried several
    controls, including:
    o Microsoft Forms 2.0 SpinButton
    o Microsoft Forms 2.0 CheckBox
    o Microsoft Forms 2.0 EditBox
    o AddSoft Gantt/OCX
    o Sheridan MonthView
    o Sheridan DayView
    o Sheridan DateCombo
    o Microsoft Calendar Control
    (specifically mentioned in a Forte technote)
    I have experienced problems with all of these controls. With the Sheridan
    DateCombo, the Forte environment crashes when I attempt to drop the
    control into a form using the "Insert Control..." button. Before the
    environment crashes, I get a series of informational and error dialog
    boxes as follows:
    o error: unexpected exception -10737415717
    o error: The Error Manager stack is empty (repeated 3 times)
    o information: the workspace is now read-only because the
    repository is disabled.
    o error: Exception escaped from terminating task CW.Display
    o ERROR: TMgr.Terminate: fatal error terminated partition
    With all the other controls I tried, the ActiveX support appears to work
    properly until I attempt to bind an instance of the olegen-generated
    class to the control itself in the window's Init() method:
    --- MyWindowClass.Init() ----
    super.Init();
    myActiveXControl = new();
    After this has been done, the Forte environment may "hang" when I interact
    with the control at run-time. For example, each time a generate a mouse
    event inside the control, I risk hanging the Forte environment. I might
    be able to interact with the control 50 times before the environment
    hangs, or it might hang after a single mouse click. Until the crash/hang
    occurs, the ActiveX support appears to work properly: I am able to trap
    mouse events, and interact with the control using the provided interface.
    Any help or advice you can offer would be appreciated. I would be happy
    to provide any additional information you may require.
    -- Adam McKee

    I don’t recall any problems importing to “selected item’ which I always use so I define where it goes and what it’s called.
    Do you have Aperture’s Activity Window open so you can see where it is hanging up? Is it just busy generating Previews etc.? I know it sounds more serious than just ‘busy’ but would be interesting to know what it’s doing then.
    After these problems, assuming that previews and thumbnails are generated correctly, it may be a good precaution to restart Aperture while holding down the OPTION and COMMAND keys so you can Repair Permissions or Repair the database. Even rebuilding the database is fairly quick if those first two options are ineffective.

  • Export to Excel - Macro problems

    I have moved this to the Discoverer forum. Exporting to Excel - Macro Problems
    Message was edited by:
    user385142

    Hello Denes.
    Excuse me for send you a message in this way , but I dont find other way to contact with you.
    Im using the export_excel_pkg, and really it work good.
    I have only one problem, I tell you.
    When, in one item, data is very long and numeric, by example a EAN code, without any class of format, by default it give me the value ###, Im studing the package and trying to resolve this, but if you can send me any idea it can help me a lot.
    Thanks in advanced.
    You are doing a great work for us.

  • Excel export problem using craxddrt

    Hi,
    I'm using craxddrt v.11.5 in our intranet application to export rpt.reports to different formats. My code works well with PDF and text exports, but when it comes to Excel after the .Export(false) method executes the browser window just goes into idle then the session finally expires. I never catch any error. I have tried several export options with no prevail.
    I suspect the Excel export is missing some info to complete and it is trying to prompt me, but no visible prompt gets displayed/answered so it just expires.
    Could anyone help me out. I've spent several days researching and fixing the code and ran out of ideas.
    Sincerely
    Steve Komaromi

    Hi Steve, Is there some reason you are posting this question over and over again?
    Try looking at your same post: Excel export problem using craxddrt
    Also, RDC is legacy product. Look for you answer where you posted the exact same question in the legacy forum.

  • Excel ActiveX Development

    Hi all,
    I would like to know where I can find some guidance and examples on Excel ActiveX development.  Is there a thread dedicated to Excel development in LV?
    Basically all I want to do is create a report in Excel based on some control values etc within a VI.
    I don't have Report Gen Toolkit and don't want to purchase.  I have seen that it can be done using ActiveX functions.  Is this the way to go?
    Thanks for your help!
    Battler.

    The excel board is located in the breakpoint:
    http://forums.ni.com/t5/BreakPoint/Excel-Board/m-p/379682
    And yes, if you don't want to purchase a toolkit, using ActiveX on your own is the way to go.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Excel & ActiveX: Insert arbitrary columns from 2D array and create graph problems

    Hi there,
    I want to insert data from either a 1D or 2D array from LabView into Excel and create graphs.
    I used the information from the following example:
    http://www.ni.com/example/28934/en/
    and was able to create a new Excel file (I'm using Excel 2010), writing data from an 1D array to a column in excel by creating a while loop and using the first element of the array to write it to a specific cell. I use the counter of the loop to write to the next cell when the loop starts over and always delete the first value, which I write to the cell, from the array until it is empty.
    Now I also would like to write a 2D array - so the first column in Excel should be the first column from the array and so. Here I cannot use the loop counter directly as Excel only counts 1,2,... for the rows, but uses A,B,... to count columns. Also I do not know in advance how many columns my 2D array will contain, so creating a lookup table like (A means 1, B means 2,...) is not really an option (except there really is no other way). Is there a possibilty to convert numbers into letters or some way to 'explain' to the program that column 2 in the array means column B in Excel for example, or is there a way to insert new columns?
    I figured out how to add new Worksheets and as I also need to create a certain number of Worksheets and I know that on standard 3 sheets are present when creating the file, I use the 'add' methode to create every new worksheets before worksheet 3 - I could use the same methode to create new columns in Excel, but so far I didn't find a methode to do so. Or is there a way to enter the whole 2D array at once?
    Then I'd like to create a graph (in case of the 1D arrays a bar plot, when using 2D arrays a 3D plot) to view the data. I found this example:
    http://www.ni.com/newsletter/51339/en/
    -> as I do not have the toolkit I'd like to do it using ActiveX directly, so I tried to do things like shown under the headline 'DIY ActiveX/.NET'
    I tried to load the snippet to a new Excel file but got the error message 'microsoft.office.interop.excel.dll not found' and hence the code is not working. That confuses me a little as I would guess when this dll is not present I cannot access Excel from LabView at all, though my understanding of what I'm really doing so far is quiet limited. ;-)
    Also - as far as I understand from the snippet - when creating a new chart object I should be able the create methodes for it, however when I do a right click on the chart object of an ActiveX Worksheet symbol there are none listed.
    To explain my problems better I added a snippet showing my two problems: The inner of the two while loops shows how I import a 1D array. In the outer loop I seperate the columns. I know that currently this is not working as all data end up in column A of the Excel sheet - so I would need to convert the number of the outer counter to A, B,... or find a different solution.
    Moreover on the snippet I placed an ActiveX Worksheet Property with the Chart Object - as I can see the difference to the Chart Object in the example code from the last link above is the color. However I'm not sure what that means and how to change/ solve this.
    And just to make sure - I know this way the VI does not run as the Chart Object is placed completely wrong - I just did it, so it is included in the snippet.
    I'd be thankful for any suggestions,
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    ExcelAreaScan.png ‏60 KB

    Hello everyone and thanks for the answers.
    I only have the LabView Student Edition available here - is the toolkit included in it too. How can I check if it is installed/ available and in case it is installed - where can I find it?
    Today I had time to take a look at the example
    Create via ActiveX Labview a XY Scatter plot graph on an excel sheet
    It almost does what I want in terms of creating a graph. The only problem I could not fix, is that in this example a sheet is created where only the graph is present. i'd like to add the graph to a previously created worksheet. Today I tried get this working but it seems I stilll don't really understand what I'm doing, I'll post a snippet of my code as soon as I can access the PC with LabView on it again.
    I also took a look at the other example for inserting 2D attays - it seems to be what I need, I just had no time so far to test it, I'll post an update when I could test it.
    Thanks for the help so far!

  • Excel ActiveX invoke nodes are broken

    I am using LabVIEW 2007.  We are using a VI that runs on most of the PC's in our facility however on some the "invoke node" related to Excel functions don't operate. They are broken and the VIs won't run.  We get errors that the "Invoke Node: contains unwired ro bad terminals".  When going to select methods or properties not all of the properties are shown as seen on the functional PCs. Some of the properties are missing from the selection menus, thus making it incompatible.
    Has anyone seen this problem and a solution?
    Thanks
    Manliff,

    What about separating the compiled code from the source?  I recognize that this will only work in LV2010, but I expect that that will prevent the compiler from breaking activeX code that depends on a different version than the local one...
    Testing this idea is on my to-do-list, but I was wondering if anyone has tried it already.
    -Barrett
    CLD

  • Excel activex call changes between Office 2000 and Office XP. How does one manage that?

    I have several Active X calls from within a VI. One in particular is
    the Excel Cell Value property node in Office 2000. MS has decided to
    call it Excel Cell Value2 in Office XP.
    I have built and exe on a machine with Office 2000 and can run the code
    on a machine with Office XP, but I can not build on the machine with
    Office XP. I can also run a VI with that call
    on the Office XP box, but if I mass compile the VI I get the broken arrow.
    I guess I am confuesed as to why it can run but not compile. If the
    ActiveX call is not there for the compile why is it there for the run?
    If I can expect this does it work in reverse where I
    build on an Office XP box and run on a Office 2000 box?

    These problems you are experiencing do stem from the ActiveX changes between Excel versions.  When you mass compile LabVIEW checks to see if everything is linked correctly, including ActiveX portions of your code.  Since there are slight changes the LabVIEW compiler detects something is wrong, but cannot isolate the problem.  You might need to force a recompile of that VI.  Check out this link.
    http://digital.ni.com/public.nsf/websearch/50D06DEE8B9DC018862565A0006742F2?OpenDocument
    Hope this helps!
    Andy F.
    National Instruments

  • Excel ActiveX slow when not connected to internet

    Using LabVIEW 8.5
    I hope someone has some insight into this problem because I'm lost. I have a program that communicates with a VXI instrument using a direct connection (crossover cable). I have a subVI in the program that takes data already in the program and writes it to an exisitng Excel workbook using ActiveX. When I run this subVI by itself when I have internet access (DHCP enabled), the subVI takes <2 sec to complete. However, when I am conencted to the instrument using a crossover cable, the subVI occassionally (about 1 out of 3 runs) takes >13 sec to complete. As a test, I connected back to my normal network but kept the manual TCP/IP settings (so Local Area Connection shows a network connection but I can't access the internet). I got the same result, with the subVI taking >13 sec to complete at time. Can anyone explain this behavior? Any remedies? I assume Excel or ActiveX is trying to access the internet, but that doesn't make a lot of sense.
    Perhaps a related issue is when I don't have internet conection LabVIEW has problems updating the Block Diagram (i.e. a right click on a wire takes several seconds to bring up the shortcut menu and causes LabVIEW to freeze). Any rememdy for this? I don't know if it is completely related to the issue above, because I created an installer of the subVI and it still exhibits the same behavior (unless maybe its a LabVIEW Run TIme issue?)
    I've attached the necessary VI's. To test you'll need to create some Excel workbook and then change the File Path control in the subVI. Also change your TCP/IP settings to something random (I use 192.168.0.2, sub 255.255.255.0, gtwy 192.168.1.1, dns 192.168.1.2, alt dns 192.168.1.3). Any suggestions welcome, or even verification of the behavior I've described.
    Thanks
    Michael
    Attachments:
    WriteExcelExistsTEST.vi ‏113 KB
    Row Col To Range Format.vi ‏17 KB

    Thanks for the response. I tried several different ActiveX applications like you suggested including: Microsoft Word 12.0 Objects Library Version 2.4,  Microsoft Internet Controls Version 1.1 Internet Explorer IWebBroswerApp, Microsoft Outlook 11.0 Object Library Version 9.2 Application, etc. The only one I could get to exhibit the same behavior as the Excel app was Microsoft Visio 11.0 Type Library Versionn 4.b, and thats because Visio itself opens when I run the Automation Open then Close.
    I then tried opening both Excel and Visio seperately by double clicking their link instead of using LabVIEW and ActiveX with the changed TCP/IP settings , and the same behavior was shown; occassinally it would take about 12 sec to open. So it must not be an ActiveX issue but something with Excel and Visio and my computer (since you didn't see the same behavior on yours). I guess I'll have to go searching the web for an answer...
    For completeness and to answer your questions, the environment does not have an internet connection (see first post, network created by a computer with a crossover cable to a VXI-11 instrument). Using Windows XP and Office 2003
    Michael

  • ALv to excel download problems

    HI friends,
    Probelm I'm facing while saving an ALV report to Excel Sheet by clicking
    on the 'Save as File Icon' button on the ALV output.=0D
    Here data is going into a new Line after 65 columns.I've used Function
    Module 'RSAQ_ALV'.This function module is ultimately using
    'REUSE_ALV_GRID_DISPLAY' and 'REUSE_ALV_LIST_DISPLAY' function
    modules.ALV output I'm getting correctly but when I save this ALV output
    to Excel,columns are getting wrapped and going into 2nd row after 65
    columns.=0D
    Could anybody tell me what could be the reason ?=0D
    Thanks,
    Sreekanth.G
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Jul 9, 2010 12:36 PM

    ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
      ch_alv_layout-colwidth_optimize = 'X'.
    try commenting the above values.and also check the Fieldcatlog.
    Check the issue similar issue was resolve by checking catalog and layout:
    [ALV Issue solution|Re: Problem when export ALV.]
    Regards,
    Gurpreet

  • 'File is already' open error in Excel, recent problem with ddeexec

    We are getting an increasing frequency of errors when opening Excel files at my company.  Our employees all use W7 SP1 32-bit and Office 2010 Pro Plus.  We store files on a Windows 2008 R2 SP1 File server.  The errors have occurred a lot in
    the last 2-3 weeks, but weren't a problem before then as far as we know.
    The error we are seeing is when you double-click to open an Excel file, you get the following message: "<file name> is already open.  Reopening will cause any changes you made to be discarded.  Do you want to reopen <file name>?"
    When you open Excel first and then open the Excel file, the error message does
    not occur. 
    If you have Excel open and double-click the file to open it, the error message does
    not occur. 
    This only occurs when Excel is closed and you double-click the file to open it.  There appears to be an issue with 'dde'
    If you click 'Yes' to the error, the file will reopen and you can make edits normally & save changes.  This error doesn't happen with all Excel files on our network.  I think it may have to do with linked data.  Some of these Excel files
    look up to data on an Access database, for example.  The database itself isn't 'open' by any user and neither is the Excel file.  This isn't a 'file in use' problem.
    I can hack the registry (see below) to get the error to go away (removing dde), but I'm looking for a more sustainable fix. 
    How do I get these errors to stop popping up? 
    I have tried Repair install of Office on a few machines with no success.  When the issue occurs on a particular file, you can reproduce it on a different client.  That is, it doesn't seem to be client-specific although you can 'fix' it by changing
    how files open on the client machine.  Again, this has been an error we are seeing a lot in the last 2-3 weeks.
    [HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open]
    @="&Open"
    [HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]
    @="\"C:\\Program Files\\Microsoft Office\\Office14\\EXCEL.EXE\" /e \"%1\""
    "command"=-
    [-HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\ddeexec]

    The "Ignore applications that use DDE" checkbox was already cleared.  Just to see what would happen, I tried selecting it and it gives this error when I try to open the file:
    There was a problem sending the command to the program.
    That is, if the "Ignore apps that use DDE" checkbox is selected, the file doesn't try to open twice, but it gives the above error and opens once. 
    (I know this isn't what you asked me to do, but I wanted to give you this information in case it was of any help.)
    I am using Windows 7 and the File Types tab from Folder Options does not exist in W7.  I did dig into the registry and adjusted the Open command for .xlsx files and removed "%1" as a test.  This allowed me to open the file with no errors.
    Working registry entry:
    [HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]@="\"C:\\Program Files\\Microsoft Office\\Office14\\EXCEL.EXE\""
    I also tried replacing "%1" with /dde.  This also allowed me to open the file with no errors.
    Alternative working registry entry:
    [HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open\command]
    @="\"C:\\Program Files\\Microsoft Office\\Office14\\EXCEL.EXE\" /dde"
    This still doesn't fix the root of the problem.  This only started happening 3-4 weeks ago and the only fixes we've found so far are registry edits.  I'd rather not have to push out these registry hacks to the entire company.  The root problem
    needs to be addressed! 
    UPDATE:  the /dde didn't appear to permanently fix anything > Excel reverted back to having %1 at the end of the registry key

  • Export to Excel formating problem

    I am having a problem with the formatting of a an export file
    to Excel, which is created by a Coldfusion page. My export file
    contains numbers that need to be formatted as text. I found the
    style code below on this forum, but I am not having any luck with
    it. I tried adding it to my style file or directly as style
    formatting on the export page, but neither one of the two are
    getting recognized.
    Is there anything else I need to code before this works? Your
    help is greatly appreciated. Thanks,
    Rose
    <html>
    <STYLE TYPE="text/css">
    TD {
    mso-number-format:\@;
    </style><body>
    <!---<cfheader name="Content-Disposition"
    value="inline; filename=Exportdata1.xls">--->
    <cfcontent type="application/vnd.msexcel">
    <cfheader name="Content-Disposition" value="inline;
    filename=export.xls">
    <cfquery name = "getclub" datasource="#DSN#">
    Select mail_name name,…
    </cfquery>
    <table width="200" border="2">
    <cfoutput query='getclub'> <tr>
    <td>#customer#</td>
    <td>#dateformat(begin_date,'mm/dd/yyyy')# -
    #dateformat(end_date,'mm/dd/yyyy')#</td>
    </tr></cfoutput>
    </table>

    Could it be a case sensitivity issue? I also noticed that you
    are missing a <head> tag pair, and that your date range field
    is not actually numeric. I doubt that excel is that delicate when
    it comes to those issues, but you might try:
    <html><head>
    <STYLE TYPE="text/css">
    TD.number {
    mso-number-format:\@;
    </style></head><body>
    <cfcontent type="application/vnd.msexcel">
    <cfheader name="Content-Disposition" value="inline;
    filename=export.xls">
    <cfquery name = "getclub" datasource="#DSN#">
    Select mail_name name,…
    </cfquery>
    <table width="200" border="2">
    <cfoutput query='getclub'> <tr>
    <td class="number">#customer#</td>
    <td>#dateformat(begin_date,'mm/dd/yyyy')# -
    #dateformat(end_date,'mm/dd/yyyy')#</td>
    </tr></cfoutput>
    </table>
    </body>
    </html>

  • Excel Download problem - Urgent please

    Hi All,
    I am using 4.6C version.
    The user is downloading the ALV output to excel from the output menu
    List > Save > File > Spreadsheet >
    User tried saving a file to the Local drive and got a "Disk is full" error.
    User realized that the export didn't complete (Partial download)
    because there wasn't enough disk space to export the report.
    User stated that if he had received an error message of some sort, he might have realized the problem.
    He didn't receive any kind of errors.
    User would like some kind of error message to come up in those situations.
    Without an error message, he assumes the reports are acurate and trusts them.
    <b>I have analysied and found a exit EXIT_SAPLGRAP_001 which triggres after the popup asking the file path. However this exit doesnot give me the file path</b>.
    After this i think i can make use of the class CL_GUI_FRONTEND_SERVICES and method GET_FREE_SPACE_FOR_DRIVE and FILE_GET_SIZE to check for disk space full.
    Kindly let me know how to get the file path given in the popup to get it in the exit EXIT_SAPLGRAP_001. Also there was no parameter id for the field.
    Thanks for your help.
    Senthil

    Senthil,
    "However in this case the sap didnot uses GUI_DOWNLOAD to download instead it uses download FM. "
    What "download FM" is 4.6 using then?
    The GUI_DOWNLOAD does check for a disk_full situation... I find it hard to believe that SAP made an oversight here.
    I believe that the user is not telling the truth to you... or something else happened in that they have not conveyed to you.

Maybe you are looking for