Output text as subject in External Email

Hi Experts,
I am trying to configure email output for shipment order.
I have configured using nace, a new output type with medium 5, a zprogram and a smart form to generate and trigger the output. I was able to see the pdf in SOST transaction till I tried the following
I took refernace of earlier mails and tried to add mail text and subject in the following way
Went to config of my output type via V/30
In the output detail, general data tab when I enter
Program: sapmoigs
Form routine: TEXT_SYMBOL_REPLACE
I get the following warning message
FORM routine TEXT_SYMBOL_REPLACE could not be found in program SAPMOIGS
In the mail titles and text added : &OIK01-USERFLD3&  in Document title
Now the pdf file in SOST does not open. throws error An error occurred while opening this document. The file is damaged and could not be repaired
Can some one please suggest what can be done here ASAP.
Thanks.

I'm guessing that the file doesn't open because instead of a legitimate PDF file name you now have &OIK01-USERFLD3& in it (does the file show up with the Adobe icon?).
The message you are getting is saying that you have entered the subroutine TEXT_SYMBOL_REPLACE that does not exist in program SAPMOIGS. If you go to SE38, enter SAPMOIGS and display Object List (there is a button on the toolbar), you'll see that on the left under 'Subroutines' there is no TEXT_SYMBOL_REPLACE. Either you need to use another program or create a custom program or maybe this funcationality just not available for shipments.
Such routine, for example, exists in SAPMV60A if you want to see what it looks like.

