File extension error with Excel files transferred to PC

I am syncing files with my PC (Documents to Go).  I noticed that Excel files that were accessible and functioning prior to the first week in September no longer work (interesting coincidence with the update to Gingerbread).  I get a "'file.xls', is in a different format than specified by the file extension" message when I try to open any files modified by the Droid after that date.  The same error occurs if I use the Sync tool or access the files from my PC using Windows Explorer.   The files work fine if I email them from the Droid to the PC or if they were modified PRIOR to the first week of September.  I also notice that picture files (jpg) after that date can not be opened but work fine via email to my PC.   The file extension names do NOT change and the same error occurs when I upload to another PC.   How can I fix this problem?  I can only back up my files by emailing them........

(testing update) 
DataViz responded with a couple of suggestions, here is my response:
Here are some additional tests I just completed which puts the cause back onto DataViz:
I created a simple Excel file on my PC and saved it as an ‘.xls’ file. (test.xls)
I synced it with my Droid and the file could be opened on my PC and the Droid. (I used both the Sync folder file and opening the file via Windows Explorer using the Mass Storage mode)
I then opened the file on my Droid and saved it (no changes to the xls file were made) and then synced with my PC.  The error now occurred by both attempting to open the file in the PC ‘Docs to Go’ folder and via Windows Explorer. 
I then emailed the same file.  I opened the email on my PC and saved the test.xls file.  It opened without errors.
I did the test again using the latest Excel format ‘.xlsx’ with the same failure.
I am running version 3.003 (961) Documents to Go
Bottom line; when Excel files are ‘saved’ on my Droid in Documents to Go, they can no longer be opened on my PC by either Sync or Windows Explorer.  The same file works fine if mailed from Documents to Go.  Documents to Go is corrupting the file in some way that prevents the transfer of that file to another device.
This still may be associated with the Droid OS upgrade, I am waiting for a response from DataViz...............

