I have to send a mail to external User from Migo.

Hi All,
I have an requirement that when i press the button post in MIGO, then the details
should be emailed to the Client.
I have to Use Badi....
So pls help me out....
Its very Urgent.....Pls
Thanks in Advance.
Regards,
Shah

You can use the BADI MB_DOCUMENT_BADI, and put your code in MB_DOCUMENT_BEFORE_UPDATE method.  This is called when the 101 material document is posted.
Albert

Similar Messages

  • Sending PDF output attachment in e-mail to external users from BSP

    Hi All,
    Please gothrough the below requirement details :
    Requirement Details:
    Need to achieve the functionality of sending a PDF attachment of invoice to an external
    e-mail address from the BSP Application.
    Implementation Details:
    The Print out Output determination is already done in the system. We are using SAP R/3 4.7 (620)
    In the Transaction VF03 in the initial screen there is a menubar "Billing document" and underneath that menu there is a menu item called "Issue". If we click the "Issue" menu item all the output that are already proposed will be visible and we can select the printout Output determination and can issue a printout.
    I had created a FM to call from BSP and that function module will take the Invoice number as input and will call the "VF03" transaction using BDC and will trigger the Sapscript Printout . I see the the sapscript in the spool after I call the Function module .
    But I don't know how I can get the Spool request number for that Function module call from BSP page ????
    I got struck in this approach...
    If I know the Spool number after calling the function module the it's very easy to call the following FM's for sending a e-mail with the Invoice PDF attachment.
    CONVERT_OTFSPOOLJOB_2_PDF
    QCE1_CONVERT
    SO_NEW_DOCUMENT_ATT_SEND_API1
    Please let me know if anyone can help me in this ...
    Please reply ASAP.
    Thanks,
    Greetson

    Check out these weblogs.
    /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    Regards
    Raja

  • Sending e-mail to external addresses from business activities

    Hi Experts,
    I’m customizing CRM 5.0 and I want to send e-mails to other employees, when I’m maintaining a business activity.
    These employees can have no SAP user, so I need this e-mail to go to the address maintained in BP transaction (e.g. alda.lobato@enterprises’sname.net).
    So, I tried to customize in trx. CRMC_ACTION_CONF, the following data / conditions:
    Tab “Overview” – "Partner Determination"
    - Partner Function: 00000014
    - Description: Employee Responsible
    - Partner Number: blank
    Tab “Processing Details” – "Details of Selected Processing" – "Recipient(s)"
    - Recipient Type: U Internet address
    - Address: blank
    - Archive Mode: 1 Mail Only
    However, all the e-mails remain to being sent to the Employee Business Workplace (trx. SBWP), as we were sending the email to his SAP user.
    Please advise.
    Many thanks.
    Alda Lobato

    Hi Patrik,
    First of all, thanks for your quick answer.
    I maintained the Email address in “Communication” area (as already maintained) and in “Address-Independent Communication” area, but the Emails remain to being sent to Employee Business Workplace (trx. SBWP).
    The “Standard Address” area that you indicated, only have the fields “Street/House number”, “Postal code/City”, “Country”, “Region” and Time zone” - I don’t have the field Email address – so I figured out that you talking about the “Address-Independent Communication” area.
    After this, I did another test, which was maintaining the Email address only in “Address-Independent Communication” area. When I sent the Email through the business activity, appears the error message “Action could not be successfully executed”.
    This mean that the Email address must be maintained in “Communication” area but it seems that independently the Email address maintained here, the Email is always sent to Employee Business Workplace.
    Please advise.
    Many thanks,
    Alda Lobato

  • Send e-mail to other user from eRecruiting

    We need to create new Activity to our e-Recruiting tool for recruiters.
    Recruiter might need to send requisition to the manager who is not in recruiting team. E-mail should contain all the information and attachments from the candidacy as e-mail attachments. Logon ID can be used as e-mail recipient. This activity "Forward to Manager" is seen in activities list and can be maintained as any other activity.
    Does this functionality exist in the system or do we need custom BSP application or/and class?
    It seems like there are possibilities to create standalone BSP applications with customizing (start page, links), but this requirement needs to be integrated for retrieving data from other BSP application. How do we embed our own functionality to existing application if this needs to be build?
    Any guidance and help is very much appreciated.
    Version: SAPK-60011INERECRUIT
    Thanks,
    Taina

    Dear Taina,
    If you want to send mail to anybody who does not belong to recruitment team and not a part of requisition creation, you have to create your own program to send the mail. You can customize your BSP application, and you can trigger the mail based on your action.
    Hope this will be helpful.
    Regards,
    Gokul.N

  • If PO is released I have to send a mail through User Exit

    Hi,
    Please let me know the relevant user exits for below requirements.
    a.  When the PO is released,  the system will check for that PO Parked invoice exists or not,  if yes I have to send a mail to creator of the Invoice through user exit.
    b.  PO Exist but NO GR  (for goods only not services) ,  each time an invoice is parked for Goods PO.  send mail to PO Creator and storekeeeper  through user exit.
    Please give me relevant/suitable user exits for above both requirements.
    Regards,
    Ganesh

    Hi Ganesh,
    Please move this to [Enhancement and Modifications|ABAP Switching, Enhancing, and Adapting Standard Programs; forum
    Cheers
    Suresh

  • Sending mail to external mailid from user exit EXIT_SAPLEBNF_005

    Hai ALL,
    iam facing problem with sending mail to external id from user exit exit_saplebnf_005 , this user exit for ROLE Determination of releasing of PO .
    in this user exit i passed a user name for this role from one z table.
    through workflow the mails are send to workplace of resposible person maintained in ztable.
    now user requirement is they want some intimation in their outlook for they got mail in workplace .
    can anybody help me.
    Thanks .
    sushmita.k

    they can either define automatic forwarding in their SAP office to external e-mail OR they can set their external e-mail as preferred method of communication and they should receive mail to their external mailbox assuming that sending to external mail is supported in your system (check with BASIS folks).

  • I have problems sending e-mail from my iPhone.  I can receive OK.

    I have problems sending e-mail from my iPhone.  I can receive OK.  The e-mail gets put in the outbox, but never goes out.

    Did you set it up following this:
    http://portal.activehost.com/knowledgebase.php?action=displayarticle&id=4744

  • How to send an  email to external user (offline form) from se38

    Hi all
    how to send an  email to external user (offline form) from se38 and upload the same from recipent.
        we have sent mail using scripts and smartforms but couldnt do here. It will be helpful if you can give us any sample code
    regards
    mohammed

    Hi,
    Have a look at this thread [Re: Sending PDF forms (created using SFP) as Email Attachment]  i explain all the solution with a sample code .
    Hope it's help you
    regards

  • How to send a mail with HTML body from Oracle

    Hi Team,
    Can somebody guide me how to send a mail with HTML body from oracle.
    Here is the piece of code i am trying to send a mail.
    procedure SEND_MAIL is
    cursor c_1 is select * from table_name;
    l_mail_id varchar2(40);
    -- ls_mailhost VARCHAR2(64) := Mailhost;
    ls_from VARCHAR2(64) := ‘[email protected]
    ls_subject VARCHAR2(200);
    ls_to VARCHAR2(64);
    l_mail_conn UTL_SMTP.connection;
    ls_left_menu_name VARCHAR2(64);
    ll_emp_num number(8);
    begin
    for i in c_1 loop
    begin
    l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
    UTL_SMTP.HELO(l_mail_conn, 'IP');
    UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
    UTL_SMTP.RCPT(L_mail_conn, LS_TO);
    UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
    'To: ' ||ls_to || utl_tcp.crlf ||
    'Subject: ' ||ls_subject|| utl_tcp.crlf);
    UTL_SMTP.QUIT(l_mail_conn);
    exception
    when no_data_found then
    null;
    when others then
    RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
    end;
    end loop;
    end;
    Thnx

    Hi Nicolas!
    Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
    If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
    SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
    Hope this helps!
    Regards
    Geir

  • How to send a Mail purchase order automaticaly from ME22N

    How to send a Mail purchase order automaticaly from ME22N

    Hi,
    First create an entry via NACE with medium =   5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
    I hope this helps,
    You may also refer to the SAP note 191470.
    Regards
    Raju Chitale

  • Send a mail with a picture from mime repository

    Hello,
    I want to send a mail with a picture from mime repository.
    The mail is sended OK, but the receiver hasn't  the picture on the mail  (don't find the picture).
    Here is my syntax :
       st_objtxt-line = '<IMG SRC="SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" ALIGN=RIGHT WIDTH="100" HEIGHT="80">'.
        append st_objtxt to t_objtxt.
    "SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" is url of my object mime .
    Have you a idea to resolve this problem ? It's the syntax OK ?
    Thank for your responses.
    Regards.
    JCAIL

    Have you tried storing your picture as a business document?  Have a look at the class  cl_bds_document_set to read your picture from the BDS.

  • How i can send a mail to the user SAP Office mailbox through the spool.

    hi all,
    I have created an report and scheduled for background and it generated a spool now how i can send a mail to the user SAP Office mailbox through that spool.
                          please provide me the sample code if possible.
                   thanks.

    Read the spool number with this...
        SELECT RQIDENT
        INTO (T_TSP01-RQIDENT)
        FROM TSP01
        WHERE RQOWNER EQ SY-UNAME
          AND RQCLIENT EQ SY-MANDT.
        APPEND T_TSP01.
        ENDSELECT.
    Use this FM RSPO_IRETURN_RAW_DATA to read the content of the spool into an Internal Table...
    Finally use this FM SO_OBJECT_SEND to send the mail to an SAP Office user...
    Greetings,
    Blag.

  • Exchange 2007 - The server don't send dsn message for external users

    Hello,
    Our exchange 2007doesn't send dsn message for external users but for internals it is ok, I check my configuration but all seems to be ok
    Have you any idea please?
    Thx

    Hi,
    To narrow down the cause, let's firstly try to check the following configuration:
    Get-TransportConfig |fl
    Get-RemoteDomain | select identity, NDREnabled
    Get-SystemMessage
    Thanks,
    Angela Shi
    TechNet Community Support

  • Send EMail to Multiple external users

    Hi
    Is there a way to send EMails to multiple external users dynamically. I can see that we can send EMails to only static Email addresses for multiple external users.
    Thanks
    Vidyadhar

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10057e20-2ca2-2d10-1b91-a1b9a8c8e634

  • Can SAP send e-mail to external mail with attached file?

    Hi ABAP Guru.
    Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.)
    And Can the E-Mail sent with attached file?
    And How to do that?
    Please give me your advice.
    Thank you and Best Regard,
    Nattapash C.

    Thank you very much! Amit Gujargoud.
    And I'm so sorry for my question that not clear for you and everyone.
    What I need to know is How to do with ABAP Code.
    I found the Function Module
    'SO_DOCUMENT_REPOSITORY_MANAGER' with method 'SEND' is being used for my case.
    but I don't know what field of structure RECIPIENTS (Table parameter of this Func. Module) that used for define recipient's E-Mail Address.
    Does anyone know the field or Have any method to solved my case?
    Please give me your advice.
    Thank you and Best regard.
    Nattapash C.