Similar Messages

  • Sales order information in Output text as subject in External Email

    Dear Expert
          Request to guide me with the steps involved to configure output text for the information of sales order to be sent to customer via e mail once the order is svaed.

    Hi Amit,
    Please go through the document given below. Hope it helps.
    Output generation using condition type for deliveries - emailing output
    Specially see the martina's reply.
    Please also go through the notes given below.
    960088 FAQ: Sending SD messages externally
    454893 CHECKLISTSD: Sales document output as an e-mail
    152474 Testing fax and e-mail
    Regards,
    MT

  • Sales order number in Output text as subject in External Email

    Dear Friends,
    I have configured every thing in customisation so that whenever the sales order is saved an email goes to customer email mail id. this is working fine.
    Please help as i want to have Sales order number also in the subject of the email.
    I am doing this process through OUTput and not workflow.
    Please help.
    regards,

    Hi can you please tellme what configuraiton settings that to be made. i am not able to get the email generated in the spool and before that it is issuing no output is issue.
    the following are the configuration changes that i did for the new output type for Emails
    In General data of the Output type i maintinaed :  SAPMV45A - TEXT_SYMBOL_REPLACE under replacement of Text symbols
    i selectd the medium as extenal send.did i miss anything. or else i request you to provide me the complete configuration on emails.
    Thanks

  • Order output send with attachment to external email recipient

    Hello,
    We have a requirement that we should be able to send an email with an orderconfirmation attached (like BA00) to specific contact persons (maybe one, maybe multiple contact persons) But this should be not the email in the customer master general data. This email is not internal, we need to send external emails with the document attached (PDF).
    Also this requirement should be also for invoices (RD00), it could be that this is an other person than the contact person for the order confirmation.
    Our first thought was to use the contact persons and create 2 new entries, order confirmation recipient and invoice recipient. In this contact person we can add an e-mail address .
    First, we created a condition record for output BA00 in VV12. We use standard communication strategy CS01 and with partner function CP (Contact Person) and add the number of the contact person (which is found in customer master).
    Only then we get the following messages:
    Message no. AM016
    Please enter an address number     
    Message no. SVN000
    Communication type  cannot be used
    Ok, this is due to that CP is missing in partner functions, so we add this then the output is send to the contact person. This is fine and working.
    But the problem is that we want to have this for multiple recipients, so for example 2 contact persons. You cannot create the same condition record for two recipients, so you can leave the partner empty in VV12. But when you enter an order, you get a popup for which CP you want to create this order. So only one is possible.
    Now we saw that there is a partner function MA (Mail partner address) is available. I have looked and searched but cannot find the exact function of this partner function. Like the MP (Mail partner) is internal, I expect this one to be external mail.
    But the only problem is with this partner function, we cannot add this to the partner determination for customer master.
    So how are we able to set this up? Any suggestion is appreciated and when usable also awarded.

    Read note 191470 - Purchase order as an e-mail.pdf

  • Text file over 200 external email addresses to add to outlook client - Can I import these email addresses to a Group Contact in outlook

    Can i import from a text file (text file only has smtp address) over 200 external email addresses to 2010 outlook client - specifically group contact. I did not see an import button on outlook client.  It would be very convenient if users can manipulate
    a text file which has all their external email addresses import these addresses to one group contact (mailing list)

    Hello Christopher,
    Please follow :-
    Step 1
    Open the text file in a text editor, such as Notepad. Each address should reside on a separate line or be separated by a semicolon. You can include multiple fields, such as names and addresses, by separating the fields by a space or tab.
    Step 2
    Press "Ctrl-A" to select all contacts on the list and then "Ctrl-C" to copy them.
    Step 3
    Click "New Items" from the main Outlook window, "More Items" and then "Contact Group."
    Step 4
    Click "Add Members" and then "From Address Book."
    Step 5
    Click the "Members" field, press "Ctrl-V" to paste the list of emails and click "OK."
    Step 6
    Click the "Name" field and type a name for the group.
    Step 7
    Click "Save & Close" to save your changes.
    Step 8
    Click "New Email" and type the name of the group in the "To" field. You can then compose and send email as usual.

  • Send Vendor Balance confirmations report output (F.18) to External email ID

    Dear Friends.
    I have following requirement
    Our Client requirement is to send Vendor Balance confirmations report output (Tcode F.18) to external email ID of vendor.
    So please guide accordingly.
    I have done BASIS Settings for SMTP (Tcode SCOT, RZ10) and Through SAP office using BASIS consultant and i can able to send sample test mail to external email ID through SAP Office (tcode SO00)
    I will be thankful if anyone gives me exact solution.
    Thanks & Regards
    Suyog

    Hi,
    You can craete Background Job and send Mail.
    e.g.
    Goto->SM36->JOBWIZARD ( Create the Job and specify the Spool List Recipients ).
    After Creating the job.
    Again SM36->Start Condition ( You can create here when to send the mail ).
    And Release it.
    Be sure that your BASIS guy has done the required settings for Outgoing Mail.
    Please check in SCOT.
    Affable
    Arbind
    Edited by: Arbind Prasad on Jan 23, 2010 3:07 PM

  • Send PO External email with attachement and Body text

    Hi,
    I need to send Purchase Orders to Vendors as PDF attachments to emails; I have successfully configured all the necessary to send external email with PDF attachement but I want to add text in the body of the email:
    For Output Type NEU
       Access to conditions (General Data) set to X the Replacement of text symbols is SAPMM06E/TEXT_SYMBOL_REPLACE and I fill the text in the Mail Title and Texts. The email was send with all the information : Attachement, title with PO number but with no text in the body.
    Can somebody help me with this issue.
    best regards
    Andre

    Hi,
       My file is "PO Number APM - 123456.dpf". You have to config the "Define Message Types for Purchase Order" in the section Mail title and texts with NEU output type. But don't forget to put the program name SAPMM06E
    Look at
    [purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE|purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE]
    Best regards
    Andre

  • FM to send text message external email (without any attachments)

    Hi Guys,
    Can somebody tell me the function module and share the code to send simple text message email to external email.
    Thanks,
    mini

    U can use FM SO_NEW_DOCUMENT_ATT_SEND_API1. For details check this sample code.
    report zmail.
    Parameters
    PARAMETERS: SUB LIKE SOMLRECI1-RECEIVER
                  DEFAULT 'Subject line'.
    PARAMETERS: EAD LIKE SOMLRECI1-RECEIVER." Mail id
    PARAMETERS: L01 LIKE SOLISTI1-LINE
                  DEFAULT 'Body text'.
    PARAMETERS: L02 LIKE SOLISTI1-LINE.
    PARAMETERS: L03 LIKE SOLISTI1-LINE.
    PARAMETERS: L04 LIKE SOLISTI1-LINE.
    PARAMETERS: L05 LIKE SOLISTI1-LINE.
    PARAMETERS: L06 LIKE SOLISTI1-LINE.
    PARAMETERS: L07 LIKE SOLISTI1-LINE.
    PARAMETERS: L08 LIKE SOLISTI1-LINE.
    PARAMETERS: L09 LIKE SOLISTI1-LINE.
    PARAMETERS: L10 LIKE SOLISTI1-LINE.
    Macro
    DEFINE M_LINEADD.
    IF NOT &1 IS INITIAL.
      TAB = &1. APPEND TAB.
    ENDIF.
    END-OF-DEFINITION.
    Variables
    DATA: BEGIN OF TAB OCCURS 10.
    DATA:   LINE(40).
    DATA: END OF TAB.
    DATA: RC LIKE SY-SUBRC.
    Main program
    START-OF-SELECTION.
      REFRESH TAB.
      M_LINEADD L01.
      M_LINEADD L02.
      M_LINEADD L03.
      M_LINEADD L04.
      M_LINEADD L05.
      M_LINEADD L06.
      M_LINEADD L07.
      M_LINEADD L08.
      M_LINEADD L09.
      M_LINEADD L10.
      PERFORM Z_SEND_EMAIL TABLES TAB USING EAD SUB RC.
      IF RC IS INITIAL.
        WRITE: / 'Your e-mail has been sent successfully.'.
      ELSE.
        WRITE: / 'Your attempt to send an e-mail failed.'.
      ENDIF.
          FORM Z_SEND_EMAIL                                             *
    -->  ITAB                                                          *
    -->  EMAILADDRESS                                                  *
    -->  SUBJECTLINE                                                   *
    -->  RETURNCODE                                                    *
    FORM Z_SEND_EMAIL TABLES ITAB
                      USING  EMAILADDRESS TYPE C
                             SUBJECTLINE  TYPE C
                             RETURNCODE   LIKE SY-SUBRC.
      DATA: DOCUMENT LIKE SODOCCHGI1.
      DATA: PACKLIST LIKE SOPCKLSTI1     OCCURS 0 WITH HEADER LINE.
      DATA: CONTENTS LIKE SOLISTI1       OCCURS 0 WITH HEADER LINE.
      DATA: RECVLIST LIKE SOMLRECI1      OCCURS 0 WITH HEADER LINE.
      DATA: FIELDLEN TYPE P.
      DATA: TABLINES TYPE P.
    Initialization
      CLEAR: CONTENTS, DOCUMENT, PACKLIST, RECVLIST.
      REFRESH: CONTENTS, PACKLIST, RECVLIST.
      RETURNCODE = 12.
    Contents
      CONCATENATE
        'The following message has been sent from SAP'
        SY-SYSID
        SY-MANDT
        '(Do not reply to this message):'
          INTO CONTENTS SEPARATED BY ' '.
      APPEND CONTENTS.
      CONTENTS = SY-ULINE(40).
      APPEND CONTENTS.
      LOOP AT ITAB.
        CONTENTS = ITAB.
        APPEND CONTENTS.
      ENDLOOP.
      CONTENTS = SY-ULINE(40).
      APPEND CONTENTS.
    Document
      DOCUMENT-OBJ_NAME = 'EMAIL'.
      DOCUMENT-OBJ_DESCR = SUBJECTLINE.
      DOCUMENT-OBJ_LANGU = SY-LANGU.
      DOCUMENT-OBJ_EXPDAT = SY-DATUM.
      DOCUMENT-SENSITIVTY = 'F'.
      DOCUMENT-OBJ_PRIO = 9.
      DOCUMENT-NO_CHANGE = 'X'.
      DOCUMENT-PRIORITY = 9.
      DOCUMENT-EXPIRY_DAT = SY-DATUM.
      DESCRIBE FIELD CONTENTS-LINE LENGTH FIELDLEN.
      DESCRIBE TABLE CONTENTS LINES TABLINES.
      MULTIPLY FIELDLEN BY TABLINES.
      DOCUMENT-DOC_SIZE = FIELDLEN.
    Packing list
      PACKLIST-TRANSF_BIN = SPACE.
      PACKLIST-HEAD_START = 1.
      PACKLIST-HEAD_NUM = 0.
      PACKLIST-BODY_START = 1.
      DESCRIBE TABLE CONTENTS LINES PACKLIST-BODY_NUM.
      PACKLIST-DOC_TYPE = 'RAW'.
      APPEND PACKLIST.
    Receiver list
      RECVLIST-RECEIVER = EMAILADDRESS.
      RECVLIST-REC_TYPE = 'U'.
      RECVLIST-COM_TYPE = 'INT'.
      RECVLIST-NOTIF_DEL = 'X'.
      RECVLIST-NOTIF_NDEL = 'X'.
      APPEND RECVLIST.
    Call the mail function
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOCUMENT
                PUT_IN_OUTBOX              = 'X'
           TABLES
                PACKING_LIST               = PACKLIST
                CONTENTS_TXT               = CONTENTS
                RECEIVERS                  = RECVLIST
           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.
      RETURNCODE = SY-SUBRC.
    ENDFORM.

  • PO output to External Email

    Dear Experts,
    I have a question regarding sending of PO output to email.
    First of all we have defined the External email configuration and tested it for our Corporate id. We are receiving the normal emails we send from SAP.
    Now i want to send the output of PO from ME22N to External Email id's (Vendor/Corporate email id's).
    We have defined our own PO layout and are using it for Printing Purposes. I want that same layout to be send to Vendors.
    Can anyone give me a detailed explanation for successfully executing the sending of email from start to end? It really will be very helpful. It is very important project for me.
    Kindly help.
    Please revert back for any clarifications.
    Regards,
    Jitesh M Nair

    check this code which sends po output as an attachment to the vendor
    https://wiki.sdn.sap.com/wiki/display/Snippets/mailsendthroughoutputcontrols
    кu03B1ятu03B9к

  • Add text field into the 'subject' of a email submit button

    I have a form where the client will enter their name, organisation, query and details of their query into text fields.  I would like the text in the 'query' field to be added to the 'subject' of the email submit button.  This will identify different queries submitted by other clients before opening up the completed pdf form attachment.

    Hi,
    if you use ES3 or ES4 you can use my macro to create email scripts with values from form fields.
    http://thelivecycle.blogspot.de/2012/05/mailto-maker-marco-v1.html

  • Text field as email subject line or email body

    I have a form with a text field. I would like to have the contents of the text field in either the subject of the email or referenced in the body of the email. I am using a submit button for the email.

    You might want to look at the event.target.mailDoc method which only works with Acrobat and attached the PDF to the email.
    var myDoc = event.target;
    var rEmail = TextField1.rawValue;
    myDoc.mailDoc(
    false,
    rEmail, "", "",
    "Subject goes here",
    "Body goes here."

  • Tab Delimited Text File to be Emailed (External Email ID) from SAP

    Hi,
    I have a requirement to email a tab delimited text file as an attachment to external email id from SAP. The text file is of line with type string and the length of each line is about 1024 char size. Can you please suggest me a suitable solution to this requirement? It looks like the FM: SO_NEW_DOCUMENT_ATT_SEND_API1 can handle a text file of 255 char length. I am not sure how to attach a text file of records with length more than 1025 char size.
    Appreciate your help in advance.
    Thanks,
    Kannan

    Hi,
    I have a requirement to email a tab delimited text file as an attachment to external email id from SAP. The text file is of line with type string and the length of each line is about 1024 char size. Can you please suggest me a suitable solution to this requirement? It looks like the FM: SO_NEW_DOCUMENT_ATT_SEND_API1 can handle a text file of 255 char length. I am not sure how to attach a text file of records with length more than 1025 char size.
    Appreciate your help in advance.
    Thanks,
    Kannan

  • Output type External Emails to multiple recepiants in VA01

    Hi,
    I want to send External emails to multiple contact persons in VA01 whenever sales order is saved using output types.
    i have created a output type of external mail but its only sending mail to main single email id and not the contact person in it.
    Please suggest something how to do it.

    Hi Nishant,
    In standard sap there is no provision to send it to multiple recipients. The mail address which you will see by default it will go to that mail address .This is the requirement i got a long back i posted to sap but it is not possible.Please check this and post if there is any query on this.
    Regards,
    Madhu.

  • Sending smartform output to external email id

    here the issue is ,,'
    in pa40..m
    after changing the start date of pernr ...
    if i click on save button i  have to generate one  smartform based on the pernr and bedga ..
    after i have to send that smartform output to external email id dynamically ..
    please help me in this...
    Moderator message: please search for available information/documentation before asking, your posts are pain to read, use normal punctuation, capitalization, do not open multiple threads for the same issue.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    Edited by: Thomas Zloch on Nov 10, 2010 1:56 PM

    Hi Swati,
    Try to maintain an auto-forwarding email address for this user using transaction SO36 and check if that solves your problem.
    Regards,
    Jigar

  • PO- Output to the PO creators by email in pdf

    Hi ALL,
    we have a requirement is to have the PO- Output  to the PO creators by email in pdf. Format.  how can we acheive this requirement , what is the partner function can be used for person who creates PO , where can we maintian his eamil ID .
    please advise.
    Regards,
    Amara.

    hi
    You need to do some configuration for this.
    u2022     Go to NACE.
    u2022     Select EF and click on OUTPUT TYPES.
    u2022     Then select Output Type NEU and click on processing routines .
    u2022     In that you have to add a new entry - medium 5 .
    u2022     Then you need to assign a program, form routine and form.
    u2022     You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022     Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022     For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022     Under General data -> Replacement of text symbols give programme as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE.
    u2022     Now the subject will be PO No. 1800004202.
    u2022     You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022     Now while creating a new purchase order , change the medium to External Send .
    u2022     Then goto Communication Method and select CS01. ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022     Goto tcode ME9F .
    u2022     Execute.
    u2022     Select the checkbox and click on Output Message.
    u2022     You will get a message MAII 00000000000001 generated .
    u2022     Use note no 191470
    now to get the po in pdf u hav eto go to SCOT and here in internet tab maintain SAPscript/Smart Forms PDF
    regards
    KI

Maybe you are looking for

  • HP Officejet Pro 8600: "Unable to Communicate with Printer" error message

    I receive the error message "Unable to Communicate with Printer" regularly when I print. Sometimes it will print 3 or 4 times just fine before I get this message. Sometimes it happens my first try at printing. I then have to reboot my computer to get

  • How to deal with the old instances of any class?

    Hi, I have a doubt regarding the old instances of any class. Currently i am designing a game in java swing. I have a new game button, which creates a new game instance of the game class. There might be conditions that the old game is finished and use

  • HT4859 is there any way to see contents of icloud back up

    i broke my i phone 3gs and need acsess to stuff on it i know its all in backup but i dont have any apple devices that support i cloud now i have a second generation ipod touch and a first generations iphone is there any way for me to view my backup t

  • Problem connecting to SQL Server Analysis Services

    Could you please help me?. When i try to import data from analysis services in the administration tool i don't know the URL i must write. Could you describe the steps for the import process for this case?. Thanks in advance.

  • Publishing web templates in static HTML

    Hi, When broadcasting web templates to HTML, must you publish them into the portal or can they simply reside on the BW server as static HTML pages and accessible via a URL? I ask because I am implementing a dashboard and the web templates should be p