Microsoft word insufficient memory

Hello all,
I am not sure if this is the right place to post this question. I actually posted it also in another section.
I have been using microsoft excel and word to do some work. More specifically, I have been trying to copy a chart form excel and paste it into a blank word document. However, word keeps giving me the following message: "insufficient memory. save the document".
Of course nothing is pasted. Excel also closes by itself at that point.
Anyone knows why this is?
The weird thing if that I have copy pasted that same chart from excel to word about 2 weeks ago and it worked fine.
I have 2 gigs of ram and looking at the activity monitor, everything seems fine.
Can anybody help?
thanks a lot,
JM.

Help with Microsoft products can be found at the MS Mac forums. Start from www.mactopia.com. The Apple Discussions do not provide support for third-party products.

Similar Messages

  • "Word has insufficient memory"

    I have a master document which is made up of 10 individual documents created in Word 2003. admitedly, it's a huge file of about 20MB once loaded and consists of tables, numerous jpeg images, links, etc.
    When I try to convert the file into PDF format using the "Convert to Adobe PDF" function, i'll get the
    b "Word has insufficient memory. You will not be able to undo this action once it is completed. Do you want to continue?"
    message.
    It pauses and waits for my Yes/No answer before proceeding - rinse and repeat. This message will appear many, many times and it does not seem to make any difference at all when i answer yes or no.
    I am aware that for a file of this size, the conversion time would run into the hours (I am OK with that). However, is there a way to get the pop-up message from repeatedly pausing and asking for my confirmation?
    My computer specs:
    Intel T2330 CPU 1.66GHz (does not exceed 10% of its capacity when converting)
    1.5GB of RAM (when converting, only 700MB - 800MB is in use)
    60GB HDD (~30GB in use)
    WinXP SP2 (updated with the latest updates from microsoft)
    Adobe Acrobat Standard 8
    Microsoft Word 2003
    any insight would be greatly appreciated. thank you!

    Tagging causes a lot of bloat, but I am not sure why. Keep in mind that the conversion process first creates a PS file (not very memory conservative) before the final conversion to a PDF. That is probably where you are getting hung up. You should only use the features in PDF Maker that you really need. If you don't need them, then it is best to just print to the Adobe PDF printer.
    Embedding the fonts in the PS file (an option) is also a potential memory issue that is not needed.

  • Office for mac - Word error message "insufficient memory"??

    I'm not sure if I'm in the right help section, so apologies of not and point me in the right direction?
    My problem: I copied about 2 pages of text in a Microsoft Word (for mac) document, opened a blank document, and attempted to paste the text there. The text transferred, but when I attempted to save the document Microsoft closed, without saving, and offered to send an error report.
    Alternately, I copied the text, closed Word, re-opened it to a blank document, and again attempted pasting the text. This time, an error message pops up that says "Insufficient memory. Save document now." after which it will let me save the document, but won't let me paste anything. So confused.
    Thanks for any help!
    (I also emptied my trash, just to free up some space and see if that helped, but even though its been ages since I've done it it didn't seem to make a difference.)

    stassy wrote:
    How exactly do you specifically update Office? I ran software update, but nothing for Office came up.
    Choose "Check for updates" in the an Office program's Help menu.
    Just to check if it worked, I opened the original document and selected Save As, and it allowed me to save it under a different name and re-open the doc, and then edit and save it - so I can go ahead with my work, but it would still be good to resolve the issue.
    Hopefully just updating will take care of it. Just remember than an "insufficient memory" error never means insufficient memory. It means the program is buggy. While very powerful, Office is somewhat on the buggy side. It is updated pretty frequently however.
    If you continue to have problems, there may be some specific issue that is causing your problem and can be fixed. The best place to investigate that would probably be Microsoft's own support forums.

  • Word has insufficient memory. Do you want to save Document1 as Rescued Template?

    When launching Word inside RdWeb, I get these errors sporadic. I read some forums and followed them to delete or rename the normal.dat file.
    C:\Users\<username>\AppData\Roaming\Microsoft\Templates -> delete normal.dat file. However it continue happening.
     My environment is Office 2010 on Windows 2008 R2 Enterprise with 
    roaming profiles.  Please help!!
    EVENT ID 300
    Microsoft Office 14 Alerts
    Microsoft Outlook
    Outlook has insufficient memory. Do you want to save NormalEmail as Rescued template?
    EVENT ID 300
    Microsoft Office 14 Alerts
    Microsoft Word
    Word has insufficient memory. Do you want to save Document1 as Rescued document?

    Hi,
    In addition to Milos comment, you can also face this error due to add-ins enabled. Try the following steps. 
    1. Click on the File menu, select Options > Add-ins
    2. Click on the ‘Go’ button besides the ‘Manage: Com-in Add’ option
    3. Check if there are any add-ins enabled, if yes then clear the checkbox to disable them
    4. Restart Word 2010 and check if you are able to save the documents
    Apart you can also refer below article for troubleshooting.
    How to troubleshoot problems that occur when you start or use Word
    Hope it helps!
    Thanks,
    Dharmesh

  • MSSQL$MICROSOFT##WID insufficient system memory

    I am having a ton of intermittent problems with one of my servers in the past 12 hours. It is Windows Server 2012 VM and the error that I am getting is from MSSQL$MICROSOFT##WID. The error is "There is insufficient system memory in resource pool 'default'
    to run this query.
    This server has plenty of overall free memory, so obviously the above is occurring because of a setting somewhere... any ideas are where I might go to fix it?
    Thanks,
    Ryan

    Ryan ,
    Can you post output of following.What is min server memory and max server memory
    How much physical RAM you have on your system
    What is output of select @@version
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    Also lease upload DBCC MEMORYSTATUS output on some shared location or T drive.Now when you got this error can you give some information about it.
    I dont understand 'MSSQL$MICROSOFT##WID insufficient system memory ' this error.Did you see this in errorlog were there any more messages
    PS: You should have reaised the thread in Database engine forum,Moderators please move it that forum.Please post all information which I have asked
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I received a message saying I did not have enough memory when I tried to paste a picture in a Microsoft Word doc

    I received a message saying I did not have enough memory when I try to paste a picture in a Microsoft Word doc

    Was this from Word or OS X? What was the exact wording of the message? How much RAM is installed in your computer? What version of OS X are your running? How large is your hard drive and how much free space is on it?

  • I got my logic board replaced along with the memory but I just realized I no longer have Microsoft Word. I pair for it and now I no longer have it. What do I do because obviously Apple won't do anything about it.

    Macbook Pro mid 2011
    Logic Board and Memory replaced in July 2014
    Going to type things up for school and just realized that I no longer have Microsoft Word (along with Excel, Powerpoint etc.)
    I paid for Microsoft word when I first bought my Mac.

    Reinstall it.

  • It takes several minutes to turn on my computer, and everytime I try to use Microsoft Word, it freezes. Is this a memory problem? RAM?

    I am usure as to why it is taking up to 10 minutes for my computure to fully load.  I recently deleted a lot of old documents and pictures trying to free up space, but this did not solve anything.  Also, everytime I use microsoft word my computer will type ok for a while and then freeze out of no where. I read on another post that this may have to do with RAM space. I am not quite sure what RAM is though...  I also re-installed Microsoft 2008, but I am still having problems. What might I do?

    Hi
    I would download the free Onyx application (Google will find it) and go through its sequence of maintenance operations: Verify, Maintenance, and Cleaning.
    When its finished all these steps, I'd then reset the SMC and PRAM:
    - Reset the PRAM: http://support.apple.com/kb/HT1379
    - Reset the SMC: http://support.apple.com/kb/HT3964
    If you still have problems after these steps come back to us
    Bob

  • Creating TOC Bookmarks in a PDF created from Microsoft Word

    Does anyone know how to modify PDF creation settings so that bookmarks are automatically set from the Table of Contents in the PDF version of a Microsoft Word document? This is possible in Windows using word and Acrobat Pro. But it's not automatic in the OSX-resident PDF creator and I can't find any way to modify preferences. I'm using Word 2004 (11.3.5) for Mac. Thanks!
    iMac 21" Intel   Mac OS X (10.4.10)  

    I am using Acrobat XI Pro on PC.
    Of course, I have done all the steps you mention,  but I wanted someone to confirm me if these setting values are correct in order to obtain the best results. I repeat the paragraph of my previous discussion that I want to clarify, just in case some of you can help me, mainly about optimization
    I digitalized the document from the scanner. This scanner is installed in the net, so I personalized the settings in Acrobat and I chose memory mode instead of native mode.
    Mode color: black on white
    Resolution: 600 ppp
    As you say in your mail, I understand I should choose ClearScan OCR not searchable just at this moment.
    Well, and what about the options of optimization?, JBIG2 (without lost)?, 4 CCITT?
    And filters?, I have: activated, low, activated, medium
    Are these values congruous or compatible?
    Thank you
    De: Phillip Jones [email protected]
    Enviado el: martes, 27 de noviembre de 2012 18:24
    Para: Suárez Suárez, Manuela
    Asunto: I cannot edit text in a PDF created from scanning
    Re: I cannot edit text in a PDF created from scanning
    created by Phillip Jones<http://forums.adobe.com/people/PhillipMJones> in Creating, Editing & Exporting PDFs - View the full discussion<http://forums.adobe.com/message/4877588#4877588

  • Why do I get "Insufficient memory to continue the execution of the program" in SQL Service Report Services

    Hi fellas,
    I'm facing some serious issues with SSRS. I've tried to create a map report in SQL server reporting service 2008R2. I've insert a map using ESRI shapefile and connected it to my Dataset. Everything seemed to be fine up until I've tried to preview the results
    and I got this:
    I've tried to resolve the problem by increasing the "MaximumTotalPc", but then I got this:
    Ever since this happened my SSRS is acting like it has gotten a virus. I've tried to delete the report, but it doesn't let me and the window I've posted above keeps on popping up every few seconds while the program is open.
    Any idea why do I get it and how can I deal with it?
    P.S. I'm not any kind of developer and I'm not really familiar with the technical language. I need an explanation written in user friendly language, please :-)

    Hi Ellie55,
    According to your description that you are experiencing the issue when you are creating the ESRI shapefile map on the SSRS 2008 R2, you got some error “the number of map point elements for “Map1” exceeds the maximum limits for map” when you click  to
    preview the map, you trying to set the properties of “MaximumTotalPointCount” to fix this issue but cause another error about the “insufficient memory”, right?
    By default, a map can have 20,000 map elements or 1,000,000 points. If your map exceeds these limits, you can increase the MaximumTotalPointCount and the MaximumSpatialElementCount, but it may cause the insufficient memory because of the too much points
    and elements. So I recommend you that you can use one of the following approaches for you have got problem increase the limitations:
    Remove a layer.
    Decrease the map resolution.
    Decrease the map viewport coordinates to view a smaller area.
    If the spatial data comes from a report dataset, set a filter to limit the data from the dataset. The filter must be set on a field that is not a spatial data type.
    If the spatial data comes from a SQL Server database, change the query to use spatial functions to limit the data to a smaller area.
    Details information for your reference :
    http://prashantmishrasblog.blogspot.com/2012/10/using-map-in-ssrs-reports-part1.html
    http://msdn.microsoft.com/en-us/library/ee240843.aspx
    As you this error also caused you can’t delete the report, please try to close the program in the task manager and find the path of project in your computer to delete the .rdl file in your workspace and redesign the map again.
    Any problem, please feel free to ask
    Regards
    Vicky Liu

  • My Microsoft Word is not opening - error 1712

    my Microsoft Word is not opening - error 1712 - Mac OSX version 10.6.8 - processor 2GHz Intel Core 2 Duo - Memory 2 GB667 MHzDDR2 SDRAM
    my memory is been nearly used up, I have withdrawn 2 GB of archives so that I can continue using my machine, as I am down in Brasil and yet could not find more memory, so I have asked a friend of mine who lives in London to buy me 5 GB more. But as I have done that, once I tried to open an archive, it didn't do so, & I got the 1712 message - I thought of re-iniciating the PC, but I just have a big work document down at the dock, which I cannot loose. I am afraid that if I re-start the Pc I wil loose the document. So I need a way to get the document out of the dock to a file, before I re-start my machine.

    Following thread could help you resolve the issue.
    Word is not opening error -1712 ,can anyone help please

  • Microsoft Word Freezing Repeatedly, Application Not Responding

    Just wondering if anyone else was having issues with Microsoft Word from MS Office 2008, where you open the application, you type a few sentences, and the application freezes with the spinning circle of death that won't go away until you click the dock where it says "application not responding" and do a force-quit? You can leave the circle spinning for 10-20-30 minutes, and it never goes away.
    Now for the weird part--this error only happens for me when I'm using a specific document on my computer. I can open Word, start a new document, type several paragraphs of text, and it works fine. But I've been working on an existing paper for about two months that all of a sudden started causing these freezes/crashes when editing it. It's about 30 pages roughly, no images, no big inserts that would take up a lot of memory (116 kb in size). And up until today, there were no problems. So why all of a sudden can't I edit anything on this paper without freezing the program?! I downloaded the Microsoft Office 2008 Service Pack 1 that was just released after this problem started, and ran all the recent Java and program updates through Software Update with computer restarts. I even copied the text from the Word document I was working on, pasted it into a new document, tried saving it as both .doc and .docx, and again the program still freezes when working with that text in a new file. This one baffles me. It's like the text within a document is somehow freezing the application. One thing I did notice is that the freezes seem to happen when I'm scrolling using a mouse wheel. Not always, but quite a bit. I suppose this is some memory issue related to several pages of text that the program can't render or process when you add new lines of text or scroll, but again, I can't figure why this paper I've been working on for months all of a sudden decided to start freezing Word today. Can you really only have 30 double-spaced pages of text in Word before it crashes?
    Looks like I've found my reason to switch to Open Office, since I'm 3-4 days out from a deadline. Any other solution strategies would be welcome. Thanks.

    Same problem here - Microsoft Word 2008 (update 12.1.7) will open fine, and then start the spinning pizza of death. Only way out is to force-quit the app. I've tried:
    1) deleting plist and font cache files
    2) uninstalling MS Office 2008, reinstalling and then re-applying updates 12.1.0 and 12.1.7
    3) confirming that Apple's Font Card.app can verify all fonts
    No luck. Currently I can't open any MS word doc without the spinning pizza of death.
    If you are lucky enough that these symptoms only happen with a specific Word .doc file, I would see if the PC-originator could re-save the file as .RTF and resend. If you can then open it OK, you could revert back to .doc (or .docx) format. RTF format is Microsoft's interchange format. If there are anomalies in the .doc file, saving as .RTF can sometimes clean them up. Once done, you can revert back to native MS Word format.
    ...b

  • When trying to start my Windows server 2008 R2 Data Center, I am getting "ramdisk device creation failed due to insufficient memory",

    I have the following:-
    VMWare workstation version 9 , with windows server 2008 R2 data center installed.
    - I have installed the windows 2008 R2 inside the VM using an iso image.
    - The host is windows 7.
    I use to work well with the VM, but after adding a new VM to the same workstation . I start getting the following error when starting my old VM
    ramdisk device creation failed sue to insufficient memory.
    And on the windows boot manger screen they mentioned to :-
    inset my windows installation dis and restart my PC.
    click “repair your computer”
    but not sure if this will fix the problem , baring in mind that the RAM assigned to the VM
     is 24 GB & 80 GB hard disk.
    The error is 
    Link.
    so can any one advice what is causing this error?
    Thanks

    You might start by checking the RAM.
    http://windows.microsoft.com/en-US/windows7/Diagnosing-memory-problems-on-your-computer
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Microsoft word 2008 slow save with iMac 2009 and yosemite

    I have microsoft word running on 4 different iMacs, all using Yosemite.  My 2008 iMac 2009 iMac  and 2014 retina display iMac all save word docs quickly.  My 2011 iMac saves word docx and word doc documents slowly.   All machines are basically the same.  Memory is not the issue.  I am running same updated version of word 2008 in same configuration.  I reinstalled word on 2011 slow save iMac to no avail.  problem started after upgraded to yosemite.  i have 12 gigs of ram as i thought ram was issue.  Any thoughts welcome. Are others noticing same problem?

    There has been a better and free alternative to old versions of MS Word and MS Office since forever. Apache OpenOffice 4.1.1 is the latest version of a free and complete All-In-One document processor, spreadsheet, drawing, presentation, database, & formula software, found here: http://www.openoffice.org
    It also reads, writes and translates MS Word, saves in many formats, and is pretty easy to use. It's entirely modern and compatible with all the latest Mac operating systems. Good luck.

  • Send email with microsoft word attachment

    Hi,
    I need to send the microsoft word as an attachment to external email.  When I send an email using transaction SBWP to external email, the recipient will receive the attachment in Microsoft word format.  But when I send the attachment to external email using my program,  the Microsoft word automatic change to pdf.  Kindly help.  Attach is my sample program.
    *&      Form  send_email
    FORM send_email .
      LOOP AT raw_tab.
        MOVE raw_tab-l TO it_attach-line.
        APPEND it_attach.
      ENDLOOP.
      WRITE 'Test' TO w_doc_data-OBJ_DESCR.
      perform get_packing.
      perform populate_email_message_body.
      perform receiver.
      lt_objhead = 'TEST'.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = t_packing_list
          object_header              = lt_objhead
          contents_bin               = it_attach
          contents_txt               = it_message
          receivers                  = t_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      COMMIT WORK AND WAIT.
    ENDFORM.                    " send_email
    *&      Form  get_packing
    FORM get_packing .
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-body_num = t_packing_list-body_num.
      t_packing_list-doc_type = 'TXT'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_attach LINES body_num2.
      t_packing_list-body_num = body_num2.
      t_packing_list-doc_type   =  'DOC'.
      t_packing_list-obj_descr  =  'TXT attachment'.
      t_packing_list-obj_name   =  'ATTACHMENT'.
      DOC_SIZE2 = ( ( body_num2 - 1 ) * 255 ) + STRLEN( it_message ).
      t_packing_list-doc_size   = doc_size2.
      APPEND t_packing_list.
    ENDFORM.                    " get_packing
    *&      Form  populate_email_message_body
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Testing program'.
      APPEND it_message.
    ENDFORM.                    " populate_email_message_body
    *&      Form  receiver
    FORM receiver .
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      t_receivers-receiver = [email protected]'.
      APPEND t_receivers. clear t_receivers.
    ENDFORM.                    " receiver

    just pass mail Id and the Pc file path of word doc in the selection screen of the below program ,it will send it as word attachment to the recepient.pls reward points if helpfull -
    REPORT  ZGILL_SENDMAIL_PDF                      .
    INCLUDE ZGILL_INCMAIL.  "SEE BELOW FOR INCLUDE PROGRAM CODE.
    DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case DEFAULT '[email protected]'.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY DEFAULT 'C:\TEMP\SALARY_SLIP1.PDF'.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    EXTENSION = extension
    NAME = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl
    *********************iNCLUDE pROGRAM********************************************
    *&  Include           ZGILL_INCMAIL                                    *
    Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    FORM
    FORM ml_customize USING objname objdesc.
    Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc <> 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    Header Data
    Already Done Thru FM
    Main Text
    Already Done Thru FM
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-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 = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    Receiver List
    Already done thru fm
    ENDFORM. "ml_prepare
    FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc <> 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    **********************INCLUDE END********************************

