Same old problem in Lion Mail with Fonts

Apple please let us finaly define a standard font familiy for new emails! Since years this is a very simple need from so many users. The problem is, that the sended emails looks very unprofessional in other clients like Outlook, because there is NO font family definition in the source code of the email - the result is, that the standard font of the client will be displayed to the user. In Outlook this is Times New Roman for example.
To write the text first and THEN change the format is NO solution for a everday 100 times process!
The old trick with the definition of a font in the signature and overwrite the first line with the content text also no longer works with Lion, because the cursor goes somewhere by hitting enter on the keyboard if I am in the "signature area".

Yeeeeees. Please - this is unbeleiveably frustrating. Apple, this is the longest standing bug I am aware of.

Similar Messages

  • Linkification (any version) does not work with FF9.0.1. Here we go again! Same old problem. Why don't you guys develop a permanent fix??!!! Don

    Here we go again. Same old problem with FF updates. FF9.x.x will not allow clickable internet links. They are dead when typed. ALL IE versions have clickable links BUILT IN! Why can't you do it??? Don't blame it on "third party add on incompatiblity." It's not their fault. It is YOUR fault for not including it. Do not blame users either.
    xpi files are not compatible with FF9.x.x even when dragged on to it

    '''''Linkification''''' was not developed by Mozilla.
    *The third party developer appears to have abandoned the Add-on (no longer updates it).
    *The last update available on the Mozilla Firefox Add-ons site ( https://addons.mozilla.org/en-US/firefox/addon/linkification/ ) was made compatible only through Firefox 3.6.x
    *The developer posted version 1.3.9 on his/her own site which was made compatible through Firefox 4
    *'''''Read the comments section on the Add-ons page for suggestions.'''''
    **I would NOT download from another site as you do not know what you might be getting.
    **You can install the following and force compatibility in Add-ons > Extensions
    ***https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/?src=ss
    **Under "Reviews", click "See all ###user reviews". The suggestion ''by marwn098 on November 11, 2011'' is the only one that I would recommend.
    ***Link to that suggestion --> https://addons.mozilla.org/en-US/firefox/addon/linkification/reviews/321220/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *'''''Adobe Shockwave for Director Netscape plug-in''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • TS2998 Same old problem, Apple vs. Cox

    Same old problem with Mountain Lion using Cox server. Can receive email in MAC MAIL but not connect to send. Fix?
    All settings are per Cox support information.

    Please help with sorting out the issues with the Cox email services?   Sorry; I'm just not that powerful. 
    If you're set up per the published specs (and those aren't easy to find), then Cox (mail or doc or the Cox network) is probably broken.  What's posted at various of the Cox support sites indicates that the SMTP send path is either TCP 587 with SSL/TLS enabled or TCP port 465 with SSL/TLS enabled.  Cox does appear to use different SMTP mail servers, depending on your service class and your particular geographic location.  Cox also appears to use POP and not IMAP, and specifically uses POP3 Port 995 on pop.cox.net; that's the SSL/TLS port for POP3.
    What to do?  Work with someone that you can share your credentials with, verify the error, and (if it can't be resolved) contact Cox and work through this error with them.
    Or as an alternative, don't use Cox for your mail.  I deliberately chose a mail hosting provider, and not the ISP I work with, for mail services.  That mail hosting move was easily very affordable, and the mail provider quickly answers the (few) support tickets I've needed very promptly.   In other words, the ISP deals with the network wiring, and the mail hosting provider deals with the mail servers.  And mail works.
    Or yes, you can use Google or another (free) mail provider, but - and with the providers of any of the free services in general - getting support when something goes weird is far from certain.

  • Have new MC544LL/A and same old problem"The ipod cannot be synced. A duplicate filename was specified."Is this a "apple or Itune" problem?

    Have new MC544LL/A and same old problem"The ipod cannot be synced. A duplicate filename was specified."Is this a "apple or Itune" problem?

    I fought this problem for WEEKS with no success.  iTunes on Windows 7 x64.  I tried running it as Administrator.  I tried every fix I could find here and on Youtube and nothing.  Any time I was in iTunes and switched focus to another Window like Outlook or something it would pop this error message up again.  I reinstalled iTunes from scratch.  This did NOT fix it, but it gave me a clue.  I figured it had to be my iTunes library which is stored on an external HD.
    After poking around in the library for a while I thought it might be a file that had been set to Read Only so I did an "attrib -r e:\itunes /s"  to clear all of them all.  This wasn't the problem but it alerted me to a file it couldn't clear.  The file was iT.tmp and it couln't clear that because the file was corrupt.  I deleted it but that still didn't fix it.
    I finally did a "chkdsk e:\itunes /f" and let it run through.  It found the error in iT.tmp, fixed it and now iTunes works fine again.

  • Mountain Lion mails with attachments on exchange get lost

    Dear Community,
    we encounter a real annoying and weird issue with CS6 on our Macintoshs using Mountain Lion 10.8.2.
    It all started, that mails with attachments (e.g. JPGS, PDFS...) just get lost and do not arrive. Not all mails but some, spontaneously. But always the same files were affected. Some work, some not.
    Our company is using Exchange, and there is no message back to the sender, that the mail did not arrive. You can even see it on sent items and it occurs in Outlook 2011 as well as Apple Mail. I contacted our IT and they checked the Exchange logs and everything is fine, like the mail would have arrived, bit it does not.
    We went crazy and tried almost everything, clean OS installs, new users... the funny thing: when you forward the mail out of "sent items" it arrives...
    Today a milestone appeared while troubleshooting this issue: We realized, that only files saved from Photoshop, Indesign, Illustrator (basically CS6) are affected. When I save a PSD as a JPEG out of Photoshop and mail it as an attachement it gets lost. Always. Same for PDFs or other file formats out of CS6.. When I open a PSD  on embedded Mac Viewer and export as JPEG or PDF it does arrive the sender. So it only happens when saving the files out of CS6.
    So now, I have no clue how to proceed. Is anybody else having this issue or can help us? It is a mess, because it turns our daily work to a horror.
    Any help is appreciated solving this weird issue. Thank you so much.

    Hi ,
    You can try setting the below value to false and see the results too since its exceeding the recipient thread limit could be a problem with the throttling as well.
    <add key="MailboxDeliveryThrottlingEnabled" value="False" />
    Restart the transport services after the change and see the results.
     Good Luck :)
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com
    Hello, thanks for the try,
    tried the change in edgetransport.exe.config. Restartet the 4 transport services (Transportdelivery,transportsubmission, transport and transport logsearch) No change though. Problem still exists. May this go into msexchangethrotteling.exe.config? 
    Regards
    Michael

  • New iPhone 4....same old problems

    Hi folks, I'm one of the many disappointed iPhone4 customers and I hope you can help me out here. Yesterday I got my new iPhone4 and as I was expecting I have the common problems almost everybody else has: poor reception/lost of reception almost all the time. The previous iPhone 3G was working great but the new one is not. Mine came bundled with iOS 4.1. As I have read in this forums and many others there seem to be a bug in this version of the OS that causes poor reception and incorrect signal strength bars. I was wondering whether it possible to install the previous version of the OS, namely, iOS 4.0.5 (i guess that's the correct version number?) because I've heard that that particular version doesn't have this problem (I'm aware I will lose things like HDR but hey, I have a real camera for that so I don't care if the iPhone has or not HDR capabilities).
    Is that possible? if so, how can I do it?
    thanks,

    Hi Malcolm,
    You are reading reports from only the users who have problems. Users without problems don't >complain.
    This is a weak argument. What should I do? read the complains of people whose devices work fine? I'm sorry but your answer to that sentence doesn't hold. Whenever you have problems with something you look for advice and comments of people that have the same problems. That's the way human problem solving works.
    When the next version comes out you will see many people wanting to return to 4.1, which will
    have suddenly become perfect.
    Again, this is a thin argument. As customers who pay a LOT of many for electronic devices we want things to be functional. So, with the release of a new driver/OS version we expect the old problems to go away and, yes, new problems will come along because that's just the way software development works. So, if iOS 4.1 was supposed to solve reception problems how does Apple explains that after releasing v4.1 those problems are still here? Many people have reception problems, just read the forums. Again, we don't just a fancy electronic device, we want a functional thing. It's like buying an expensive rolex watch that does everything except telling you the time. Or having a Ferrari with a broken engine.
    Thanks for the feedback! I'll keep testing the iPhone and if it doesn't get better in a week I'm afraid I'm gonna have to return it and keep using the old 3G until reception problems with the iPhone 4 are solved.

  • Problem to receive mail with Apple Mail client

    Apple Mail cannot receive mail. Mail is sent without any problems. I thought that it may have to do with my iPhone but when it is shut down I still get this error.
    The error message that I get is:
    Unable to Receive Mail
    The mail server denied access to the account "xxxxxxx" because an administrator or other mail client was using it when Mail tried to log in. Please try again later.
    The server error encountered was: Unable to lock maildrop: Mailbox is locked by POP server.
    Does anyone have any suggestions on how to proceed?

    I determined the problem had to do with other computers configured with POP (same account) locking the mailbox. Moral of the story is to just have one computer configured with POP and all the rest with IMAP.

  • Encoding problem when forwarding mails with attachments using exchange account

    Hi,
    I'm facing a special misbehaviour of mail. Scenario: With Apple Mail 7.2 I would like to forward an exchange mail with attachments. The mail is wirtten in german and uses german special characters like äüöÄÖÜ. During editing the mail everything is ok which means all characters are shown in thte correct way. When I send the mail, something magic must happen in the background.
    When I look in the sent mail folder and open the mail, all special characters are show as "?". Must be an encoding problem, I gues but I don't know how to fix it.
    When I send exactly the same mail with another Apple mail account (non exchange), there is no problem. So I assume it has something to do with handling exchange accounts under Apple mail.
    Any idea to solve this issue? Thanks in advance.
    Br,
    Jakob

    This is a know issue with Yahoo! Email on the iPhone. When sending email, sometimes it will say it has been sent, while it really has not (and it will not show up in the sent folder).
    It has been discussed quite a bit in the forums, so a search will turn up a lot of discussion, but no solid solution. Some say Yahoo is working on a fix, other that Apple is.
    The most common solution (which is usually temporary), is to either reboot your phone, and/or delete and reinstall your Yahoo! Mail account on your phone.

  • Problem in Sending mail with attachment (Excel sheet)

    Hi
    Iam using this FM   SO_NEW_DOCUMENT_ATT_SEND_API1  for sending mail with an attachment (excel sheet).
    the application is running fine , mail is going to other system .   but the excel sheet attachment contain only few rows  not all.
    and the body of the mail is not displaying . 
    Can any one help me. Thanks in advance.

    Hi,
    you can use cl_bcs classes for the same. I am using below code for same thng
      CONSTANTS:c_tab  TYPE c VALUE cl_bcs_convert=>gc_tab.
      CONSTANTS:c_crlf TYPE c VALUE cl_bcs_convert=>gc_crlf.
      DATA o_send_request   TYPE REF TO cl_bcs.
      DATA o_document       TYPE REF TO cl_document_bcs.
      DATA o_recipient      TYPE REF TO if_recipient_bcs.
      DATA o_bcs_exception  TYPE REF TO cx_bcs.
      TRY.
        o_document = cl_document_bcs=>create_document(
          i_type    = 'RAW'
          i_text    = is_mail_text
          i_subject = text-005 ).
      ENDTRY.
    *create file header
    CONCATENATE
                    text-h00 c_tab text-h01 c_tab text-h02 c_tab text-h03 c_tab text-h04 c_tab
                    text-h52 c_tab text-h05 c_tab text-h06 c_tab text-h07 c_tab text-h08 c_tab text-h09 c_tab
                   c_crlf INTO w_data_string.
    Loop at itab which contains data to be send as attachment
    concatenate field1 field2 field3 c_crlf into your_string separated by  c_tab
    conatenate final string your_string into final_string.
    endloop.
    *Convert data into suitable excel format
      TRY.
          CALL METHOD cl_bcs_convert=>string_to_solix
            EXPORTING
              iv_string   = w_data_string
              iv_codepage = '4103'
              iv_add_bom  = 'X'
            IMPORTING
              et_solix    = w_binary_content.
        CATCH cx_bcs INTO o_bcs_exception.
          IF o_bcs_exception IS NOT INITIAL.
            w_exec_txt = o_bcs_exception->get_text( ).
            MESSAGE w_exec_txt TYPE 'S'.
          ENDIF.
      ENDTRY.
        add the spread sheet as attachment to document object
      CONCATENATE text-006 sy-datum INTO w_attach_name SEPARATED BY space.
      o_document->add_attachment(
        i_attachment_type    = 'xls'
        i_attachment_subject = w_attach_name
        i_att_content_hex    = w_binary_content ).
    *create persistent send request
      o_send_request = cl_bcs=>create_persistent( ).
        add document object to send request
      o_send_request->set_document( o_document ).
        create recipient object for external mail id
      w_mlrec = iw_recipent.
      TRY.
          o_recipient = cl_distributionlist_bcs=>getu_persistent(
              i_dliname = w_mlrec
              i_private = space ).
        CATCH cx_bcs INTO o_bcs_exception.
          IF o_bcs_exception IS NOT INITIAL.
            w_exec_txt = o_bcs_exception->get_text( ).
            MESSAGE w_exec_txt TYPE 'S'.
          ENDIF.
      ENDTRY.
        add recipient object to send request
      o_send_request->add_recipient( o_recipient ).
        ---------- send document ---------------------------------------
      w_sent_to_all = o_send_request->send( i_with_error_screen = 'X' ).
      IF w_sent_to_all EQ abap_true.
        COMMIT WORK.
      ENDIF.

  • Problem of sending mail with MTA

    Hi,
    I have installed Sun Messaging Server, but I have a problem to send mail to other SMTP server over internet, like gmail, hotmail... So I have tried to send an email using javamail and I get this exception "530 5.7.1 Relaying not allowed", that mean that I don't have a Relay SMTP to routing the messages. But the idea that I have, is that the MTA installed with Messaging Server play the role of SMTP Relay.
    So this idea is true, so I think is can be I problem of configuration, and I need to have may own SMTP Relay and don't using ISP Relay.
    and I thank you for your help,
    Mabrouk.

    GS1-Tunisia wrote:
    21-Nov-2008 17:32:31.58 tcp_local                 Q 1 [email protected] rfc822;[email protected] [email protected] TCP active open: Failed connect()    Error: Connection timed out
    This indicates that Messaging Server is unable to connect to the yahoo mail servers.
    I have configured my server to use mydomain.com with ip 41.x.x.xHow did you configure your server to achieve this -- what settings did you add/change?
    but when I see this log [email protected] is converted to [email protected] and 192.168.3.2 is mailhost which is behind firewall in DMZ, So it may be the problem of NAT, I don't know!!!
    Given that Messaging Server cannot connect to the yahoo mail servers, the problem appears to be at the networking level so the firewall is most likely blocking the outgoing port 25 connection.
    When you are on the Messaging Server system, what output do you get for the following command:
    telnet a.mx.mail.yahoo.com. 25Regards,
    Shane.

  • Problem in sending  mail with attachment

    Hi All,
    I am using the function module <b>'SO_NEW_DOCUMENT_ATT_SEND_API1'</b> to send mail with attachment.
    the program executes properly and shows a message <b>'Document Sent'</b>. But neither the sent mail appears in <b>'SOST'</b> nor I get it on the specified email id.
    Below is my code:
    <b>***</b> As attachment I am sending resume whose contents are stored in table 'ZResume' corresponding to personnel no.(pernr) and serial No.(srno).
    <b>START OF PROGRAM</b>----
    REPORT  ZPTEST_SEND_MAIL_ATTATCHMENT.
    DATA : w_name TYPE sos04-l_adr_name.
    DATA: RESUME TYPE table of XSTRING with header line.
    START-OF-SELECTION.
    <b>* Data Declaration</b>
      DATA:
        l_datum(10),
        ls_docdata    TYPE sodocchgi1,
        lt_objpack    TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
        lt_objhead    TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objtxt     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_objbin     TYPE TABLE OF solisti1   WITH HEADER LINE,
        lt_reclist    TYPE TABLE OF somlreci1  WITH HEADER LINE,
        lt_listobject TYPE TABLE OF abaplist   WITH HEADER LINE,
        l_tab_lines TYPE i,
        l_att_type  LIKE soodk-objtp.
      WRITE sy-datum TO l_datum.
      SELECT SINGLE RESUME FROM ZRESUME INTO RESUME
          WHERE PERNR EQ '00001182'
          AND SRNO EQ '1'.
    APPEND RESUME.
    <b>* Because RESUME may be  of size RAW(1000)
    and objbin is of size CHAR(255) we make this table copy</b>
    CALL FUNCTION 'TABLE_COMPRESS'
        TABLES
          in             = resume
          out            = lt_objbin
        EXCEPTIONS
          compress_error = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'TABLE_COMPRESS'.
      ENDIF.
    <b>* Create the message and send the document.
    Create Message Body</b>
    <b>* Title and Description</b>
      ls_docdata-obj_name = 'Resume'.
      ls_docdata-obj_descr = 'Resume'.
    <b>* Main Text</b>
      lt_objtxt = 'Resume of the candidate' .
      APPEND lt_objtxt.
    <b>* Write Packing List (Main)</b>
      DESCRIBE TABLE lt_objtxt LINES l_tab_lines.
      READ TABLE lt_objtxt INDEX l_tab_lines.
      ls_docdata-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objtxt ).
      CLEAR lt_objpack-transf_bin.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = 'RAW'.
      APPEND lt_objpack.
    <b>* Create Message Attachment
    Write Packing List (Attachment)</b>
      l_att_type = 'ALI'.
      DESCRIBE TABLE lt_objbin LINES l_tab_lines.
      READ TABLE lt_objbin INDEX l_tab_lines.
      lt_objpack-doc_size = ( l_tab_lines - 1 ) * 255 + STRLEN( lt_objbin ).
      lt_objpack-transf_bin = 'X'.
      lt_objpack-head_start = 1.
      lt_objpack-head_num = 0.
      lt_objpack-body_start = 1.
      lt_objpack-body_num = l_tab_lines.
      lt_objpack-doc_type = l_att_type.
      lt_objpack-obj_name = 'ATTACHMENT'.
      lt_objpack-obj_descr = 'Resume'.                  
      APPEND lt_objpack.
    <b>* Create receiver list</b>
        lt_reclist-receiver = '[email protected]'.
        lt_reclist-rec_type = 'U'.
        APPEND lt_reclist.
    <b>* Send Message</b>
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = ls_docdata
          put_in_outbox              = ''
        TABLES
          packing_list               = lt_objpack
          object_header              = lt_objhead
          contents_bin               = lt_objbin
          contents_txt               = lt_objtxt
          receivers                  = lt_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.
      Document sent
        MESSAGE ID 'SO' TYPE 'S' NUMBER '022'.
      ELSE.
      Document <&> could not be sent
        MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
           WITH ls_docdata-obj_name.
      ENDIF.
    <b>END OF PROGRAM</b>----
    Can anybody tell me where I am making mistake?
    Thanks in advance,
    Pragya

    Hi Pragya,
    Refer the code below. It's working fine and try to match up the things from your program.
    REPORT ZSAMPL_001 .
    INCLUDE ZINCLUDE_01.
    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.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY.
    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 ZINCLUDE_01 .
    10.08.2005 Amit M - Created
    Include For Mail (First Req F16)
    Modification Log
    Data
    tables crmrfcpar.
    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.
    data v_rfcdest LIKE crmrfcpar-rfcdest.
    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
    FORM
    FORM ml_saveforbp USING jobname jobcount.
    Data
    *data : yhead like yhrt_bp_head.
    *DATA : ydocdata LIKE yhrt_bp_docdata,
    *yobjtxt LIKE yhrt_bp_objtxt OCCURS 0 WITH HEADER LINE,
    *yreclist LIKE yhrt_bp_reclist OCCURS 0 WITH HEADER LINE.
    *DATA : seqnr TYPE i.
    Head
    *yhead-jobname = jobname.
    *yhead-jobcount = jobcount..
    *MODIFY yhrt_bp_head FROM yhead.
    Doc Data
    *ydocdata-jobname = jobname.
    *ydocdata-jobcount = jobcount.
    *MOVE-CORRESPONDING docdata TO ydocdata.
    *MODIFY yhrt_bp_docdata FROM ydocdata.
    Objtxt
    *seqnr = 0.
    *LOOP AT objtxt.
    *seqnr = seqnr + 1.
    *yobjtxt-jobname = jobname.
    *yobjtxt-jobcount = jobcount.
    *yobjtxt-seqnr = seqnr.
    *MOVE-CORRESPONDING objtxt TO yobjtxt.
    *MODIFY yhrt_bp_objtxt FROM yobjtxt.
    *ENDLOOP.
    RecList
    *seqnr = 0.
    *LOOP AT reclist.
    *seqnr = seqnr + 1.
    *yreclist-jobname = jobname.
    *yreclist-jobcount = jobcount.
    *yreclist-seqnr = seqnr.
    *MOVE-CORRESPONDING reclist TO yreclist.
    *MODIFY yhrt_bp_reclist FROM yreclist.
    *ENDLOOP.
    ENDFORM. "ml_saveforbp
    FORM
    FORM ml_fetchfrombp USING jobname jobcount.
    *CLEAR docdata.
    *REFRESH objtxt.
    *REFRESH reclist.
    *SELECT SINGLE * FROM yhrt_bp_docdata
    *INTO corresponding fields of docdata
    *WHERE jobname = jobname
    *AND jobcount = jobcount.
    *SELECT * FROM yhrt_bp_objtxt
    *INTO corresponding fields of TABLE objtxt
    *WHERE jobname = jobname
    *AND jobcount = jobcount
    *ORDER BY seqnr.
    *SELECT * FROM yhrt_bp_reclist
    *INTO corresponding fields of TABLE reclist
    *WHERE jobname = jobname
    *AND jobcount = jobcount
    *ORDER BY seqnr.
    ENDFORM. "ml_fetchfrombp
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • The same old problem with temperatures (K8N Neo Platinum)

    I have problems since bios v1.0 on my K8N Neo Platinum with temeparutes.
    I have installed a Prometeia Mach II St colling unit
    I Tested the v1.0 official bios, the temperature was allways -65º full ou idle, what it is impossivel.
    In the moment i flashed the bios to v1.2b5, temperature changed to 49º, and I did not move in nothing. The same temperature appears in all bios since v1.2b5. Now I have the v1.4b2 bios
    Sorry the Bad English

    Here are the instructions to reflash the BIOS for your K8 Neo. I am currently running ver.1.4 with little problems. My only snafu is the LED for my optical mouse stays lit even when system is off, however I have no RAID, Ethernet, onboard sound, or SATA drives. I have just a simple basic system, and I don't overclock. My board is the K8 Neo Platinum socket 754, with an AMD64 3000+. YOU MUST HAVE A FLOPPY DRIVE CONNECTED TO SYSTEM FOR THESE INSTRUCTIONS TO WORK!.
    Flashing BIOS on K8 Neo per MSI. READ ALL instructions before starting.
    1.Check your BIOS for flashing protection and disable it.
    2. Know your board model#. a. Open case and find model# on the board between the PCI slots, or b., boot system and at first DOS screen you will see 'W7030ver1.4122101'. This means you have a MSI model 7030 motherboard with BIOS version 1.4 issued on 12/21/01.
    3.Download the Bios that matches your motherboard model and version#.(I believe the Neo Plat had two versions, 1.0 and 1.1). I have 1.0. It will be found between the PCI slots. Create a folder on C: drive labeled 'C:\TEST'
    4.EXtract the BIOS file to C:\TEST folder.
    5.Create a boot floppy. For XP, at Desktop double click My Computer, right click floppy drive, click Format to format the disk, then click 'Create MS-DOS Boot Disk'.
    6. Set boot order to floppy. Hit F11 to select boot device.
    7. Insert boot floppy and restart system.
    8. At A:\ prompt type in the following,
    C:\ (enter)
    cd\TEST(enter)
    awdfl833c(space)w7030nms.130
    The w7030nms.130 is the BIOS file name you downloaded to C:\TEST. Keep in mind you're dealing with DOS file names, so you may need to open a DOS window in Windows, and search C drive for the TEST folder and write down the DOS file name of the BIOS file BEFORE you start the BIOS update.
    9. Reboot when prompted. It shouldn't take more than 10 seconds to update the BIOS.

  • Same old problem Norton Toolbar Extension does not work with the latest Firefox 5 .

    When will norton have a update.

    That Site Advisor add-on duplicates features that are built into Firefox. <br />
    http://www.mozilla.com/en-US/firefox/phishing-protection/
    That said the Site Advisor 3.3.1 is blocklisted by Mozilla due to the Site Advisor extension being the #2 cause of crashing the Firefox 5.0 betas. McAfee was notified of the problem long before that extension was added to the blocklist. Now it is up to them to fix it. <br /> https://addons.mozilla.org/en-US/firefox/blocked/
    I have heard that SiteAdvisor 3.4 is now available, which should fix all FireFox 5.0 issues. It is available from siteadvisor.com . Not sure why McAfee isn't doing an automatic update for their users.

  • CS2 Quits constantly, new machine, same old problem

    Hello.
    my g5 quad was replaced by apple with a 3.0GHz MacPro and while running certain apps hard, like CS2, Adobe Camera Raw, or Adobe Bridge, they will quit unexpectedly just as they did on the defunct g5 we had.
    I have tried everything, just as i did with my Quad, to repair the situation. reseating the RAM, resetting the PRAM, deleting the cache, running DU to repair permissions/repair the disk, running AHT in loop, AND starting with a fresh OS install. none of my files aside from my music and my photos are from the g5 i had. this is not an importing anomaly.
    i went to the apple store and they told me that this may be because it is running in Rosetta. i also asked them why my 2 year old PC with an single core AMD Athlon64 3500 and 4 GB of PC3200 can run CS2 so much faster than the MacPro (ridiculous to watch but the PC is actually 2 times faster than the apple if set to the same task at the same time), and they said this may also be due to Rosetta and/or leopard not yet being here. i have been assured that Leopard and CS3 will fix all this. i don't know what to do. i don't want to bring the machine back again. i feel so badly because those guys have tried so hard to help us because they know it is (was) our business machine and that we bought it to speed up our work flow. unfortunately, i don't think the machine is capable of that kind of thing, and i don't trust it to do much anymore. Apple has been very kind to us, and so have their people, but the machines we have used have not been quite so kind or helpful once our troubles began.
    i'm not into fighting the holiday crowds for parking and lugging a 40 pound machine around... and frankly, i would be pretty upset if i were on the apple team and saw me back at the store with the brand new machine after all the hard work they put in to help us.
    i've stopped using the apple machine as i am afraid to push it hard for my business or multi-task. as a photographer, i am certain that i am not pushing it as hard as a videographer would be. but, i can't run more than CS2 and maybe a web browser (firefox 2.0 is very slow and unresponsive on this machine) without it slowing down... or crashing a program altogether and losing all my work. CS2 is what i use...
    so, i've resumed work on my windows machine, and basically use the apple as a storage device/paper weight. that was a $5000+ mistake our business has made, and it's tough to recover from that in my business with one PC based machine that works and an awfully expensive apple paperweight.
    NED SNOWING wrote back to me and had this to say:
    "hey said this may also be due to Rosetta and/or leopard not yet being here. i have been assured that Leopard and CS3 will fix all this.
    This is correct. As all PowerPC applications, like Adobe CS2, have to run through a software "translation" layer everything is slowed down for that application. This is why CS2 apllications run no better than the G5s on the Mac Pro. However, once the like of Adobe etc release their applications as Universal or Intel binary applications you'll see the performance skyrocket forward.
    Due to Apple's accelerated transition the like of Adobe have in actual fact been caught a little short in their developement timings. Be aware that the use of Rosetta for applications is only temporary.
    By the way, there's no reason that you could run Windows under Boot Camp on the Mac Pro in the meantime.
    Mac Pro 2.66GHz 3GB/5x300GB (see bio)/ATi X1900 XT/AE/BT ; Dell 2405FPW Mac OS X (10.4.8) MacBook Pro 15.4" C2D 2.16GHz 2GB/120GB/Glossy ; Mac mini CD 1.66GHz 2GB/80GB/SD"
    My question stands at this:
    still, i do not understand why the machine is so dramatically slower than my 2 year old PC with a single core AMD64 XP3500 and 4 GB of PC3200 AND 2 near full 80GB IDE hard drives.
    the Quad was ridiculously fast. it was so fast that i thought there was something worng with it. i never wanted to use my windows machine again and then it failed and failed and deleted our data and failed again...
    if i am understanding you correctly, you're saying that this machine SHOULD run CS2 at a rate on par at least with the Quad... well, i invite you to show me what i am doing wrong, PLEASE. The failure of the Quad crippled our business, and now this machine has put us at a $5000+ deficit without anything to show for it. It takes me more time to use the Mac than my PC… IN CS2… and your statement is that the MacPro should run at speeds equal to or at least comparable to the g5. Mine doesn’t. and I am not at all happy about having to bring a brand new machine they replaced along with my PC to the store to demonstrate how slow their stuff is when the Quad blew this heap away AND could multitask. The Apple guys at the store have been great, and this just plain stinks to have to bring back a machine that's supposed to be working and isn't, AFTER being replaced. it's pretty damned embarrassing.
    no errors in AHT, Mem test is fine. 2 500GB hard drives, primary drive has 400GB free when i am not working on a project. 250GB when i am. all my stuff is backed up on Terabyte Servers. the replacement machine they gave us had 2GB of RAM (4-512 sticks) and the Apple Store installed 2 1GB sticks as the machine we turned in was equipped as such.
    please, please, please help me.

    while running certain apps hard, like CS2, Adobe Camera Raw, or Adobe Bridge, they will quit unexpectedly just as they did on the defunct g5 we had.
    The I would say that you're installing some software that is problematic else you used the Migration Assistant to get your data from one to the other. Either way, I would clean install the system and install a minimum of software to ensure that the system is stable before adding to it. I find it hugely unlikely that two completely different systems to exhibit the exact same issue.
    Additionally, if you have installed Adobe Version Cue 2 then that might well be your problem.
    still, i do not understand why the machine is so dramatically slower than my 2 year old PC with a single core AMD64 XP3500 and 4 GB of PC3200 AND 2 near full 80GB IDE hard drives.
    Have you ever had a conversation with someone with whom you did not have a common language and had to use a translator? This is the situation that Apple has with Rosetta (where Rosetta is the translator). If you take into account these mechanics you can't expect this scenario to have a conversation as quick as two people talking in a common language, even if one of the parties isn't very good at that language.
    if i am understanding you correctly, you're saying that this machine SHOULD run CS2 at a rate on par at least with the Quad
    No… I'm not saying that. What I said was that the Mac Pro should perform equivalently to a low end G5. I would expect a 3GHz MP to be roughly equivalent to a 2.3GHz DC PowerMac G5 in the best case. To expect more than that with Rosetta in the picture would be rather delusional.
    I am not at all happy about having to bring a brand new machine they replaced along with my PC to the store to demonstrate how slow their stuff is when the Quad blew this heap away AND could multitask.
    I wouldn't be best pleased about that either although I don't really know what you're expecting any of us to say. As I said earlier my best advise would be to erase the boot/application drive and then install everything new and from the original CDs/DVDs. If under the simplest setup possible you still experience crashing then I would contact Adobe or which ever software developer for the problematic application(s).
    Otherwise, just return the thing, eat the restocking fee and wait until Adobe CS3 is released.

  • Problem when sending mails with excel attached

    Hi
      I'm tryin to send mails via SAPOffice with attached excel documents. I'm using FM SO_NEW_DOCUMENT_ATT_SEND_API1. I have a problem with the code. Here I post it:
    DATA:  ti_objbin    LIKE solisti1   OCCURS 150 WITH HEADER LINE,
    ti_objhex    LIKE solix      OCCURS 150 WITH HEADER LINE.
    DATA: BEGIN OF i_excel,
    sobid(8) TYPE c,
    tab1 TYPE X VALUE 09, "tab code
    name(80) TYPE c,
    tab2 TYPE X VALUE 09, "tab code
    city(40) TYPE c,
    tab3 TYPE X VALUE 09, "tab code
    kostl(10) TYPE c,
    tab4 TYPE X VALUE 09, "tab code
    ktext(20) TYPE c,
    tab5 TYPE X VALUE 09, "tab code
    fasig(10) TYPE c,
    tab6 TYPE X VALUE 09, "tab code
    ruta(255) TYPE c,
    fin  TYPE X VALUE 13, "carriage return
    END OF i_excel.
    i_excel-sobid        = wa_datos-sobid.
    i_excel-name         = wa_datos-name.
    i_excel-city         = wa_datos-city.
    i_excel-kostl        = wa_datos-kostl.
    i_excel-ktext        = wa_datos-ktext.
    i_excel-fasig        = wa_datos-fasig.
    i_excel-ruta         = wa_datos-ruta.
    WRITE i_excel TO ti_objbin-line.
    APPEND ti_objbin.
    CLEAR  ti_objbin.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data              = docdata
    put_in_outbox              = 'X'
    TABLES
    packing_list               = ti_objpack
    object_header              = ti_objhead
    contents_bin               = ti_objbin
    contents_txt               = ti_objtxt
    *      contents_hex               = ti_objhex
    receivers                  = ti_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.
    I have used this code before, in 4.6C release and it works fine, but now I'm on ECC5.0 and when i check the code, the next error message is generated: ""I_EXCEL" cannot be converted to a character-type field." If i try using MOVE i_excel TO i_objbin-line instead of WRITE, the error message changes to: ""TI_OBJBIN-LINE" and "I_EXCEL" are not mutually convertible in a Unicode program. program.". I have tried using ti_objhex table instead of ti_objbin in order to use 'context_hex' parameter (instead of 'context_bin') on FM, but i get the same result.
    I've been searching any other FM to do this, and i've found more FM of SOI1 function group but i didn´t get the expected result. So i need to send the message with the excel attached, using this FM or any other, but I need some help.  Anyone can help me?
    Thanks and Regards

    hi this is a simple example to send the excel sheet as a mail
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      data: ld_store(50) type c.  "Leading zeros
      CONSTANTS: con_cret(5) TYPE c VALUE '0D',  "OK for non Unicode
                 con_tab(5) TYPE c VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
    *Modification to retain leading zeros
      inserts code for excell REPLACE command into ld_store
      =REPLACE("00100",1,5,"00100")
        concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
                                 wa_charekpo-ebelp '")' into ld_store .
      concatenate ld_store into .xls file instead of actual value(ebelp)
        CONCATENATE wa_charekpo-ebeln ld_store  wa_charekpo-aedat wa_charekpo-matnr  INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    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-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    regards,
    venkat.