Maybe you are looking for

  • WHY!!!!! I can't figure this out

    Why my girlfriend is getting the message that her "remote IP address is invalid" I can't seem to understand or figure this out...

  • How-To Create OVM 2.2.2 Single Pool with Non HA, Single Server

    How to create OVM2.2.2 Server Pool with a Single, Non-HA configuration. - Install OVM2.2.2 on target Server: [ovs222a, ip=192.168.0.207] (Default install creates ocfs2 file system on /dev/sda3 on my machine, YMMV). - Install OVMM2.2.0 or later on ano

  • Save custom filter for every document?

    Hello, sorry for my english ;) In FW CS3 it was possible to save a custom filter and so this filter was always shown in den filter list even when you open an new document. Now in FW CS4 you can only save a filter oder a style which is addicted to the

  • Need Help Badly - still unable to make iTunes synch apps with iPad

    iTunes 10.1.2, MSWindows. iPad WiFi/3G 64Gb. Cannot get all apps on iTunes to transfer to iPad so cannot restore an app I had to delete on iPad. Number of apps on iTunes doesn't match in quantity. Also, specific apps that are deleted from iPad still

  • Weblogic Administration Server start with WLST

    Hi Team, I am looking for some WLST script to start the WLS Admin server and then check the status of the Adminserver as well. When i tried thee command startServer( Adminserver, myserver, domainname, Domaindir ) its not working the way i want it to.