Mail send from displayed layout from Tcode F.64

Hi Experts,
My client has a requirement. In tcode F.64 we are getting a output layout of Money Receipt. Now the requirement is that in the displayed layout there should be a customized button  clicking on which the layout will be converted to pdf format and will be send through mail to some predefined ids as attachment. Can anyone suggest me on this? Is this possible?
Thanks in advance.
Regards,
Surya
Edited by: suryabasu on Jan 3, 2012 9:46 AM

Hi Madhurao,
Thanks for your reply. So you are suggesting to create a Z-report which will accept a spool request and then it will convert it to pdf and then that pdf will be sent through mail?
Regards,
Surya

Similar Messages

  • Adding attachments to the mail send from XI

    Hi all,
    How can we add attachments to the mails send from XI?
    Regards,
    Satpreet Singh

    Hi
    Do the Mail Receiver Adaptor Configuration as mentioned.
    Choose any of the options suiting to your requirements. All the options shall give attachments in one way or the other.
    1) Choose Message Protocol   = u201CXIALLu201D
    The mail will go to the address mentioned in Mail Attributes in the adaptor as two attachments. The file something like ATT123.xml will contains all the system information and another file u201CpayloadXXXu2026..xmlu201D will contain the input file you give.
    2) Message Protocol =   u201CXIPAYLOADu201D with u201CMail Packageu201D
    If we check u201CKeep Attachmentsu201D in u201CMail Attributesu201D then, the content will be sent as an attachment otherwise, the content will be sent as body of the mail.
    3)Message Protocol =   u201CXIPAYLOADu201D without u201CMail Packageu201D
    The content will go as attachment even though u201CKeep Attachmentsu201D is not checked. If u201CKeep Attachmentsu201D is not checked then the attached file name will be same as that of the subject we have given in the Subject in Mail Attributes. 
    If the checkbox u201CKeep Attachementsu201D is checked, then the attachment file name will be u201CPayloadXXXXu2026.xmlu201D irrespective of the input file name.
    For more details:
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    Regards
    Monika

  • How to check the success/failure of e-mail sending from Sharepoint?

    Dear Expert,
    I connect Exchange 2010 and SharePoint 2010. When user create workflow in sharepoint, it will send the email to confirm. if it's done. but I checked from user they didn't get the email. I would like to know how to check the success/failure of e-mail
    sending from Sharepoint? 
    Thank you

    By default, there is no logging mechanism in SharePoint for outgoing mails.
    Mails in SharePoint are sent by giving an SMTP sever IP address in Central Administration. SharePoint never sends email directly. It relays or routes mails to the SMTP server. So, logging should be done in the SMTP server itself.
    There is also another way of doing it. You can enable SMTP service of IIS for sending emails from SharePoint, which would also just relay the mails to an SMTP Server. But in this case, you can enable logging in your IIS SMTP Service. Please visit this blog
    for more details.
    In your case you need to check your exchange server for any failure for relaying mails.
    Regards, Vikas Patel

  • Mail sending from wrong gmail address

    I have multiple gmail addresses that I send from: one for work and one for personal. The email addresses are very similar, but for an additional ".am" suffix on the username of the work account. When I want to send an email from my work account I switch the "from" field to my work address, but it still gets sent from my personal address. The only workaround I've found is to force the work address into my "reply to" field. This still has the mail coming from the wrong account, but at least responses to the mail go in the right account. I do not have this problem when sending mail from other domains, nor do I have this problem when sending from my iPhone. I have my Gmail accounts set up with identical POP settings.

    i.3d wrote:
    I assume you are talking about the Apple's Mail
    Yes, this is the "Mail and Address Book" forum after all!
    i.3d wrote:
    Start Mail, go to Preferences / Accounts.
    For each account set the Outgoing server to be smtp.gmail.com:XXXXX - XXXXX being the user name you want send from.
    Tick: Use only this server.
    Now you should be a happy camper.
    I tried that. It causes my outgoing servers to go offline, and I couldn't send mail from either gmail address. My current workaround is to send the mail from another domain. I don't know if there are any disadvantages to this down the line.

  • Mail sends from random accounts

    I noticed that mail will send from anyone of the 7 accounts I have set up. I prefer it to only send from my me.com account. Is there a way I can configure this in preference?

    Not an iCloud question at all. This question is better suited to the Mac OS X 10.7 Lion Forum.
    Since you are here…
    To specify a default email account in Mac OS X Mail:
    Go to Mail > Preferences
    Go to the Composing category.
    Select the desired account under 'Send new messages from:' (under Addressing:).
    Close the Preferences window.
    Also, Mac OS X Mail uses the topmost account in the Accounts list as the default for outgoing messages. You can change the order of the Accounts list using drag-and-drop. The individual account's folders under Inbox, for example, are also sorted in this order.

  • Mail sending from 2 gmail accounts at the same time

    I currently have 2 gmail accounts, one is a Personal account that I use 90% of the time and the other is a Family account. I have them set up to sync through Apple Mail. Since upgrading to Mavericks, whenever I send an email from my Personal account, it appears that it is sending from both accounts even though I only selected to send from my Personal account. The most frustrating part is that the recepients show that it is coming from my Family account. Therefore, when they reply to my original email, the reply comes to my Family account. Does anyone else experience this or have a solution?
    Thanks

    Think I solved my own problem. It seems I just needed to delete both of my gmail accounts from Mail, restart computer, and re-add the accounts. Seems to be working now.

  • IPhone Mail Sending from Different Accounts

    I have taken a look and cannot see anything on this topic - but I am having trouble with my iPhone sending emails from different accounts.
    I have 5 IMAP accounts setup for different emails. When I go to send from one account, it seems to send from my GMail account (which is first in my email list), this is also true for when I reply or forward emails from any of the 4 other accounts.
    I thought this might be due to the default mail option in the settings, so I changed this to another account but it was still all sending from my GMail account. When I turned the GMail account off - all accounts worked fine independently.
    Has anyone experienced this and know if its a setting somewhere? or a problem in general?
    Many thanks

    I am not sure - but I have had to disable the GMail for now so that I can send and forward from my other accounts. Its rather annoying that its defaulting to sending from the GMail account.
    Do you think deleting the account and then re-adding it will make any difference?

  • Mail sending from WRONG EMAIL

    Hi. I'm using 2 gmail accounts and when I send an email from one, the user receives from my other account. It doesn't happen all the time, and has only been happening recently. It's strange because after the 1st time, I started checking that drop down box that asks which email I want to send from, and it is set correctly. This even occurs sometimes when I reply to an email, which by default will send emails from the address that the email was sent to. Also, I know something is wrong because 1 email address has a signature that states the email address it came from, while the other email address has no signature at all. When I get replies to the email I sent, it shows my signature, but is replied to my other email address. Has anyone else run into this issue? Are there any solutions? It's quite frustrating.

    The pulldown menu in the message composition window that selects account doesn't select the smtp server for that account, you have to go into Mail Prefs to ensure which smtp server is associated with which account.
    Go to Mail Prefs, Accounts and select each gmail account one at a time and check the following: In the Account Info panel, check that the outgoing mail server (smtp) is the one you think it should be.
    I'm assuming that gmail requires a username/password to send a message; the server for each account would be listed something like: smtp.gmail.com:username1 for the first account and smtp.gmail.com:username2 for the second gmail account.
    If they're not what they should be, open the outgoing mail server (smtp) pulldown menu and either select the correct server or choose "edit server list" and fix it. Also consider clicking the "use only this server" checkbox for both accounts.
    Hope this helps.

  • Mail sending from wrong Mail.app gmail account

    I've got about 5 different gmail accounts in Mail.app -- two are actual gmail accounts and three are @mywebsite.net that I host through Gmail.
    Up until recently everything was fine but now it seems all my mail is being sent from one gmail account, regardless of which account I choose to send from.
    To the right of the "From:" dropdown menu is another dropdown, but mine is filled with indistinguishable "Gmail" names, maybe there's a way to edit those to make it more clear?
    I've just spotted there's a way to set a default "From" email address in the prefs but I'd prefer not to always send from the same address... as in, that's the point of having so many emails in the first place. I've already sent out a bunch of business emails from my personal accout and confused a whole lot of people so it would be great to have this sorted soon.
    Thanks,
    Connor

    I just went through this with 4 email addresses, and the solution seems to be in how your SMTP servers are setup. Here's how to fix it:
    Go into preferences and under the account tab, click on your first account.
    In the "Outgoing Mail Server" dropdown near the bottom, click "Edit SMTP server list"
    Go through each server in this list and 1) make sure it has a meaningful name and 2) that the correct login info is entered under the advanced tab. Mine were jumbled up, with some being identified as one account but having login info for another.
    Once this is straightened out, select each email account (we're done with the SMTP list at this point) and select the server from the dropdown list that you just verified and check "use only this account".
    Once all addresses are associated only with their servers, you should be all set. Now you won't have any account accidentally loging in with the wrong credentials just to send. Why this isn't the default functionality is beyond me.
    Hope this helps.
    -Alan

  • E-mail sending from PL/SQL fails with SMTP error 550 must check for new....

    We have a issue like this. We have a e-mail program (PL/SQL stored procedure which is called from a 10g R2 form) which sends e-mails using UTL_SMTP. It was working but suddenly from day-before-yesterday stopped working. Mail admin says he did not change any mail server paras.
    The DB is in Linux so is the mail server. We finally did a code change. Now the mail goes to SMTP server but the mail does not go out of it (to a gmail address). We did a trace of the SMTP log and found out that it throws *550 [email protected] must check for new mail first* .
    Here is the SMTP server log:
    [192.168.0.6:25]
    Wed 2012-04-25 18:52:46: --> 220 suninsurance.com.fj ESMTP MDaemon 12.5.4; Wed, 25 Apr 2012 18:52:46 +1200
    Wed 2012-04-25 18:52:46: <-- HELO 192.168.0.6
    Wed 2012-04-25 18:52:46: --> 250 suninsurance.com.fj Hello 192.168.0.6, pleased to meet you
    Wed 2012-04-25 18:52:46: <-- MAIL FROM:[email protected]
    Wed 2012-04-25 18:52:46: --> 250 <[email protected]>, Sender ok
    Wed 2012-04-25 18:52:46: <-- RCPT TO:[email protected]
    Wed 2012-04-25 18:52:46: --> 550 [email protected] must check for new mail first
    Wed 2012-04-25 19:02:45: Connection timed out!
    Wed 2012-04-25 19:02:45: SMTP session terminated (Bytes in/out: 96/256)
    Wed 2012-04-25 19:02:46: ----------
    Wed 2012-04-25 19:20:11: Session 17159; child 1What could be the problem here? Any help would be greatly appreciated.

    Finally figured out the problem and fixed it. Now it is working.
    *"must check for new mail first"* means that before sending mail you have to check your mails (i.e. download) your mails first from the mail server, because the normal setting is for SMTP servers is that you can send mail only if you received a mail. So, when you receive a mail (i.e. check mail), your IP is recorded in the SMTP server log. Now if you send a mail, only mails with the IPs which has received any mail will be allowed to send mails outside.
    In order to only a send a mail without receiving any mail first you have to use SMTP authentication.
    I.e. After
    c := utl_smtp.open_connection(p_smtp_host, p_smtp_port);      
    utl_smtp.EHLO(c, p_smtp_host);  You have to give UID/PWD for the SMTP server like this:
    utl_smtp.command( c, 'AUTH LOGIN');
    utl_smtp.command( c, utl_raw.cast_to_varchar2( utl_encode.base64_encode( utl_raw.cast_to_raw( p_un))) );
    utl_smtp.command( c, utl_raw.cast_to_varchar2( utl_encode.base64_encode( utl_raw.cast_to_raw( p_pwd))) );However, when we sent like this we got a another SMTP error:
    554 Message is not RFC compliant; missing "Date" header To solve this do this: Go to Setup -> Default Domain & Servers, Servers, uncheck ...refuse
    messages which are not RFC compliant. That will allow MDaemon to accept  the malformed messages without date headers..Doing this solved the problem. Now we can send mails to outside mail boxes (like Gmail). In Gmail, when we checked the inbox there was no mail. It had gone the Spam folder. This is also important since you have to check the spam folder since Gmail will think it is spam. Once the mail is flagged as "not spam" it will start coming to your inbox.

  • Mail Sending from a method

    Hi All,
    I kept  mail sending functionality in a bady.
    I kept the code in a method and i am using the Function module "SO_NEW_DOCUMENT_SEND_API1" to send the Email.But Suprig this function module returnd SY_SUBRC = 0 but when i checked in the SCOT its not showing the LOG and the mail is not going.I copied the  same code and i kept in a Report and tried but here  the Mail is sending.
    Please help how to resolve this .
    Regards
    Krishna

    Hi.
    Try using COMMIT WORK statement after the call to the FM.
    Also Check the below code.
    PARAMETERS: p_mail TYPE ad_smtpadr OBLIGATORY.
    DATA: i_mara TYPE STANDARD TABLE OF mara,  " MARA Entries
          i_marc TYPE STANDARD TABLE OF marc.  " MARC Entries
    DATA: l_text TYPE char255.  " Text
    DATA: l_lines TYPE i,
          l_size            TYPE           sood-objlen.
    " Size of Attachment
    * Mail related
    DATA: i_content         TYPE   soli_tab, " Mail content
          i_attach          TYPE   soli_tab, " Attachment
          i_attach1         TYPE   soli_tab. " Attachment
    DATA: l_send_request    TYPE REF TO    cl_bcs,
                                                " E-Mail Send Request
          l_document        TYPE REF TO    cl_document_bcs,
                                                " E-Mail Attachment
          l_recipient       TYPE REF TO    if_recipient_bcs,
                                                " Distribution List
          l_sender          TYPE REF TO    if_sender_bcs,
                                                " Address of Sender
          l_uname           TYPE           salrtdrcpt,
                                                " Sender Name(SY-UNAME)
          l_bcs_exception   TYPE REF TO    cx_document_bcs,
                                                " BCS Exception
          l_addr_exception  TYPE REF TO    cx_address_bcs,
                                                " Address Exception
          l_send_exception  TYPE REF TO    cx_send_req_bcs.
    " E-Mail sending Exception
    *Constants------------------------------------------------------------*
    CONSTANTS: c_tab(1) TYPE c VALUE
                   cl_abap_char_utilities=>horizontal_tab,
                                         " Tab Character
               c_cr(1)  TYPE c VALUE cl_abap_char_utilities=>cr_lf,
                                         " Line Feed for End-Of_line
               c_ext    TYPE soodk-objtp VALUE 'XLS'. " XLS Extension
    START-OF-SELECTION.
      SELECT * FROM mara INTO TABLE i_mara UP TO 20 ROWS.
      SELECT * FROM marc INTO TABLE i_marc UP TO 20 ROWS.
    * Preparing body of the Mail
      MOVE 'Mail Body' TO l_text.
      APPEND l_text TO i_content.
    * Creates persistent send request
      TRY.
          l_send_request = cl_bcs=>create_persistent( ).
    * Creating Document
          l_document = cl_document_bcs=>create_document(
                                        i_type  = 'RAW'
                                        i_text  = i_content[]
                                        i_subject = 'Material Details' ).
    * Preparing contents of attachment with Change Log
      PERFORM prepare_attachment.
      DESCRIBE TABLE i_mara LINES l_lines.
    * Size to multiplied by 2 for UNICODE enabled systems
          l_size = l_lines * 2 * 255.
    * Adding Attachment
          CALL METHOD l_document->add_attachment
            EXPORTING
              i_attachment_type    = c_ext
              i_attachment_size    = l_size
              i_attachment_subject = 'Material Details'
              i_att_content_text   = i_attach[].
      DESCRIBE TABLE i_marc LINES l_lines.
    * Size to multiplied by 2 for UNICODE enabled systems
          l_size = l_lines * 2 * 255.
    * Adding Attachment
          CALL METHOD l_document->add_attachment
            EXPORTING
              i_attachment_type    = c_ext
              i_attachment_size    = l_size
              i_attachment_subject = 'Material Plant Details'
              i_att_content_text   = i_attach1[].
    * Add document to send request
          CALL METHOD l_send_request->set_document( l_document ).
    * Get Sender Object
          l_uname = sy-uname.
          l_sender = cl_sapuser_bcs=>create( l_uname ).
           CALL METHOD l_send_request->set_sender
            EXPORTING
              i_sender = l_sender.
    * E-Mail
          TRANSLATE p_mail TO LOWER CASE.
        l_recipient = cl_cam_address_bcs=>create_internet_address( p_mail )
           CALL METHOD l_send_request->add_recipient
            EXPORTING
              i_recipient  = l_recipient
              i_express    = 'U'
              i_copy       = ' '
              i_blind_copy = ' '
              i_no_forward = ' '.
    *Trigger E-Mail immediately
          l_send_request->set_send_immediately( 'X' ).
          CALL METHOD l_send_request->send( ).
          COMMIT WORK.
        CATCH cx_document_bcs INTO l_bcs_exception.
        CATCH cx_send_req_bcs INTO l_send_exception.
        CATCH cx_address_bcs  INTO l_addr_exception.
       ENDTRY.
    *&      Form  PREPARE_ATTACHMENT
    FORM prepare_attachment.
      FIELD-SYMBOLS: <lfs_table>,    " Internal table structure
                     <lfs_con>.      " Field Content
      DATA: l_text TYPE char1024.     " Text content for mail attachment
      DATA: l_con(50) TYPE c.        " Field Content in character format
    * Columns to be tab delimeted
      LOOP AT i_mara ASSIGNING <lfs_table>.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
                 TO <lfs_con>.
          IF sy-subrc NE 0.
            CONCATENATE c_cr l_text INTO l_text.
            APPEND l_text TO i_attach.
            EXIT.
          ELSE.
            CLEAR: l_con.
            MOVE <lfs_con> TO l_con.
            CONDENSE l_con.
            IF sy-index = 1.
              CLEAR: l_text.
              MOVE l_con TO l_text.
            ELSE.
              CONCATENATE l_text l_con INTO l_text
                 SEPARATED BY c_tab.
            ENDIF.
          ENDIF.
        ENDDO.
      ENDLOOP.
      LOOP AT i_marc ASSIGNING <lfs_table>.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
                 TO <lfs_con>.
          IF sy-subrc NE 0.
            CONCATENATE c_cr l_text INTO l_text.
            APPEND l_text TO i_attach1.
            EXIT.
          ELSE.
            CLEAR: l_con.
            MOVE <lfs_con> TO l_con.
            CONDENSE l_con.
            IF sy-index = 1.
              CLEAR: l_text.
              MOVE l_con TO l_text.
            ELSE.
              CONCATENATE l_text l_con INTO l_text
                 SEPARATED BY c_tab.
            ENDIF.
          ENDIF.
        ENDDO.
      ENDLOOP.
    ENDFORM.                    " PREPARE_ATTACHMENT
    Please treat above code just as reference...
    Hope this helps.
    Thanks,
    Balaji

  • E-mail sends from wrong e-mail address

    I'm having problems sending an e-mail from a specific e-mail account. I've bee using one account mainly, but I received an e-mail in another account. I hit reply, and typed in my response, hit send. However, the e-mail got sent by my main account (the one I also set to be my default account in the mail settings, however, I thought that was for times like sending a link from safari). So, I'm a bit confused, how do I choose which e-mail to send from, I thought you select the e-mail account and hit the button, but if I hit reply from one e-mail account, why did it send with the other?
    Alex
    Edit: If it matters, the the e-mail account that got the message I was responding was an att yahoo account, I heard people have had issues with push so I'm not sure if that's the problem, and my main e-mail is a gmail account. Though it did send, just from the wrong e-mail.
    Message was edited by: axxl

    Quick Update:
    When I send an e-mail from a different e-mail account (my other gmail account), it sends it from its own server. However, it still doesn't work with the att.net account. My yahoo account just doesn't send anything from anywhere, no traces.
    Alex

  • How to send mail to vendor mail id from Tcode MIGO when GR is created

    Hi Experts,
    My requirement is to send one mail to vendor when GR is created in Tcode MIGO.
    I tried to setup configuration in tcode NACE, creating new message type MAL1.  but i am not able to locate Message tab in tcode MIGO, also, When i goto transaction MB02 i can give message type MAL1 in output types then mail is going to scot, but my main problem is as:
    Output type MAL1 is not automacially trigerred from transaction MIGO (I need to go to MB02 and add output type in Messages)
    Please help me to configure this. Again, i did configuration only in NACE and not any other tcode. So please tell me whether i need to configure in other tcodes specifcally WE20 (if yes, please give me message type and process code for GR) .
    Many thanks, please help me. points assured!
    Thanking you,
    Jogdand M B

    Hi,
    Via t-code NACE select inventory management, then you can use output type WE01 or MLGR base on transmission medium -- 5 External send. After that you need to maintain the condition record accordingly, then that will be ok! After GR with MIGO, system will generate a email to vendor's mailbox in the vendor master data!
    Good luck
    Tao

  • Workitem in attachment of outlook mail sending from mail step in workflow

    Hi  Expert,
    Presently  i am sending  a mail to approver of PO to external ID to inform that he has received a workitem in SAP in Box please login into SAP system and Approve the PO....
    But now requirment has changed .
    They need  this workitem in attachment of the mail i am sending to approver. approver click on that attachment it automaticly direct to sap system to the transaction ME21N to approve PO.
    Please guide to achive the new requirment..
    Deepanker Dwivedi

    There are two ways of doing this stuff...if you are running on WAS 6.4 or above then use second one.
    First method:-
    Schedule the program RSWUWFML2 as per your requirement. This will route the workitem links to the external mail id like outlook from user can log into sap and approve or reject the workitem.The SCOT should be configured to send and recieve external mails.
    Second Method:-
    U can use extended notifications for approving the workiten from the outlook or any other extrenal mail id.
    The basic configuration required is expalined in these two links
    [http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm|
    [/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox ]
    Please revert back if you require further inputs.

  • Mail sends from wrong address?

    Hi,
    This problem has happened twice recently, and goes something like this:
    I have a few accounts on Mail.
    My main account ("A"), I use for most things. Today, I sent an email from "A". This email shows in the outbox for account "A", and shows at the top of the email as having been sent from "A"; but when the reply came back from the recipient, they had replied to account "B", and the original email shown attached to the bottom of this reply showed my email had actually originated from account "B".
    Make sense?! Essentially I send the email from A, Mail shows this as having been sent from A, yet it has actually been sent from B.
    FRUSTRATING!
    Any ideas how I can fix this? I use different email for personal/professional etc., and it's inappropriate for professional recipients to be getting my personal address.
    Thanks,
    Mike

    I'm having this problem, and Erie's "information" is not helpful as advice.
    I have a personal Gmail and my school account which is also administered by Google. Both would have the same SMTP server, obviously. Both worked fine with no errors when I used Thunderbird.
    Bought a Mac, use Mail, now I'm getting professors responding to my personal emails.
    In fact, slightly off topic, I'm finding that the much mythologized Mac is not nearly what it's cracked up to be. I've had recurrent extensions problems, permissions problems, network problems, have had to reinstall iTunes half a dozen times (because iPhone suddenly stops syncing) and yesterday the computer just wouldn't boot.
    I'm entering this from my PC as I have to completely repair and reinstall the Mac from the system disc. I think Apple just does a better PR job controlling their flaws, and there is a much smaller pool of people to complain, and if you can afford and pay for a Mac, you probably can afford a Time Capsule, so it's easier to recover; and you feel justified in your investment, therefore you don't admit to anyone that you have Mac problems.
    If I'm going to have computer problems either way, next time I'll have them on a $350 PC instead of a $900 Mac.

Maybe you are looking for