Maybe you are looking for

  • Product heirarchy vs material groups for sales

    Hi, Can I make use of the material groups(5 in toatl in sales view1) to generate report for seeing the value/sale of any material instead of using product heirarchy ? If I have created a 3 level heirarchy then how best I can use it to see in a report

  • Keyboard interfacin​g in starter kit 2.0 Robot

    Hello                  I want to control starter kit 2.0 robot using  keyboad . anyone  worked  in Keyboard interfacing in starter kit 2.0 Robot ?                  I use event structure to get  scan code of press key . according  to this code control

  • Error Pop Ups in a new window

    == Issue == I have another kind of problem with Firefox == Description == While browsing pages through Firefox it comes up with a new window error pop up. Two of the tabs show this message - Index of file:///C:/Program Files/Mozilla Firefox/ and a th

  • Runtime Errors  UNCAUGHT_EXCEPTION  ..CX_SDB_ORA_PROGRAM_ERROR

    I am currently working on Bi 7. I am trying to delete master data from infoobject 0RPM_IDGU, but when i try saving the saving Infoobject after delting the data, it gives me following error. <b>Runtime Errors  UNCAUGHT_EXCEPTION  Exception : CX_SDB_OR

  • I changed my apple ID now I can't update my apps?

    I changed my apple ID and now I can't update my apps...