Maybe you are looking for

  • Convert InDesign File to a Word Document

    I am trying to convert a file from an InDesign file to a word document and have fallen into a problem. I also have Adobe Acrobat 9 Pro and have tried to save my InDesign file as a PDF, so far so good. It looks perfect, but when I save the PDF as a .d

  • Use angular Encoder position to trigger Digital out

    Hi, I am a beginner labview user, I have access to three modules, two NI9201 and one NI9401. I have an angular encoder that is used to measure the angular position of a motors crankshaft, what I'm trying to do is use the encoder to trigger a digital

  • Network Pane causes System Preference to Crash

    An unusual problem has cropped up on my Black Macbook 2 GHz machine. Everytime I click on the Network Pane it causes the system preferences to crash. I've tried everything from rebuilding the permissions, to deleting certain pref files. I thought I h

  • Upgrading 9.2.0.8 to 10.2.0 in oracle applications 11.5.10.2

    hi...! plz tell me how to upgrade oracle database 9.2.0 to 10.2.0 in oracle applications 11.5.10.2 I am following the metalink doc-id:359483.1. I did ths steps mentioned in the note. under DATABASE INSTALLATION step 3 I am getting following error....

  • Self service api for 11.1.2 B2B???

    Hi All, I have installed 11.1.2 Soa suite and B2B comes along with it.. I wanted the pointer to documentation that explains about using the self-service APIs for tp and agreement creation.... Regards, Praveen