Sending Attachemnt along with PO to Vendor through Email

Hi
Currently we are able to send only the PO in PDF format to the Vendor through Email, i also want to send the attachments that the PO has to the Vendor. Please if you can tell me the settings.
Thanks
Ankit

This is not possible without development .Refer notes 786847,191470
Details for the print program:
In the customer namespace, a central class is first created that takes care of actually shipping the e-mail with texts and attachments.
Furthermore, application-specific classes are created in the customer namespace (if required). At present, these are available for purchasing documents (purchase order, request for quotation, and so on) and sales documents (sales order or order acknowledgment, quotations, and so on). Further applications can be considered after consultation.
You can continue to use the print program that you have used up until now. Only minor adjustments are required in order to use the corresponding class in the case of external sending (Medium 5).
A new dummy message type is created in Customizing. You can use transaction MN04 to create an additional condition record for this message type for the relevant vendor. However, medium 7 is used here, which allows you to maintain communication settings. The communication settings include an individual e-mail text and an individual recipient list (type INT) for each condition record.
The dummy message type is not used in the purchase order, rather it is used only as a workaround to enable you to maintain recipients and texts in the standard system with ease.
A new Z table is created that contains each application (KAPPL) and purchasing organization parameter. In this way, for example, the text prefixes can be filled for the attachments in the e-mail or you can specify which additional attachments are to be copied to the e-mail.
Processing the message:
If the message type of the purchasing document is processed, the recipients and the text are read from the dummy message type and are added to the e-mail. Placeholders (for example, &EKKO-EBELN&) may be triggered.
If NO condition record is found for the dummy message type, the system uses the standard text and the recipient address from the master record. In this way, you automatically continue to have the standard behavior (with an additional e-mail text) for partners that you do not want to receive special treatment.
The purchasing document is attached as a PDF file.
Further attachments are added as described in the settings (see above). There is a distinction made between attachments from the generic object services (GOS) and attachments from the Document Management System. The Document Management System attachments can be assigned, for example, to the object EKPO (purchase order item) or MARA (material master).
If no errors have occurred up to now, the completed e-mail is sent and delivered to the sending system. Otherwise, errors can be transferred to the message collector as normal and can be checked there.