Similar Messages

  • WEB ADI Error with Excel - Compile Error

    I am trying to export data to Excel. The process works until the data is loaded to Excel whereupon I get a Microsoft Visual Basic error "Compile Error: User-defined type not defined.
    Behind the error message is several screens from VB with the following line highlighted "Dim oParser As New SAXXMLReader30"

    Please post the details of the application release, database version and OS.
    I am trying to export data to Excel. The process works until the data is loaded to Excel whereupon I get a Microsoft Visual Basic error "Compile Error: User-defined type not defined.Can you find any details about the error in the BNE.log file? -- How to Create a BNE Log For Web Adi Issues and Errors? [ID 817023.1]
    Behind the error message is several screens from VB with the following line highlighted "Dim oParser As New SAXXMLReader30"Please see if (Web ADI: Compile Error - Userdefined Type Not Defined LEDGER_IDDetails [ID 1319992.1]) is applicable.
    Thanks,
    Hussein

  • Error with excel data mining and windows 8.1

    Hi I found this thread online which is exactly the same issue I am having. Has this problem been resolved?
    "I installed SQL Server 2012 SP1 Data Mining add-in for Excel 2013 64 bit on Windows 8.1 64 bit Enterprise. I then ran "Getting Started" to complete the add-in setup and connect to the SSAS DB. After I opened the "Sample
    Excel Data" file to test I noticed the "Table Analysis" tab under "TABLE TOOLS" appeared on the ribbon blank (without the text "ANALYZE" on the tab). When I clicked on that tab I was able to see the "Table Analysis Tools"
    buttons but I keep getting the "Object reference not set to an instance of an object" error message when I try to run any one of them and exiting out of Excel disables the data mining add-in. Is this a known issue and if yes is there a
    hotfix available? Thank you."
    I've also download the follwing hotfix which hasn't helped
    http://hotfixv4.microsoft.com/SQL%20Server%202012/sp1/SQLServer2012_SP1_CU7_2894115_11_0_3393_/11.0.3393.0/free/470544_intl_x64_zip.exe 
    Any assistance would be appreciated!
    Concatch

    Hi Concatch,
    Which edition of Excel 2013 are you using? The supported editions of Office supported by the SQL Server 2012 SP1 Data Mining Add-ins for Microsoft Office are as follows:
    Professional
    Professional Plus
    Ultimate
    Enterprise
    Besides, make sure the cube is hosted in a SSAS 2012 instance.
    Regards,
    Mike Yin
    TechNet Community Support

  • SSRS Exporting causing error with Excel

    Hello,
    I would search this but I don't know what key terms to try, but here is my problem. Created a report in Report Builder and see it on SSRS and can run it. I get the data back I need. When I try and export to Excel I get "Excel found unreadable content
    in '<report name>.xlsx'. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click Yes." When I click Yes I get a blank document. If I save the document to my computer and open it I get an option to repair
    which says "Replaced Part: /xl/worksheets/sheet1.xml part with xml error. Illegal xml character. Line1, column 3344028". I have rebuilt the query too.
    Has anyone else seen this, or have a link to a set of solutions I can test?
    This is using SSRS 2012.

    I know... I am just doing what I am told. I said the same thing to the person asking for it.
    They have no idea what they are asking for.
    Run this query to tell you the Average # of Entries you have per PC. BTW my lab has an average of 327! Far more that the 186 listed in the blog post!
    declare @ARP BIGINT
    declare @PCCount BIGINT
    Set @ARP = (select count(*) from dbo.v_GS_INSTALLED_EXECUTABLE)
    Set @PCCount = (Select count(*) from v_GS_COMPUTER_SYSTEM)
    Select
    'Ave Entries per PCs ' + Convert(varchar(250), sum(@ARP/@PCCount+0.001)),
    'Number of Installed EXE entries ' + convert(varchar(250), @arp),
    'Number of pages '+ convert(varchar(250), sum(Round(@arp/80,0)+1)),
    'Number of papper Bundles '+ convert(varchar(250), round(sum(@arp/40000.0),2))
    Then you need to send them this blog post along with the detail from the query above.
    http://be.enhansoft.com/post/2009/10/26/How-to-Perform-a-Basic-Software-Audit.aspx
    http://www.enhansoft.com/

  • BW error with Excel 2007

    Hi Expert,
    I found some critical issues that in Excel 2007
    1,
    can not read 20000 records at one time, it will pop upan issue window with the error message "Client out of memory" , but it works well in Excel 2003.
    2,
    When I tried to open the other report it pop up another error message "The program will now terminate Please refer to the trace for further infomation",but it works well in Excel 2003.
    Are there any experts can give some suggestions ?
    Len

    Hi
    please refer teh following notes : 1260213, 1242583, 1052761 1175947.
    Regards, Hyma

  • Error with Excel 2007

    Dear All,
    We developed a planning application using BPS.  The existing systems had Excel 2003 installed in them.  The Excel layouts were designed with heavy Macro coding in the background.
    Recently Excel 2007 was installed in our machines.  But, unfortunately, the values displaying on the Excel are separated by comma instead of decimals (this is an excel setting,which was also changed, but still the error exists).  As a result, the data save on the excel always gives an error due to the comma.
    Is there any way, we can overcome this error.  Also the macros do not work when the planning folder is executed.
    There is no problem when the same layouts are run on Excel 2003.
    Any suggestion/recommendations/solution would be appreciated.
    Thanks,
    Aby

    Thanks for your response.
    We already checked these settings.  But aren't SAP settings relevant for a given user?  The same user can execute the BPS Layout perfectly fine in other PCs that have Excel 2003 installed.
    We also changed the setting that's available in the Excel, but again of no use.
    The same PC has Excel 2003 installed too, and normal numeric entries distinguish between commas and decimals as expected.
    These have not yet resolved the issue we face with commas being recognized instead of decimals when we execute the Planning Layout.  For this reason, macros are getting affected.
    Please keep posting...
    Regards,
    Aby

  • Error with Excel 2007 display.

    We have recently upgraded to MS office 2007 and using BW 3.5 bex .When i ran workbook in Excel-07 , i am getting symbol £ instead of $ for a curreny column .Value for that cell is correct in dollars but the symbol is showing worng .if anyone encountered with this type of problem Pls let me know the solution.
    I am getting correct values with CAD and other Currency's.
    Regards
      KK

    Hi,
    This may the settings in Windows, during installing Win OS it will ask some informations like currency, time and date format, etc.. check in the regional setings of your system.
    Start->Control panel->regional option.
    May help u,
    Reg,
    Vishwa.

  • Can't open Dashboard Design - Error with Excel

    HIi, I can't open an already created Dashboard Design beacuse when I'm going to open it, it appears the following error: " Couldn't connect to Microsoft Excel. To avoid the damage of the data, the program should by close."
    Anyone of you have the same problem? I need help!
    Thank you
    Edited by: Estibalitz de la Cal on Jan 18, 2012 3:16 PM

    Hi,
    It appears that your current Excel program is corrupted.
    2 solutions :
    - Show task control panel (CTRLALTDEL) and kill all the processus linked to EXCEL
    or
    - reboot your computer to kill all the  EXCEL processus hidden which cause your error.
    Run again Dashboard Design and tell us if it's running correctly.
    Regards,
    William

  • Error with excel upload

    Hi
    it is going to dump.
    in the debugging , when it reaches the alsm_excel_internal_table
    at filename parameter it is going to dump
    in error it is saying the wrong with filename(v_fname).
    i have declared v_fname and p_fname as
    parameters: P_FNAME LIKE RLGRAP-FILENAME MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA:   V_FNAME TYPE STRING.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    MOVE P_FNAME TO V_FNAME.
    LEN = STRLEN( V_FNAME ).
    LEN = LEN - 3.
    IF V_FNAME+LEN(3) = 'xls'.
                PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    FORM EXCEL_UPLOAD .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            FILENAME                      = V_FNAME
            I_BEGIN_COL                   = '1'
            I_BEGIN_ROW                   = '1'
            I_END_COL                     = '10'
            I_END_ROW                     = '100'
          TABLES
            INTERN                        = I_XLTAB
         EXCEPTIONS
           INCONSISTENT_PARAMETERS       = 1
           UPLOAD_OLE                    = 2
           OTHERS                        = 3
        IF SY-SUBRC <> 0.
        ENDIF.
    .ENDFORM.
    pls give me a suggestion ????

    Hi,
    Even though u move p_fname to v_fname , the decleration of v_fname should be of type rlgrap-filename because the filename(of ALSM_EXCEL_TO_INTERNAL_TABLE ) is of type RLGRAP-FILENAME .
    Or u can do this
    parameters: P_FNAME LIKE string MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA: V_FNAME TYPE RLGRAP-FILENAME .
    LEN = STRLEN( P_FNAME ).
    LEN = LEN - 3.
    MOVE P_FNAME TO V_FNAME.
    IF V_FNAME+LEN(3) = 'xls'.
    PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    Regards,
    Sachin M M
    Edited by: Sachin Mathapati on Jun 13, 2008 4:31 PM

  • Error in Excel 2007.

    We have a user who gets an error when he will start the BPC for Excel in Excel 2007. And he can not open the BPC for Excel. The following error message appears: "In order to open the file Ev4Excel.xla the file had to be repaired or it was forced to remove unredable materials. The workbook has lost its VBA projects, ActiveX controls and all other programming functions." And it can not open the BPC for Excel
    The user also has Excel 2003 installed on his computer and if he uses Excel 2003, it works.
    Is it possible to have both Excel 2003 and Excel 2007 installed on the same computer and run SAP BPC against both
    Are there some Excel add-ins that you have to install when you install the Excel 2007?

    Hi,
    In SAP BPC installation guide you will find below recommendation
    Note: In order for the software to function correctly in Excel 2007, you must
    install the Microsoft.ACE.OLEDB.12.0 provider, which you can get from the
    Microsoft website. The provider must be installed on the Application server.
    This provided in 25mb in size. We installed it on our application server. but still some errors with excel 2007 is not resolved. Finally we tried with office 2003, but still error continued. When we moved back to office 2007, some excel-addins which were available earlier went missing.
    regards,
    Lokesh Nandula

  • Unable to read file - opening a html file with excel

    Hi all,
    I have the next issue:   I have developed a report on HTML format, however when I export this one (to excel) I save the file with a 'xls' extension, however, (in excel 2007), when I try to open the file I get the error "Unable to read the
    file".
    can you help me with this issue?

    Hi,
    Did you create a PivotTable report in the file? As your description, the HTML format could be used correctly in Excel 2007. Did you get the other error message?
    Such as,Unable to read file.
    When you click OK,   you receive the following error message:
    Errors were   detected in '<var>filename</var>.xls', but Microsoft Excel was   able to open the file by making the repairs listed below. Save the file to make   these repairs permanent.
    PivotTable report   '<var>report_name</var>' on   '[<var>filename</var>.xls]worksheet_name' was discarded due to   integrity problems.
    Please try to use the workaround:
    Turn off AutoRecovery when you work with any workbooks.Click Excel button>Excel options>Save>Uncheck AutoRecovery
    Following this, if the issue exists, I recommend you fix the issue the following KB:
    http://support.microsoft.com/kb/943088
    http://support.microsoft.com/kb/929766
    Regards,
    George Zhao
    TechNet Community Support

  • A serious issue with excel file read in ODI

    hi gurus,
    Issue with excel file read is that we can read only one file by setting the path from ODBC Data Source Administrator-->System DNS -->Select Work book
    what i want to read the dynamic path(Every time I cant go back and set the Work book to select the excel file..
    So i came up with a solution to write a Vbscript that convert the excel to csv my problem got solved for dynamic paths the script is as follow:
    Set objArgs = WScript.Arguments
    For I = 0 to objArgs.Count - 1
    FullName = objArgs(I)
    FileName = Left(objArgs(I), InstrRev(objArgs(I), ".") )
    Set objExcel = CreateObject("Excel.application")
    set objExcelBook = objExcel.Workbooks.Open(FullName)
    objExcel.application.visible=false
    objExcel.application.displayalerts=false
    objExcelBook.SaveAs FileName & "csv",23
    objExcel.Application.Quit
    objExcel.Quit
    Set objExcel = Nothing
    set objExcelBook = Nothing
    Next
    Now this script convert the xls file to csv with comma seprated values
    e.g in excel sheet if data is ABC XYZ PQR
    csv will come with ABC,XYZ,PQR
    here the delimiter is , i want the delimiter as pipe | who's ascii code is 124
    but if i change 23 with 124 its not working i getting the error cannot save as...
    can anyone tell me that what should be the correct code for pipe
    so that the output is ABC|XYZ|PQR
    AS WE CAN USE THE SCRIPTS IN TOOLS
    Edited by: 789141 on Sep 14, 2010 11:33 PM

    I dont have the answer for your question but i have different approach in handling multiple Excel File.
    Step 1. Copy a sample source Excel File and Call it Final.xls .
    Step 2. Map this Final.xls to DSN and in Topology call this Final.xls
    Step 3. Do the Reversing and Map and test the Interface . Once its done.
    Step 4. Create a Package and using a http://odiexperts.com/?p=1426 get the list of all the Excel File
    Step 5 . Using this http://odiexperts.com/?p=273 create a Loop to Read the Excel File name
    Step 6 . Copy using OdiFileCopy to Final.xls and run your interface .
    Step 7. Increment the Loop and copy your next File for Final and run the interface
    Step 8 . Finally you will be able to read all the Excel File .
    Step 9 . Delete the source file [ Optional ]
    Hope this helps.

  • Bug sending email with Excel file (immediate reply would he helpfull)

    Hi ,
       Below is have pasted a sample code where it will sends a email along with an attachtment (xls) .where the email is working perfectly but the xls file attachtment has a blank space in the first line .
    where iam facing the problem ,
    ie there should not be any blank lines at the top .
    Please run the code one i have pasted below .u can find the bug .
    can any one help me on this .
    please have ur mail id in ( reclist-receiver ) so that u can check for the output.
    This table requires information about how the data in the
    tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are
    to be distributed to the documents and its attachments.
    DATA: objpack LIKE sopcklsti1 OCCURS  2 WITH HEADER LINE.
    This table must contain the summarized data dependent on each object type.
    SAPscript objects store information here about forms and styles,
    for example. Excel list viewer objects store the number of rows and columns
    amongst other things and PC objects store their original file name.
    DATA: objhead LIKE solisti1   OCCURS  1 WITH HEADER LINE.
    *CREATION OF INTERNAL TABLE
    DATA : BEGIN OF itobjbin OCCURS 10 ,
           vbeln type vbrp-vbeln,
           matnr type vbrp-matnr,
           werks type vbrp-werks,
           fktyp like vbrk-fktyp,
           END OF itobjbin .
    This table must contain the summarized content of the objects identified as binary objects.
    *DATA: OBJBIN  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    DATA:   objbin TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                   WITH HEADER LINE.
    DATA: wa_itobjbin LIKE itobjbin .
    This table must contain the summarized content of the objects identified as ASCII objects.
    DATA: objtxt  LIKE solisti1   OCCURS 10 WITH HEADER LINE.
    This table must contain the document recipients.
    DATA: reclist LIKE somlreci1  OCCURS  5 WITH HEADER LINE.
    This structure must contain the attributes of the document to be sent.
    DATA: doc_chng LIKE sodocchgi1.
    DATA: tab_lines LIKE sy-tabix.
    DATA : V_FKTYP LIKE VBRK-FKTYP.
    Creating the document to be sent
    doc_chng-obj_name = 'OFFER'.                      " input contains the attributes of the document to be sent
    doc_chng-obj_descr = 'EMAIL WITH EXCEL DOWNLOAD'.   "input contains title/subject of the document
    *BODY OF THE MAIL
    OBJTXT = 'Hi'.
    APPEND OBJTXT .
    OBJTXT = 'Test for excel download'.
    APPEND OBJTXT.
    OBJTXT = 'Below is the attachment with Billing Document Details'.
    APPEND OBJTXT.
    OBJTXT = 'Regards'.
    APPEND OBJTXT.
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Creating the entry for the compressed document
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = tab_lines.
    objpack-doc_type   = 'RAW'.
    APPEND objpack.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
    select vbeln matnr werks
            from vbrp into table itobjbin
            up to 10 rows
            where werks GE '1000'.
    loop at itobjbin.
    select single fktyp into  v_fktyp from vbrk where vbeln = itobjbin-vbeln.
    move v_fktyp to itobjbin-fktyp.
    modify itobjbin.
    endloop.
    PERFORM build_xls_data_table .
    DESCRIBE TABLE objbin LINES tab_lines.
    objhead = 'ABC.XLS'. APPEND objhead.
    Creating the entry for the compressed attachment
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 1.
    objpack-body_start = 1.
    objpack-body_num   = tab_lines.
    objpack-doc_type   = 'XLS'.
    objpack-obj_name   = 'ATTACHMENT'.
    objpack-obj_descr = 'XLS'.
    objpack-doc_size   = tab_lines * 255.
    APPEND objpack..
    Entering names in the distribution list
    reclist-receiver = ''.
    reclist-rec_type = 'U'.
    APPEND reclist.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              document_data = doc_chng
              put_in_outbox = 'X'
              commit_work   = 'X'
         TABLES
              packing_list  = objpack
              object_header = objhead
              contents_bin  = objbin
              contents_txt  = objtxt
              receivers     = reclist
         EXCEPTIONS
              too_many_receivers = 1
              document_not_sent  = 2
              operation_no_authorization = 4
              OTHERS = 99.
    CASE sy-subrc.
      WHEN 0.
        WRITE: / 'Result of the send process:'.
        LOOP AT reclist.
          WRITE: / reclist-receiver(48), ':'.
          IF reclist-retrn_code = 0.
            WRITE 'sent successfully'.
          ELSE.
            WRITE 'not sent'.
          ENDIF.
        ENDLOOP.
      WHEN 1.
        WRITE: / 'no authorization to send to the specified number of',  'recipients!'.
      WHEN 2.
        WRITE: / 'document could not be sent to any of the recipients!'.
      WHEN 4.
        WRITE: / 'no authorization to send !'.
      WHEN OTHERS.
        WRITE: / 'error occurred during sending !'.
    ENDCASE.
    *&      Form  build_xls_data_table
          text
    -->  p1        text
    <--  p2        text
    FORM build_xls_data_table .
    CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
               con_tab TYPE x VALUE '09'.   "OK for non Unicode
    CONCATENATE 'Billing Document' 'Material Number' 'Plant' 'Billing category' ' ' INTO objbin SEPARATED BY con_tab.
    CONCATENATE con_cret objbin  INTO objbin.
    APPEND  objbin.
    LOOP AT itobjbin  .
       CONCATENATE itobjbin-vbeln itobjbin-matnr itobjbin-werks itobjbin-fktyp' '
              INTO objbin SEPARATED BY con_tab.
       CONCATENATE con_cret objbin  INTO objbin.
       APPEND  objbin.
    ENDLOOP.
    thanks in advance,
    vinay .

    Hi ravi ,
         Thanks ,for your help .now xls is working fine .
    but now iam facing a problem with the same function module .for txt files .where all the records are formated in asingle line .
    can u provide a solution for this ,which would be very helpfull.
    below is have attached the sample code .
    Thanks,
    vinay.
    FUNCTION Z_KAILASH_ATTACHMENT1.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(EMAILID)
    *"     VALUE(SUBJECT)
    *"     VALUE(ATYPE)
    *"  TABLES
    *"      ATTACH_FILE STRUCTURE  SOLISTI1
    *"      BODY OPTIONAL
    This table requires information about how the data in the
    tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are
    to be distributed to the documents and its attachments.
      DATA OBJPACK LIKE SOPCKLSTI1 OCCURS  2 WITH HEADER LINE.
    This table must contain the summarized data dependent on each object type.
    SAPscript objects store information here about forms and styles,
    for example. Excel list viewer objects store the number of rows and columns
    amongst other things and PC objects store their original file name.
      DATA OBJHEAD LIKE SOLISTI1   OCCURS  1 WITH HEADER LINE.
    This table must contain the summarized content of the objects identified as binary objects.
      DATA   OBJBIN TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                     WITH HEADER LINE.
    This table must contain the summarized content of the objects identified as ASCII objects.
      DATA OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE.
    This table must contain the document recipients.
      DATA  RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE .
    This structure must contain the attributes of the document to be sent.
      DATA: DOC_CHING LIKE SODOCCHGI1.
      DATA: TAB_LINES LIKE SY-TABIX.
    Create the internal table for body , subject
      DATA: IT_BODY LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    CONSTANTS: con_cret TYPE C VALUE cl_abap_char_utilities=>horizontal_tab,
               con_tab TYPE C VALUE cl_abap_char_utilities=>cr_lf.
    Move Body to Internal Table (body into it_body)
      LOOP AT BODY .
        MOVE BODY TO IT_BODY .
        APPEND IT_BODY .
      ENDLOOP.
      DOC_CHING-OBJ_DESCR = SUBJECT.   "Subject of the Email
    Move the Subject and Body to OBJTXT
      OBJTXT[] = IT_BODY[].
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHING-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'RAW'.
    APPEND OBJPACK.
    Convert IT to Excel format
    IF ATYPE = 'XLS' .
    *CONSTANTS: con_cret TYPE C VALUE cl_abap_char_utilities=>horizontal_tab,
              con_tab TYPE C VALUE cl_abap_char_utilities=>cr_lf.
      LOOP AT ATTACH_FILE .
        REPLACE ALL OCCURRENCES OF '#' IN ATTACH_FILE WITH con_cret. "  INTO objbin.
        CONCATENATE  ATTACH_FILE con_tab INTO objbin.
        APPEND  objbin.
      ENDLOOP.
    ELSEIF ATYPE = 'TXT' .
      LOOP AT ATTACH_FILE .
        REPLACE ALL OCCURRENCES OF '#' IN ATTACH_FILE WITH con_tab. "  INTO objbin.
        CONCATENATE ATTACH_FILE ' '  INTO OBJBIN .
        APPEND OBJBIN .
      ENDLOOP.
    ENDIF.
    ****End-Code Excel Format .
    DESCRIBE TABLE objbin LINES tab_lines.
    objhead = subject. APPEND objhead.
    Creating the entry for the compressed attachment
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 1.
    objpack-body_start = 1.
    objpack-body_num   = TAB_LINES.
    objpack-doc_type   = ATYPE.
    objpack-obj_name   = 'ATTACHMENT'.
    objpack-obj_descr = 'TEST'. "Attachment File Name
    objpack-doc_size   = TAB_LINES * 255.
    APPEND objpack..
    reclist-receiver = EMAILID.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
       DOCUMENT_DATA                    = DOC_CHING
       PUT_IN_OUTBOX                    = 'X'
       COMMIT_WORK                      = 'X'
    IMPORTING
      SENT_TO_ALL                     =
      NEW_OBJECT_ID                   =
      TABLES
        PACKING_LIST                    = OBJPACK
       OBJECT_HEADER                    = OBJHEAD
       CONTENTS_BIN                     = OBJBIN
       CONTENTS_TXT                     = OBJTXT
       RECEIVERS                        =  RECLIST
    EXCEPTIONS
       TOO_MANY_RECEIVERS               = 1
       DOCUMENT_NOT_SENT                = 2
       OPERATION_NO_AUTHORIZATION       = 4
       OTHERS                           = 99 .
    ENDFUNCTION.

  • An error has occurred while transferring this file - MuVo v

    Hi, I recently purchased a MuVo v00, and am in the process of putting some music on it. I put a number of songs on it yesterday, and after noticing it still had almost 300 megs free, I decided to add some more. However it will now not allow the addition of ANY songs. Any I try to add, it fails to do so, giving me a "an error has occurred while transferring this file" message. Even when I attempt to rip directly from my cds to the device, it gives me this error.
    I've checked that all my software is up-to-date (using the automated update feature with the software I was provided)
    I would appreciate any help with this.

    I have exactly the same problem with my MuVo? .5 GB!
    I know that i had once about .GB of mp3s stored on it, however, I deleted all of them to upload a different mp3 collection. Now when I upload files to the MuVo, it stops when I have transfered about 450 MB. However, Windows-Explorer and Creative Media Source both say that there are still 900 and a few MB left, but when i try to copy a file - again "no space left on device".
    I tried to:
    delete all files, try transfer again - same effect
    run scandisk - no change
    format the player from the rescue menu - no change (whatever this does, this is not a real format, more a quickformat)
    updated to the latest firmware - still no change!
    I'm kinda really pissed now, I spent quite some time googling, but didn't find anyone else with that problem.
    So .. where went that "space"? Would it be usefull to re-format the player using the Windows format tool, like suggested in that thread (with the settings from that thread):
    http://forums.creative.com/creativelabs/board/message?board.id=dap&message.id=400
    I started to do that, but since it was *very* slow and the disk was seeking a lot (battery eaten up after about 20 mins!) I stopped the process.
    Maybe I will try that afain tomorrow, but *somehow* this can't be the real solution. Whatever the MuVo does here seems not to be standard behaviour, since scandisk reports the dri've to be OK. Would it be possible to re-partition the MuVo? I guess thats not a good idea, since I believe that the firmware is somewhere on the disk, too.

  • Email attachment problems with "excel" files.

    I have just upgraded to the iphone 4 from the 3gs and since doing so any emails I receive with excel files attached will not open the attachment? These files openened with no problem on the same email account on my 3gs.
    Instead when I download the attachment and go to open it I am met with a page displaying....
    "Unable to read document.
    An error occured while reading the document."
    Has anyone else having this problem or even better anyone know what the fix is to get these files showing up?
    Any help would be appreciated,
    Kris

    After much frustration about excel files not opening and repeatedly not getting answers from apple, I think I might have found another way. It seems that the new apple OS does not support older versions of excel. By saving the excel file in question (Save As) to "Microsoft Excel 2007 Workbook" the Workbook opens just fine as an E-mail attachment. If you have macro's you can save as "Microsoft Excel 2007 Workbook (Macro Enabled)" and it works also.
    The Workbook in question as far as I was concerned was created in Microsoft Excel 2003.
    Hope this helps
    Apple needs to get on the ball. This was almost a dealbreaker with me.
    Android is looking better and better every day.

Maybe you are looking for

  • Soap lookup in PI7.31 message mapping

    Hi All, I have a soap lookup created in UDF in PI message mapping I am taking material id from the source structure and use it as input parameter for the lookup webservice Here is the UDF code which takes material number and returns the internal id A

  • Display Issues with Mac Pro 1.1 HELP!!

    I have a Mac Pro 1,1: Model Name: Mac Pro Model Identifier: MacPro1,1 Processor Name: Dual-Core Intel Xeon Processor Speed: 2.66 GHz Number Of Processors: 2 Total Number Of Cores: 4 L2 Cache (per processor): 4 MB Memory: 4 GB Bus Speed: 1.33 GHz Boot

  • Publication Personalization Problem

    I am using a Publication to distribute reports to individuals within my company. My Webi report contains information for individual sales reps and a summary by market. For example, Sales Rep 123 receives his numbers and sees his Market total so that

  • Can't get HTML to display in Apple Mail signature

    I'm stumped. I cannot get the HTML I wrote to display! I followed all the steps properly with creating a webarchive file, renaming so that it shows up in Apple Mail. But then when I go back in and see the signature, it's there but it doesn't display

  • Need suggestions on upgrading my Mac G4 500 dual drive purchased in 2000

    I was looking to purchase a new G5 however due to the price being so high and funds being low I want to upgrade my G4 so it can run the lates version of Final Cut Pro. I have been told i need to increase my RAM to the highest which is four 528 MB dim