Reports & activity opening an excel file

Hello,
We are running ACS v3.3 on a windows 2003 env. when we try to open a csv file, it opens in the browser, I want it to open in a seperate Excelfile. In our v3.0, it worked that way, what do we need to change so it open once again in an Excel sheet ?

I assume you are using ACS Admin looking on the reports & activity pages?
If you want to view with excel you'll have to download the csv first. You can do this manually for each report you click on..
..or you could look at our csvsync application that pulls down all the reports from multiple ACSs.
www.extraxi.com/utils.htm

Similar Messages

  • How to open an excel file with password in Crystal Reports XI  Release 2

    I have a problem when i try to open an excel 2003 file with password that i know
    i recevived an error code 0xc59
    How can I open a file in excel 2003 protected by password to create the report?
    Thanks in advanced

    Hi Pierluigi,
    It looks like you have to open the excel file and use the data.
    A few informative links.
    http://support.microsoft.com/kb/257819#RetrieveExcel
    http://support.microsoft.com/kb/211378/EN-US/
    Hope this helps.
    Regards,
    Abhijeet Taskar.

  • After upgrade to 10.9.1 office for mac 2011 will not open most excel files.

    After upgrade to 10.9.1 office for mac will not open most excel files. The files will open in open office. I have tried re-saving as excel file, no joy.
    I have repaired permissions, no joy.
    below are the results of EtreCheck scan.
    Hardware Information:
              MacBook Pro (13-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.3 GHz Intel Core i5 CPU: 2 cores
              8 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 5 days 3:45:14
    Disk Information:
              Hitachi HTS545032B9A302 disk0 : (320.07 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 319.21 GB (64.84 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5970H 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              org.virtualbox.kext.VBoxDrv          (4.1.2)
              org.virtualbox.kext.VBoxUSB          (4.1.2)
              com.logmein.driver.LogMeInSoundDriver          (1.0.3 - SDK 10.5)
    Startup Items:
              VirtualBox: Path: /Library/StartupItems/VirtualBox
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.logmein.logmeinblanker.plist 3rd-Party support link
              [System] com.logmein.logmeinserver.plist 3rd-Party support link
              [System] com.logmein.raupdate.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
              [System] com.sharpcast.xfsmond.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_service.plist 3rd-Party support link
              [System] com.zeobit.MacKeeper.AntiVirus.plist 3rd-Party support link
              [System] org.macosforge.xquartz.privileged_startx.plist 3rd-Party support link
    Launch Agents:
              [System] com.logmein.LMILaunchAgentFixer.plist 3rd-Party support link
              [System] com.logmein.logmeingui.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagent.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagentatlogin.plist 3rd-Party support link
              [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer.plist 3rd-Party support link
              [System] com.teamviewer.teamviewer_desktop.plist 3rd-Party support link
              [System] org.macosforge.xquartz.startx.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] .dat0157.000 (hidden)/Users/fboyd3/Library/Application Support/Spotify/SpotifyWebHelper
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.google.keystone.agent.plist 3rd-Party support link
              [not loaded] com.microsoft.LaunchAgent.SyncServicesAgent.plist 3rd-Party support link
              [not loaded] com.spotify.webhelper.plist 3rd-Party support link
              [not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
              [not loaded] org.virtualbox.vboxwebsrv.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              GrowlHelperApp
              Alarm Clock
              Canon IJ Network Scanner Selector2
              Microsoft Database Daemon
              SugarSync Manager
              Neat
              LogMeIn
              Dropbox
              Spotify
              Spotify
              AdobeResourceSynchronizer
    Internet Plug-ins:
              LogMeInSafari64: Version: 1.0.730 3rd-Party support link
              OVSHelper: Version: 1.0 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.0.0.126   - SDK 10.8 3rd-Party support link
              AmazonMP3DownloaderPlugin101750: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              DivXBrowserPlugin: Version: 2.1 3rd-Party support link
              LogMeIn: Version: 1.0.730 3rd-Party support link
              Flash Player: Version: 12.0.0.70 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              LogMeInSafari32: Version: 1.0.730 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
              SharePointBrowserPlugin: Version: 14.3.4 - SDK 10.6 3rd-Party support link
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 3rd-Party support link
              EPPEX Plugin: Version: 3.0.0.0 3rd-Party support link
              WidevineMediaTransformer: Version: (null) 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 25 Outdated! Update
    Safari Extensions:
              DivX Plus Web Player HTML5 <video>: Version: 2.1.0.900
              Open in Internet Explorer: Version: 1.0
              ClickToPlugin: Version: 2.5.3
              DivX HiQ: Version: 2.1.0.900
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              Move-Media-Player: Version: npmnqmp 071705000010 3rd-Party support link
              WebEx64: Version: 1.0 - SDK 10.6 3rd-Party support link
    3rd Party Preference Panes:
              DivX  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Java  3rd-Party support link
    Old Applications:
              Microsoft Language Register:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1326
                        Cisco WebEx Event Center:          Version: 1304.07.2811.0 - SDK 10.5 3rd-Party support link
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
              Neat ADF Scanner 2008 10_5:          Version: 1.0.0.15 - SDK 10.5 3rd-Party support link
                        /Library/Image Capture/Devices/Neat ADF Scanner 2008 10_5.app
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1324
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        Cisco WebEx Meeting Center:          Version: 1304.23.2811.0 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 1206.25.2804.0 - SDK 10.5 3rd-Party support link
                        atmsupload:          Version: 1209.12.2806.0 - SDK 10.5 3rd-Party support link
              Amazon MP3 Downloader:          Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
              /Applications/Microsoft Office 2011
                        Microsoft PowerPoint:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Outlook:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Word:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Document Connection:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              Solver:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
              /Applications/Microsoft Office 2011/Office
                        Microsoft Graph:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Utility:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Office Reminders:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Upload Center:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        My Day:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        SyncServicesAgent:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Open XML for Excel:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Alerts Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Database Daemon:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Chart Converter:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
                        Microsoft Clip Gallery:          Version: 14.3.4 - SDK 10.5 3rd-Party support link
              /Applications/iWork '09
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              /Users/[redacted]/Downloads
                        Install Spotify 7:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 3:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 2:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 4:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 5:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        Install Spotify 6:          Version: 1.0 - SDK 10.5 3rd-Party support link
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  97%          Microsoft Outlook
                  16%          Google Chrome
                   5%          WindowServer
                   3%          Finder
                   2%          EtreCheck
    Top Processes by Memory:
              180 MB          Finder
              164 MB          soffice
              156 MB          mds_stores
              147 MB          Google Chrome
              131 MB          Numbers
    Virtual Memory Information:
              928 MB          Free RAM
              2.59 GB          Active RAM
              1.22 GB          Inactive RAM
              1.57 GB          Wired RAM
              31.52 GB          Page-ins
              1.33 GB          Page-outs

    Follow these instructions to uninstall MacKeeper. They have been tested with the most recent version of MacKeeper (v 2.8). Earlier versions than the one released in 2012 require more extensive work to uninstall all its components.
    The effects of having actually used MacKeeper to do anything are a completely different matter. The fastest way to take an exquisitely designed and painstakingly engineered Mac and make it run like a steaming pile of dung is to install and use such ill-conceived "cleaning" or "security" products. This is just one example of a broad category of time- and money-wasters capable of causing damage that can only be rectified by reinstalling OS X, restoring from a backup, or completely erasing your system and rebuilding it from the ground up. Never install such junk on a Mac.
    If you used MacKeeper to encrypt any files or folders, use MacKeeper to un-encrypt them first.
    Quit the MacKeeper app if it is running.
    Open your Applications folder: Using the Finder's Go menu, select Applications.
    Drag the MacKeeper icon from your Applications folder (not the Dock) to the Trash.
    You will be asked to authenticate (twice):
    You do not need to provide a reason for uninstalling it:
    Just click the Uninstall MacKeeper button. You will be asked to authenticate again.
    After it uninstalls you may empty the Trash and restart your Mac. All that will remain is an inert log file that does nothing but occupy space on your hard disk.

  • Intermittent Error 41106 Error when trying to open an Excel file.

    I am having an intermittent problem while opening an Excel file.  The problem only occurs occasionally during execution of my program.  My program has a cluster of buttons each button opens a sub VI that is part of a calibration process.  The first VI generates an EXCEL filename that is used to save all calibration data.  A template is opened, data is placed in this template, and then it is saved under the generated filename.  Most of the time this seems to work fine, but every once in a while I receive a -41106 error indicating that Microsoft EXCEL did not open.  As far as I can tell when I run each sub VI independently they work fine and no errors are generated.  Does anyone know why this might be happening?  I would appreciate any help.
    Thanks 

    What version of LabVIEW and the Report Generation Toolkit are you using?  I remember adding some code in the 1.1 version of the toolkit to attempt to avoid some Microsoft Excel latencies with opening/closing the application repeatedly, but it was by no means fool proof, since Excel sometimes takes its sweet time leaving memory when the application exits.  Without knowing any more specifics, my best suggestion is for you to add a small delay between successive operations regarding opening/closing Excel and see if that helps.  Also, if you could post a simple VI that demonstrates the behavior, that would be extra helpful.
    Oh yeah, and another suggestion would be to open one report reference at the beginning of your program, and use this reference through the whole thing...I understand that this might not be possible, though, if you're opening different worksheets throughout the course of your application running.
    Good luck,
    -D
    P.S. - For those of you reading this wondering why I would automatically assume MegaMan is using the Report Generation Toolkit, he cites error -41106, which is an error specific to this toolkit.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Problem while opening the excel files

    Hi
    In my system , i have excel reports in my server disk . And i am opening the excel files through an action class like /viewReport.do?id=23 .....and thus from the action class i open my excel file .
    After opening one excel file , i try to open another excel by clicking that link , then my system often hangs else excel shows an error saying "a report with name viewReport.do is already open " even though both of these files are different on the server
    How can i avoid this ??
    The reason why i am opening the excel file through an action class is , i need to perform some operations before opening that excel report
    i tried by setting the
    response.setHeader("Content-disposition","attachment; filename=myWorksheet.xls");
    and i kept on changing the names but that doesnt work
    Can any one let me know how to go abt this ??

    Hi Sir,
    I found you posted the issue in the
    APS.NET forum, and you seems use some code to open the file. Have you tried the last link in the thread?
    Then, let's do some test to narrow down the issue.
    I notice that you are using Office 2010, does the issue occur only with 'Reachlocal.xlsx' or every existed file?
    If every Excel file has the issue, please try the following methods:
    Open the file in
    safe mode.
    Repair Office 2010.
    On the other hand, this problem might be caused by malware on the affected machine. There are now two known variants of malware which causes this problem: Win32/Crilock.A and
    Win32/Buma!rts. They have both been identified as a new family of
    ransomware.  
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2013/09/07/quot-cannot-open-the-file-because-the-file-format-or-extension-is-invalid-quot-opening-office-files.aspx                                   
    If you have any further assistance about code/program, I recommend you post the question to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    Regards,
    George Zhao
    TechNet Community Support

  • Opening multiple excel files thorugh a servlet

    Hi
    In my system , i have excel reports in my server disk . And i am opening the excel files through an servlet class like /viewReport.do?id=23 .....and thus from the servlet will open my excel file .
    After opening one excel file , i try to open another excel by clicking that link , then my system often hangs else excel shows an error saying "a report with name viewReport.do is already open " even though both of these files are different on the server
    How can i avoid this ??
    The reason why i am opening the excel file through a servlet is , i need to perform some operations before opening that excel report
    Can any one let me know how to go abt this ??

    I had a similar porblem....
    I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
    This is my code in servlet...
    HSSFWorkbook wb = new HSSFWorkbook();
         HSSFSheet spreadSheet = wb.createSheet("Users");
         spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
         spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
    //     Creating Rows
         HSSFRow row = spreadSheet.createRow(0);
         HSSFCell cell = row.createCell((short) 1);
         cell.setCellValue("Year 2005");
         cell = row.createCell((short) 2);
         cell.setCellValue("Year 2004");
         HSSFRow row1 = spreadSheet.createRow(1);
         HSSFCellStyle cellStyle = wb.createCellStyle();
    cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
    cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
    cell = row1.createCell((short) 0);
    cell.setCellValue("Revenue ($)");
    cell = row1.createCell((short) 1);
    cell.setCellValue("25656");
    cell = row1.createCell((short) 2);
    cell.setCellValue("15457");
    FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
    response.setContentType("application/vnd.ms-excel");
    response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
    ServletOutputStream out = response.getOutputStream();
    wb.write(output);
    output.flush();
    output.close();
    forward = null;
    In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
    Thanks in advance...
    Message was edited by:
    onlycoding

  • Why does TDM Importer start up when I open an Excel file in LabVIEW, and how can I stop it?

    I have a new application using LabVIEW 2012 SP1.  I open an Excel file using the Report Generation toolkit and when I do so, a small TDM Importer window pops up on top of the Excel file.  
    How can I prevent this?

    Hi Steve,
    The TDM Importer pops up because the report generated in LabVIEW is in the TDMS file format.  TDMS is a binary file that requires an importer to make sense of the binary data and translate it into an Excel spreadsheet.  As per this white paper, the appearance of the floating toolbar is expected behavior:  http://www.ni.com/white-paper/5874/en/
    To the best of my knowledge, you cannot get rid of the floating toolbar unless you uninstall the add-in, in which case you probably would not be able to open your LabVIEW-generated reports.  However, as of Excel 2007, the toolbar is embedded in the "Add-Ins" tab instead of floating on your spreadsheet.  You can see how the toolbar looks as of Excel 2007 in step 6 of this white paper:  http://www.ni.com/white-paper/5885/en/
    If there is a way to embed the toolbar in Excel 2003, it would be the exact same way you would embed any other floating customer toolbar in Excel.  In other words, I don't think this has anything to do with the fact that it's NI's add-in.  This is just the way Excel 2003 and earlier treats add-in toolbars.  Someone on these forums may well know a way to embed it (perhaps a macro?), but you may have better luck contacting Microsoft.  I'm not sure whether it's even possible for a user to embed the toolbar.
    David R
    Applications Engineer
    National Instruments

  • Any FM or other ways to open the Excel file with data

    Please provide some Help, where I need to open the excel File  with some static  data (header data) from the Selection screen application Toolbar on clicking the button
    Thanks
    Ravindra

    Hi here is good example.
    Satish
    Reads an existing Idoc and dispays the contents in a spreadsheet format
    REPORT Z_DISPLAY_IDOC_AND_DATA line-size 275.
    This tool reads an existing Idoc and dispays the contents in a       *
    spreadsheet format. The spreadsheet (MS-EXCEL) will be automatically *
    created if D_EXCEL = 'X'.                                            *
    data: idoc_control like EDIDC,
          NUMBER_OF_DATA_RECORDS like sy-dbcnt,
          NUMBER_OF_STATUS_RECORDS like sy-dbcnt,
          INT_EDIDS like edids occurs 0 with header line,
          INT_EDIDD like edidd occurs 0 with header line.
    TYPE-POOLS :  LEDID.
    data: STRUCT_TYPE TYPE  LEDID_STRUCT_TYPE ,
          IDOC_STRUCT TYPE  LEDID_T_IDOC_STRUCT,
          SEGMENTS TYPE  LEDID_T_SEGMENT,
          SEGMENT_STRUCT TYPE  LEDID_T_SEGMENT_STRUCT,
          excel_tab(2000) occurs 0 with header line.
    parameter: DOCNUM like edidc-docnum obligatory, ""Idoc Number
               sap_rel like SY-SAPRL default SY-SAPRL obligatory,
               pi_ver like EDI_VERREC-VERSION default '3' obligatory,
               d_excel as checkbox default 'X'. ""Download ?
    start-of-selection.
      perform read_idoc.
      perform process_idoc.
      if d_excel = 'X'.
        perform download_to_excel.
      endif.
    end-of-selection.
    FORM read_idoc.
      CALL FUNCTION 'IDOC_READ_COMPLETELY'
           EXPORTING
                DOCUMENT_NUMBER          = docnum
           IMPORTING
                IDOC_CONTROL             = idoc_control
                NUMBER_OF_DATA_RECORDS   = NUMBER_OF_DATA_RECORDS
                NUMBER_OF_STATUS_RECORDS = NUMBER_OF_STATUS_RECORDS
           TABLES
                INT_EDIDS                = INT_EDIDS
                INT_EDIDD                = INT_EDIDD
           EXCEPTIONS
                DOCUMENT_NOT_EXIST       = 1
                DOCUMENT_NUMBER_INVALID  = 2
                OTHERS                   = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" read_idoc
    FORM process_idoc.
      perform read_idoc_structure.
      perform display_data_records.
    ENDFORM.                    "" process_idoc
    FORM display_data_records.
      data: PE_seg_HEADER like EDI_SAPI01,
            segname like EDI_IAPI12-SEGMENTTYP,
            prev_segname like EDI_IAPI12-SEGMENTTYP value ' ',
            pt_fields2 like EDI_IAPI12 occurs 0 with header line,
            PT_FVALUES2 like EDI_IAPI14 occurs 0 with header line,
            byte_first type i,
            byte_last type i,
            field_val(50),
            tmp_str(15),
            tmp_str3(15),
            seg_repeats type i value 0,
            tmp_str2(15),
            tab_cr(1) type x value '09',
            tot_ctr type i value 0,
            ctr type i value 0,
            msg(40) type c.
      data: IDOC_STRUCT_wa TYPE  LEDID_IDOC_STRUCT.
      sort int_edidd by segnum.
      describe table int_edidd lines tot_ctr.
      loop at int_edidd.
        move int_edidd-segnam to segname.
        clear msg.
        concatenate 'Reading segment ' segname
                    into msg separated by space.
        if tot_ctr <> 0.
          ctr = ( 100 * sy-tabix ) / tot_ctr.
        endif.
        CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
             EXPORTING
                  PERCENTAGE = ctr
                  TEXT       = msg.
        add 1 to seg_repeats.
        clear tmp_str2.
        if int_edidd-segnam <> prev_segname.
          seg_repeats = 1.
          clear: pe_seg_header, pt_fields2, pt_fvalues2.
          refresh: pt_fields2, pt_fvalues2.
          CALL FUNCTION 'SEGMENT_READ_COMPLETE'
               EXPORTING
                    PI_SEGTYP                 = segname
                    PI_RELEASE                = sap_rel
                    PI_VERSION                = pi_ver
               IMPORTING
                    PE_HEADER                 = pe_seg_header
               TABLES
                    PT_FIELDS                 = pt_fields2
                    PT_FVALUES                = pt_fvalues2
               EXCEPTIONS
                    SEGMENT_UNKNOWN           = 1
                    SEGMENT_STRUCTURE_UNKNOWN = 2
                    OTHERS                    = 3.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          prev_segname = int_edidd-segnam.
        endif.
        read table idoc_struct into idoc_struct_wa with key
                               segment_type = int_edidd-segnam.
        if sy-subrc = 0.
          IF IDOC_STRUCT_WA-SYNTAX_ATTRIB-MUSTFL = 'X'.
            TMP_STR = 'Mandatory'.                  ""Mandatory
          ELSE.
            TMP_STR = 'Optional'.                  ""Optional
          ENDIF.
          if IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-QUALIFIER = 'X'.
            tmp_str3 = 'Qualified'.
          else.
            tmp_str3 = 'Non-Qualified'.
          endif.
          shift IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX
                                     left deleting leading '0'.
          move seg_repeats to tmp_str2.
          condense: IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX, tmp_str2.
          concatenate tmp_str2 'of'  IDOC_STRUCT_wa-SYNTAX_ATTRIB-OCCMAX
              into tmp_str2 separated by space.
          write :/ IDOC_STRUCT_wa-SEGMENT_TYPE,
               tmp_str,
               TMP_STR3,
               tmp_str2,
               IDOC_STRUCT_wa-SYNTAX_ATTRIB-HLEVEL,
               IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-plast,
               IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-DESCRP.
          if d_excel = 'X'.
            concatenate 'Segment Name' tab_cr
                        'Mand / Opt ' tab_cr
                        'Qual / non-Qual' tab_cr
                        'Seq of Max' tab_cr
                        'Level' tab_cr
                        'Owner' tab_cr
                        'Description'
                        into excel_tab.
            append excel_tab.
            concatenate IDOC_STRUCT_wa-SEGMENT_TYPE tab_cr
                  tmp_str tab_cr
                  TMP_STR3 tab_cr
                  tmp_str2 tab_cr
                  IDOC_STRUCT_wa-SYNTAX_ATTRIB-HLEVEL tab_cr
                  IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-plast tab_cr
                  IDOC_STRUCT_wa-SEGMENT_TYPE_ATTRIB-DESCRP
                  into excel_tab.
            append excel_tab.
            concatenate tab_cr
                        'Field Nma' tab_cr
                        'Type' tab_cr
                        'Length' tab_cr
                        'Byte From' tab_cr
                        'Byte To' tab_cr
                        'Description' tab_cr
                        'Value' tab_cr
                        'Qualifier Meaning'
                        into excel_tab.
            append excel_tab.
          endif.
        endif.
        sort pt_fields2 by field_pos.
        byte_first = 0.
        loop at pt_fields2.
          clear: field_val.
          byte_last = pt_fields2-EXTLEN.
          write int_edidd-sdata+byte_first(byte_last) to
                field_val left-justified.
          shift pt_fields2-EXTLEN left deleting leading '0'.
          shift pt_fields2-byte_first left deleting leading '0'.
          shift pt_fields2-byte_last left deleting leading '0'.
          write:/ '   ', pt_fields2-fieldname,
                  pt_fields2-datatype,
                  pt_fields2-EXTLEN,
                  pt_fields2-byte_first ,
                  pt_fields2-byte_last,
                  pt_fields2-descrp,
                  field_val.
          read table pt_fvalues2 with key fieldname = pt_fields2-fieldname
                        fldvalue_l = field_val.
          add byte_last to byte_first.
          if sy-subrc = 0.
            write : pt_fvalues2-descrp.
          else.
            clear pt_fvalues2-descrp.
          endif.
          if d_excel = 'X'.
            concatenate tab_cr pt_fields2-fieldname tab_cr
                    pt_fields2-datatype tab_cr
                    pt_fields2-EXTLEN tab_cr
                    pt_fields2-byte_first tab_cr
                    pt_fields2-byte_last tab_cr
                    pt_fields2-descrp tab_cr
                    field_val tab_cr
                    pt_fvalues2-descrp
                    into excel_tab.
            append excel_tab.
          endif.
        endloop.
      endloop.
    ENDFORM.                    "" display_data_records
    FORM read_idoc_structure.
      data: idoctype type LEDID_IDOCTYPE.
      if not idoc_control-cimtyp is initial.
        STRUCT_TYPE = 'E'. ""Extended
        idoctype = idoc_control-cimtyp.
      else.
        STRUCT_TYPE = 'B'. ""Basic
        idoctype = idoc_control-idoctp.
      endif.
      CALL FUNCTION 'IDOC_TYPE_COMPLETE_READ'
           EXPORTING
                RELEASE              = sap_rel
                STRUCT_TYPE          = STRUCT_TYPE
                IDOCTYPE             = idoctype
                VERSION              = pi_ver
          IMPORTING
               IDOC_TYPE            = idoctype
           TABLES
                IDOC_STRUCT          = idoc_struct
                SEGMENTS             = segments
                SEGMENT_STRUCT       = segment_struct
           EXCEPTIONS
                IDOCTYPE_UNKNOWN     = 1
                IDOCSTRUCT_UNKNOWN   = 2
                SEGMENT_DATA_MISSING = 3
                ILLEGAL_STRUCT_TYPE  = 4
                OTHERS               = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" read_idoc_structure
    FORM download_to_excel.
      data: name like RLGRAP-FILENAME.
      shift docnum left deleting leading '0'.
      concatenate docnum '-' idoc_control-idoctp '.xls'
                  into name.
      CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
       EXPORTING
         DATA_NAME                 = name
         DATA_TYPE                 = 'ASC'
         WAIT                      = ' '
       TABLES
         DATA_TAB                  = excel_tab
       EXCEPTIONS
         NO_BATCH                  = 1
         EXCEL_NOT_INSTALLED       = 2
         WRONG_VERSION             = 3
         INTERNAL_ERROR            = 4
         INVALID_TYPE              = 5
         CANCELLED                 = 6
         DOWNLOAD_ERROR            = 7
         OTHERS                    = 8
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "" download_to_excel

  • Microsoft Forms and Microsoft Visual Basic while opening the Excel file

    Hello,
    I have issues with 2010 64 bit Office Pro Plus Excel. Whenever I open an Excel file (97-2003 worksheet) which has macros then I get below 2 errors in sequence.
    Please note that all macro settings are enabled and below are my system configs.
    Win 7 Ultimate 64 bit,
    MS Office Pro Plus 2010 64 bit with SP2.
    Googled all and tried but in vein and also note that I dont have any .exd files under ../forms to delete. Please help.
    Please note that for others with same system config/office versions and same 97-2003 worksheet it works so issues is only in my system.
    First Error
    Microsoft Forms
    Could not load an object because it is not available on this machine.
    Second Error
    Microsoft Visual Basic for Applications
    Compile error in hidden module:  MainUtilities2.
    This error commonly occurs when code is incompatible with the version, platform, or architecture of this application.  Click "Help" for information on how to correct this error.
    Thanks.

    Your macro's will not run in a Office 64 environment only in a 32bit environment. The 64bit environment has a whole different setup and macro's created in an earlier 32 bit environment will stop working.
    So if you want to use them in a 64 Office environment you have to rewrite the macro's.
    have a look here:
    http://msdn.microsoft.com/en-us/library/gg264421.aspx
    Maurice

  • Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    Hi, i'm new using numbers, and when I try to open a excel file don't let me do it, instead appears a box whit a error and close app,  any help?

    What does the error say?
    A couple of thoughts: the file is corrupted or is password-protected. Corruption is more likely to cause Numbers to crash & Numbers cannot open password-protected Excel files. Try using one of the free Office clones & see what happens.

  • Office 2013 can't open word, excel files from the network after upgrade to 8.1

    Hello,
    Recently, I upgraded all PCs from WIN 8 to Win 8.1. After the upgrade I noticed that I can't open any word documents and excel files. Before the upgraded I have no problem opened any files. All PCs have over 500GB free space on hard drive. Other PCs that
    run Win 7 have no problem open them only the one with Win 8.1. This is what I got:
    I right click--> property and there is no unblocked. All files resided on the network server.
    Please help.
    Jimmy

    Hi Jimmy,
    Did you get any error message when you try to open an Excel file/Word document?
    If so, you can post the error message and  event log here.Also ,if you had antivirus software installed, try to disable them to test this issue.
    In addition, what happens if you add the network server location as a trusted location?
    Wind Zhang
    TechNet Community Support

  • Opening an Excel file configures MSO Pro 2007

    Using Win7 & MSO Pro 2007.
    When I try to open an Excel file two unusual things happen after the splash window opens
    1> A message box opens and says stdole32.tlb. When dismissed by clicking
    [OK]...
    2> A window opens and starts to configure MSO Pro 2007 which takes 20-40 seconds to complete
    Taking a clue from KB 2528748 ..
    3> I looked in the registry at:  HKCU\Software\Microsoft\Office\12.0\Excel\Options and
          found no NoReReg Key, so
    4> I executed , in the RUN BOX..
       reg add HKCU\Software\Microsoft\Office\12.0\Excel\Options /v NoReReg /t REG_DWORD /d 1
    The registry now contains the appropriate noReReg key BUT the the behavior remains unchanged.
    Is this likely due to the unclear message about stdole32.tlb at
    1>?
    Could some one help me unravel and fix this nuisance problem?
    Thanx
    Arvin

    Hi,
    Please try the following method and check if it is helpful:
    Right Click the Excel>Properties>Compatibility>Choose Run this program in compatibility mode and Run this program as administrator
    Copy/paste a new stdole32.tlb from installation copy or other pc
    More similar issue:
    http://answers.microsoft.com/en-us/office/forum/office_2007-office_install/stdole32tlb-file-missing/ba3e940d-d628-4334-ac89-5e8ac9878093
    http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28171576.html
    http://andyjwilliams.co.uk/technology/vista-office-2007-installation-problems-stdole32tlb/
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Opening an excel file from a button. square brackets in filename

    Internet explorer 6. Apex 3.1
    When I open an excel file (via a button) , it has the filename as follows:
    production_report[1].csv
    The prompt to save or open has the name as production_report.csv
    This prevents people saving the opened file as square brackets are not allowed in the file name.
    Is this an apex issue (ie a problem with the way I specify the filename) or a browser issue, and is there a solution?
    I am passing the filename in to my excel download page using the items/values settings.
    eg
    ITEM P12_FILENAME
    ITEM VALUE production_report.csv

    Yes, It works on firefox. It is only an issue with Internet Explorer.
    However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
    I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help)

  • How to stop prompt while opening an excel file in new window

    hi all
    i made one table in jsf and i am having two icons corresponding to each row one for open and one for save. on the click of open i am calling web services getting the excel file and opening it but it is happening only . when i choose to open option from the prompt which comes when i click on the link. how to remove that prompt so that on click of the open it should directly open the excel file. plzzzzzzzzz hepl

    in the url of the new page that you are opening add --> &RetainAM=Y at the end.
    Following points should be useful :
    Suppose ,you have to open a new window from your page by clicking on a link or a button and after opening, when you click on any button in the parent page, if you are getting a session out error… try the following solutions:
    1.     Add retainAM=Y in the destination URI of the button or link
    2.     If you have the back button handling in your code, ensure that…
    if (!pageContext.isBackNavigationFired(true)) is written instead of
    if (!pageContext.isBackNavigationFired(false))
    3.     Also ensure that the trasaction name is exactly same in both startTransactionUnit and end TransactionUnit
    TransactionUnitHelper.startTransactionUnit(pageContext, "sameName");
    TransactionUnitHelper.endTransactionUnit(pageContext, " sameName ");

  • Opening an excel file in jsp

    how do you open an excel file in my jsp and target it to a table?

    can't it be done using the file class?
    i just want to open the excel file, that's all--
    Open means what ?
    See if this is useful
    String myDB =  "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=c:/book.xls;"
        + "DriverID=22;READONLY=false";
    //con=DriverManager.getConnection("jdbc:odbc:myExcel");
    con=DriverManager.getConnection(myDB,"","");
    dbmd=con.getMetaData();
    stat=con.createStatement();
    rs=stat.executeQuery("Select * from `Sheet1$`");//[Sheet1$]--
    I think it is not possible with File class. and if it is so
    then how you are going to handle the data ?

Maybe you are looking for

  • CS5 Issues

    I've barely begun to use CS5 (evaluation copy) and have already found some issues I don't know how to solve. And I was so looking forward to content aware fill! 1) CS5 is losing focus after a resize.  I do a lot of repetitive things where I use a ser

  • Can I use captured footage of the itunes visualizer in videos?

    I know someone already asked about still images captured from the visualizer but I've been screencapturing the performance of the Itunes visualizer playing along to some of my bands music, obviously it pulses itself to whatever music is being played,

  • Print Shop for Mac 2.0 Will it run on intels

    Hi will The Print Shop for Mac 2.0 by MacKiev work on the new MBP. I am thinking about buying one soon!

  • Disable launch of front panel when starting web services

    Hello all, This may be a naive question as it may have a simple answer that I am missing, but is there a way to not have all VIs associated with a web service launch (i.e. show their front panel) when you start a web service?  I find this to be very

  • Problem with PO Work Flow

    Hi Gurus,                I am working on PO work flow. when I create a PO in workflow builder start event is getting into disable mode. Why its happening like that I could not understand. Can anybody please help me to find why the start event (Releas