Similar Messages

  • Approved payment proposal send to vendors through email

    Hi All,
    We want to send the payment advice to vendors via e-mail as soon as the payment proposal is approved.
    We have the workflow here, once the payment proposal has been created, it will go for the approval.
    the approver will approve the proposal if it is okay.
    so, once this proposal has been approved, the payment advice should send to corresponding vendors through email;
    Regards,
    Shwetha

    Hello,
    You can control whether a payment advice note is to be sent by e-mail via BTE interface 00002040.
    The Function Module Sample Process is SAMPLE_PROCESS_00002040 which you
    can find by using transaction BERP. You can use this Function Module as
    a reference for the BTE and find instructions for setting up the
    interface.
    Note 407827 and1033893 provide good hint on how to achieve your business needs. Furthermore, I'd suggest you to send payment advices after payment run and not after proposal run.
    REgards,
    REnan

  • Name to be displayed along with the emailid in the email

    Iam sending email with the help of java mail but the requirement
    of mine is to display the name of the sender along with the emaiil id
    of the sender i.e the name should appear along with the from address
    Hope you will help me in this regard and do the needful
    Thanks
    Bhanu

    I don't know what a needful is, but:new InternetAddress("[email protected]", "Anoushka Sharma")

  • I have a problem sending files along with thier directories to server

    The Problem is i couldnt understand the sequence in which should the file transfers will execute.....
    Here is the Code ......
    The **************Error************* i get is that it makes one dir then other one and paste one file in it after writing another file in the second loop it gives error on write UTF that Socket write Error COnnection Reset by peer
    ***************************CLIENT************************
    package oam.filemanager;
    import java.net.*;
    import java.util.*;
    import java.io.*;
    import oam.beans.*;
    public class FileClient {
    Socket socket;
    DataOutputStream dataout;
    FileBean file;
    public void SetSocket() {
    //Create socket connection
    try {
    socket = new Socket("localhost", 9898);
    dataout = new DataOutputStream(socket.getOutputStream());
    String wavfiles []=null;
    //Directory & Wavfiles Manipulation
    file=new FileBean();
    String dirs []= file.getDirsForSocket("Accounts//");
    for(int i=0;i<dirs.length;i++){
    wavfiles= file.getWavfiles("Accounts//"+dirs[i]+"//");
    //sending Username & DIR
    dataout.writeUTF(dirs);
    if (wavfiles.length==0)
    dataout.writeUTF("no");
    for (int j=0;j<wavfiles.length;j++){       
    //Sending Filename
    dataout.writeUTF(wavfiles[j]);
    //getting file to be send
    File f = new File("Accounts//"+dirs[i]+"//"+wavfiles[j]);
    int fileLength = (int) f.length();
    System.out.println("fileLength " + fileLength);
    byte data[] = new byte[fileLength]; //settting array of byte to file len
    //reading from file acha
    FileInputStream fis = new FileInputStream(f);
    // Send file length
    dataout.writeInt(fileLength); // writing file length
    dataout.flush();
    System.out.println("Length Sent .... " + fileLength);
    dataout.flush();
    // Send file
    int loop = 0;
    loop = fis.read(data);
    System.out.println("......1......" + "in loop" + loop);
    if (loop > -1) {
    dataout.write(data);
    //closeConnection();
    // output.flush();
    catch (UnknownHostException e) {
    System.out.println("Unknown host:");
    System.exit(1);
    catch (IOException e) {
    System.out.println("No I/O " + e.getMessage());
    System.exit(1);
    catch (Exception e){
    e.printStackTrace();
    public static void main(String args[]) {
    FileClient serv = new FileClient();
    serv.SetSocket();
    ******************************************SERVER*********************
    import java.io.*;
    import java.net.*;
    import java.io.*;
    class ClientThread
    implements Runnable {
    FileOutputStream output;
    DataInputStream input;
    String uname;
    String filename;
    Socket client;
    public ClientThread(Socket clientth) {
    this.client=clientth;
    public void checkdir(String dirname){
    File f =new File("..//Accounts//"+uname+"//");
    if (!f.exists()){
    f.mkdirs();
    public void run() {
    try {
    while (true) {
    input = new DataInputStream(client.getInputStream());
    uname = "";
    filename = "";
    uname = input.readUTF();
    checkdir(uname);
    filename = input.readUTF();
    if (!filename.equals("no")) {
    System.out.println("Filename Recieved of file: " + filename);
    File f = new File("..//Accounts//" + uname + "//" + filename);
    if (!f.exists()) {
    RandomAccessFile raf = new RandomAccessFile(f, "rw");
    raf.setLength(0);
    int length;
    int pack = 0;
    int fileLength = 0;
    System.out.println("User Name received...." + uname);
    System.out.println("...2a....");
    fileLength = input.readInt();
    System.out.println("...2b....");
    System.out.println("Length Receieved .... " + fileLength);
    // input.readInt();
    // input.readInt();
    byte data[] = new byte[fileLength];
    System.out.println("Length Receieved .... " + fileLength);
    input.read(data);
    raf.write(data);
    raf.close();
    System.out.println("File Receieved and Wrote at Server");
    // clientoutput.flush();
    else {
    System.err.println("File Already Exists request by " + uname);
    } //if check ends
    catch (IOException e) {
    System.out.println("in or out failed"+ e.getMessage());
    System.exit( -1); }
    public class FileServer {
    Socket client;
    ServerSocket server;
    public FileServer(){
    File f=new File("..//Accounts") ;
    if(!f.exists())
    f.mkdirs();
    public void listenSocket() {
    try {
    server = new ServerSocket(9898);
    catch (IOException e) {
    System.out.println("Could not listen on port 9898 Server Already Listening");
    System.exit( -1);
    while (true) {
    ClientThread cth;
    try {
    cth = new ClientThread(server.accept());
    Thread thr = new Thread(cth);
    thr.start();
    catch (Exception mye) {
    mye.printStackTrace();
    protected void finalize() {
    try {
    server.close();
    catch (IOException e) {
    System.out.println("Could not close socket");
    System.exit( -1);
    public static void main(String args[]) {
    FileServer serv = new FileServer();
    serv.listenSocket();

    Well Thanks a lot : jschell so nice of u helping me all through this well i sort out this problem as well...
    i wasnt sending all files at once ...........one by one the problem was the biggest file is 240 k and byte arraay couldnt accomdate it ................so now i am sending files in 4k packets any of u guys need help u can see this code how to send files in packets .................
    //**********************SERVER************************************
    package servermanager;
    import java.io.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class ClientThread
        implements Runnable {
      FileOutputStream output;
      DataInputStream input;
    DataOutputStream dataout;
      String uname;
      String filename;
      Socket client;
      JTextArea log;
      public ClientThread(Socket clientth,JTextArea mylog) {
        this.client=clientth;
        this.log=mylog;
      public void checkdir(String dirname){
      File f =new File("..//Accounts//"+uname+"//");
      if (!f.exists()){
        f.mkdirs();
      public synchronized  void  startTransfer(){
          try {
              FileOutputStream fos=null;
              input = new DataInputStream(client.getInputStream());
              uname = "";
              filename = "";
              uname = input.readUTF();
              checkdir(uname);
              filename = input.readUTF();
              File f = new File("..//Accounts//" + uname + "//" + filename);
              RandomAccessFile raf = new RandomAccessFile(f, "rw");
              raf.setLength(0);
              raf.close();
              long fileLength=0;
              byte lenbuf[]=null;
              int help =input.read();
              lenbuf = new byte[help];
              input.read(lenbuf);
              String lenz = new String(lenbuf);
              fileLength = new Integer(lenz).longValue();
              fos = new FileOutputStream (f);
              byte data[]=new byte[4096];
              int length;
              while( (length=input.read(data, 0, 4096)) > 0) {
               fos.write(data, 0, length);
              fos.close();
      log.append("\n File Recieved = ["+filename+"]:---:"+"of Size["+fileLength+"]:---:"+"By ["+uname+"]." );
        catch (IOException e) {
          log.append("\n In or Out failed"+e.getMessage());
          System.exit( -1);}
      public void run() {
        startTransfer();
    public class FileServer extends JFrame {
      int port;
      Socket client;
      ServerSocket server;
      JScrollPane textscrollpane = new JScrollPane();
      JTextArea log = new JTextArea();
      JButton clear_btn = new JButton();
      JButton stop_btn = new JButton();
      public FileServer(){
        port=9898;
        File f=new File("..//Accounts")  ;
        if(!f.exists())
         f.mkdirs();
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      public void listenSocket() {
        try {
          server = new ServerSocket(port);
        catch (IOException e) {
         log.append("\n Could not listen on port["+port+"]");
         System.exit( -1);
        while (true) {
          ClientThread cth;
          try {
            cth = new ClientThread(server.accept(),log);
            Thread thr = new Thread(cth);
            thr.start();
          catch (Exception  mye) {
         log.append("\n Thread Exception["+mye.getMessage()+"]");
      protected void finalize() {
        try {
          server.close();
        catch (IOException e) {
              log.append("\n Could not Close Socket on port["+port+"]");
          System.exit( -1);
      public static void main(String args[]) {
        FileServer serv = new FileServer();
        serv.setBounds(new Rectangle(150,150,500,300));
        serv.show();
        serv.listenSocket();
      private void jbInit() throws Exception {
        this.getContentPane().setLayout(null);
        textscrollpane.setBounds(new Rectangle(1, 21, 489, 212));
        log.setBackground(Color.black);
        log.setForeground(Color.green);
        log.setToolTipText("Server Log");
        log.setEditable(false);
        log.setLineWrap(true);
        clear_btn.setText("Clear");
        clear_btn.addActionListener(new FileServer_clear_btn_actionAdapter(this));
        clear_btn.setBounds(new Rectangle(323, 245, 86, 13));
        clear_btn.setToolTipText("");
        stop_btn.setToolTipText("");
        stop_btn.setBounds(new Rectangle(55, 246, 86, 13));
        stop_btn.setText("Stop");
        stop_btn.addActionListener(new FileServer_stop_btn_actionAdapter(this));
        this.addWindowListener(new FileServer_this_windowAdapter(this));
        this.getContentPane().add(textscrollpane, null);
        this.getContentPane().add(stop_btn, null);
        this.getContentPane().add(clear_btn, null);
        textscrollpane.getViewport().add(log, null);
        log.setText("Server Initiated Listening on Port [9898]...");
      void stop_btn_actionPerformed(ActionEvent e) {
        System.exit(0);
      void this_windowClosed(WindowEvent e) {
        System.exit(0);
      void this_windowClosing(WindowEvent e) {
    System.exit(0);
      void clear_btn_actionPerformed(ActionEvent e) {
      log.setText("");
    class FileServer_stop_btn_actionAdapter implements java.awt.event.ActionListener {
      FileServer adaptee;
      FileServer_stop_btn_actionAdapter(FileServer adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.stop_btn_actionPerformed(e);
    class FileServer_this_windowAdapter extends java.awt.event.WindowAdapter {
      FileServer adaptee;
      FileServer_this_windowAdapter(FileServer adaptee) {
        this.adaptee = adaptee;
      public void windowClosing(WindowEvent e) {
        adaptee.this_windowClosing(e);
    class FileServer_clear_btn_actionAdapter implements java.awt.event.ActionListener {
      FileServer adaptee;
      FileServer_clear_btn_actionAdapter(FileServer adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.clear_btn_actionPerformed(e);
    //**********************CLIENT************************************
    package servermanager;
    import java.net.*;
    import java.util.*;
    import java.io.*;
    public class FileClient {
      Socket socket;
      DataOutputStream dataout;
      public   void SetSocket(String dir,String filename) {
        try {
          socket = new Socket("localhost", 9898);
          dataout = new DataOutputStream(socket.getOutputStream());
            //sending Username & DIR name
            dataout.writeUTF(dir);
            //Sending Filename
            dataout.writeUTF(filename);
            dataout.flush();
            File f = new File("Accounts//"+dir+"//"+filename);
            byte data[]=new byte[4096];  //40k
            long filelength=f.length();
            String lenbuf = String.valueOf(filelength);
             byte lenz[] = lenbuf.getBytes(); //file length in bytes
               int lenzLen = lenz.length;
            FileInputStream fis = new FileInputStream(f);
            dataout.write(lenzLen);  //sending length in integer
            dataout.flush();
            System.out.println(lenzLen+"--------First Thing Sent length of byte array");
            dataout.write(lenz);      //sendinf byte  Array length
            dataout.flush();
              System.out.println(lenz+"--------Second Thing Sent bytes");
            int loop=0;
              while(loop!=-1){
                loop=fis.read(data);
                dataout.write(data);
                dataout.flush();
              socket.close();
        catch (UnknownHostException e) {
          System.out.println("Unknown host:");
          System.exit(1);
        catch (IOException e) {
          System.out.println("No I/O   " + e.getMessage());
          System.exit(1);
        catch (Exception e){
          e.printStackTrace();
      public static void main(String args[])  {
        FileClient serv = new FileClient();
        FileBean file=new FileBean();
        String wavfiles []=null;
        String dirs []=  file.getDirsForSocket("Accounts//");
        for(int i=0;i<dirs.length;i++){
        wavfiles= file.getWavfiles("Accounts//"+dirs[i]+"//");
         //if (wavfiles.length==0)
              for (int j=0;j<wavfiles.length;j++){
                  serv.SetSocket(dirs,wavfiles[j]);

  • Sending Workflow notification with OAF page link through PL/SQL

    Hi Workflow Experts
    I have a requirement where I want to send a FYI notification to a user.
    And I have to add a link to my OAF screen in this workflow notification.
    Please let me know if i have to create a workflow for this or can this be done by calling some workflow api.
    Thanks in advance
    Navneet
    Edited by: Navneet01 on Feb 20, 2013 10:59 PM

    Try by defining the message attribute holding the link to the framework region. Then, once the notification has been created (sent) call WF_NOTIFICATIONS.SetAttrText to set the value of the region in that attribute value.
    Regards,
    Alejandro

  • How do we send delivery note to sold to pary through email

    hi friends,
    How we send delivery note to sold to pary and the sales employee, through out put where do we configure for this in partner determination and in out put determination for delivery,. I am working in ecc 5.0
    can any one knows this please give me the need ful

    Hi Praveen,
    By OOB option, we cannot send documents as attachment via workflow.
    You could use document url as workaround or use code to achieve it:
    http://community.office365.com/en-us/f/154/t/204397.aspx
    http://sharepointstuff.codeplex.com/
    http://sharepointconnoisseur.blogspot.com/2012/03/emailing-documents-as-attachments.html
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Sending the Stored Business Docs(TOA01) through email

    Hi ABAP Gurus,
    i have a scenario where in i have to collate all the store Business documents in PO (ex. if the PO is referring a PR/RFQ then all the attached business docs should be available in PO as stored business docs automatically) and then on creation of the PO send these Stored Business Docs(stored in table TOA01) to the vendor through email. The first part of bringing business docs from PR->RFQ->PO i have done but i am not finding a solution for attaching these documents to email. please help me in finding a solution. If any one of you have worked on this scenario kindly send me the relevant documents.
    Many thanks in advance,
    Mohan

    Hi,
    This setting is done in workflow. Kindly take help of abap person and do the attachments or URL also can be sent.
    I hope this will resolve your query.
    Regards,
    Ravindra

  • How to send videos through email on iphone 4

    How would you send a video saved in your pictures through email on iphone 4?

    Hey taushafromNJ,
    The following goes over how to share a picture or video, including via email:
    Share or copy a photo or video. View a photo or video, then tap . If you don’t see , tap the screen to show the controls.
    The size limit of attachments is determined by your service provider. iPhone may compress photo and video attachments, if necessary.You can also copy a photo or video, and then paste it into an email or text message (MMS or iMessage).
    via: Share photos and videos
    http://help.apple.com/iphone/7/#/iph3d2676c9
    All the best,
    Delgadoh

  • PO through email settings

    Hi Gurus,
    Whats the procedure to Send PO to vendor through Email. and what are the configuration settings are required for this process.
    Regards
    Vivek

    You can send purchase order via e-mail in SAP system, there are some configurations and pre-requisites to do as follow:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    For more details, check out the OSS note :191470
    Regards,
    Indranil

  • PURCHASE ORDER THROUGH EMAIL

    what are the settings needed for sending PO to vendor through email?
    regards,
    indranil

    Hi
    Try the proudure as given below.
    Sending Purchase Order via e-mail
    Process for Sending
    a.     Maintain email-id in vendor master (Transaction XK01/XK02) and standard communication method should be selected as INT E-Mail.
    b.     Maintain the message details while create / change Purchase Order as follows.
           (Transaction ME21N/ME22N)
    Click on Communication method.
    Note: Remove tick from “Release after output” 
             If hard copy is not required remove the tick from “Print Immediately”
    Click on “Further Data”.
    Dispatch time should be “send immediately (when saving the appl”
    Save the purchase order.
    c. Release the Purchase Order through ME28, if release strategy is activated.
    Note: PO Mailing Program is scheduled every day night; it sends the purchase order to the vendor and to
               the person who has created the PO. 
    d. If the person who is creating the PO wants a copy of the PO sent to the vendor then his mail id
        need to be maintained in the SAP User Id. Please send your SAP User Id and mail id to -
        BASIS.

  • When I send PO to vendor, Attachements also to be sent along with that mail

    Hi Guys,
    Right now, when I release a PO or issue 'mail output' in message types and save it, it sends PO priview to vendor thru email.
    I think its happening with config part which is done in NACE (custom message types...driver program...form routine).
    Now the requirement is when PO sends to vendor, the documents which are attached to PO item also to be sent as attchments with that mail.
    I have logic with me to get the documents of PO and to send them to vendor thru a seperate mail. But per requiremnt, it should happen only at the time of PO release.
    Can somebody guide me how & where to place my logic in order to work it as mentioned above?
    Points awaiting...

    Hi,
    If the email should be sent to vendor only when the PO is released, the simplest way to accomplish this would be using a simple workflow which sends an e-mail to vendor with the PO attachment for the event 'released' of the business object BUS2012.
    Hope this helps.
    Regards,
    Hemanth

  • PO Line item attachments going along with the PO o/p to Vendor!

    Hi all,
    We are on SRM 5.0 ECS SP 13.
    I had one question regarding the attachments in the PO line items.If I attach documents at the PO Line item and sent the PO o/p to vendior through e-mail,then all the attachments at the PO line item also go along with the o/p..Is this is  a  std behaviour in SRM 5.0?
    Also if i need to avoid sending of the PO line item attachments along with the PO o/p to the vendor,then I guess the "Internal" indicator for the documents need to be set rt?Is there any way the documents at the PO line item can be set as "INTERNAL"?
    I know this is achived in SRM 6.0 and above and there is an OSS note which mentions that.
    Has anybody worked on something similar?Please share your eperiences/suggestions.
    Thanks!

    HI,Rads:
         I think you should do the inhancements in this situation. I met this question in my last case .Follow is my suggestions ,maybe helpful .
        The   BADI NAME:BBP_OUTPUT_CHANGE_SF(Document Output)
      YOU should chage the code .If you do 't  send the attachment to the vendor ,you should set "Space ",jut like this :
      WHEN 'BUS2200'.
          CV_SMARTFORM = 'ZBBP_BID_INVITATION'.
          CV_SMARTFORM_MAIL = 'ZBBP_OUTPUT_COVER'.
          "exclude attachment
          CS_PARAMETERS-ATTACH_IND = SPACE.
       Then  the attachment will not been sent out ,you can try .
    Alex !
    Bestregards

  • PO send to vendor through e-mail

    Hi All,
    while sending the PO to vendor through e mail, some POs sent to vendor. but some are not. I have seen the in the vendor master address screen the e mail is correct.
    And i have seen the messages in PO , the medium 5 (external send) is also maintained for the all POs which is sent and not sent.
    So please guide in this in which part the error will be possible
    Thanks in advance
    with regards
    Allen

    Follow this
    Basically there are two mail types: Internet mail (external mail) and SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is converted into a corresponding text file which is sent to the vendor via the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the function of providing information.
    In particular, it is not possible to attach a message (form) for a purchasing document to a SAPOffice mail.
    When using external mail, the following basic settings are required:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    o Note that it is not possible to change the e-mail address of the vendor
    o You can use a temporary email address in Transaction ME21N.
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.
    You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define
    Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example,Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been
    carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail.
    You can branch to the maintenance of the communication strategy via the input help.
    2. Use the SAP standard environment (program "RSNASTSO" and FORM routine "SAPOFFICE_AUFRUF") as the processing routines.
    3. In the condition records for the output type (for example,Transaction MN04), use medium '7' (SAPOffice) and also partner role 'MP' (mail partner).
    Additional settings:
    Problem:
    How can you both change the mail title and text for the sending of a mail message and maintain a replacement parameter, for example a document number.
    Solution:
    1. The replacement routine is maintained in the Customizing for the output type in the detail screen on the 'General data' tab under 'Replacement of text symbols' (for Release < 4.6B, this can be found on the 'Mail' tab page).
    Program: SAPMM06E
    FORM routine: TEXT_SYMBOL_REPLACE
    2. Maintain mail title and text.
    o If you want to send a purchase order within an R/3 system using the SAP office, you can maintain both the mail title ('Re:') and also a mail text in the Customizing for the output type To do this, select the directory mail title and text for the corresponding message type.
    o If you want to send a purchase order as (external) mail, for example, to a vendor, you have to maintain the mail title in the condition record for the output type (for example in Transaction MN05) on the 'Communication method' tab page. Enter the mail title in the 'Text for cover page' field. You cannot maintain an additional mail text.
    o Note that the values from the mail title are used to create the description for the attachment.
    3. The replacement parameters must be enclosed by &. Example: You want to enter the title 'PO number '. For this you have to enter the following in the Document Title field (Message Customizing ->
    sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'

  • How to send another Sasript along with PO as an email?

    Hi all,
              Already PO is being sent as an email to the vendor.But the requirement is to send another Sapsript as an attachement with the PO.
    Is it possible,if so please let me know.If not please come with beautiful solution.My requirement is to send both PO and another new Sapscript as an email to the vendor.
    Is it possible to send both at a time as an email to the vendor?If it is not possible also please let me know the available good solution.
    Thanks,
    Krishna

    hi check this....
    send script through email
    script to pdf to email????
    regards,
    venkat.

  • Send all line items of a sales order to IPC along with condition lines data

    We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items  data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
    Thanks

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

Maybe you are looking for