Mail output

Hello,
This is regarding mail output to ship to party. My requirement is when I do PGI the mail should get trigered to ship to party after 30 days. how can I achive this task
regards,
Naveed Ansari

Hi,
You can achieve this thru routie. This requirement can be assigned to delivery output condition types that should only be processed once goods issue has been done. 
There is standard ruotine -1, copy this and do the coding par your requirement & assign it to delivery output types.
Rgds
San

Similar Messages

  • Configuring cronie for mailing output [solved]

    Hi,
    I am having a hard time setting up cronie for mailing output. Jump to the last sentence for the actual question.
    From man 8 cron, I read that the -m option "allows you to specify a shell command to use for sending Cron mail output instead of using sendmail(8). This command must accept a fully formatted mail message (with headers) on standard input and send it as a mail message to the recipients specified in the mail headers". I do have msmtp installed. I can do this and receive email successfully:
    $ msmtp -t << eof
    > To: <my address>@gmail.com
    >
    > test
    > eof
    Thus I know that msmtp -t is the command I must provide with the -m option.
    Then, I followed these instructions and created /etc/systemd/system/cronie.service.d/mailing.conf which contains:
    [Service]
    ExecStart=
    ExecStart=/usr/bin/crond -n -m 'msmtp -t'
    Note: the first, empty ExecStart cancels the former one from the original .service file.
    After starting cronie.service, this is the result of systemctl status cronie.service:
    cronie.service - Periodic Command Scheduler
    Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled)
    Drop-In: /etc/systemd/system/cronie.service.d
    └─mailing.conf
    Active: active (running) since Mon 2013-06-24 22:58:24 EDT; 2s ago
    Main PID: 1457 (crond)
    CGroup: name=systemd:/system/cronie.service
    └─1457 /usr/bin/crond -n -m msmtp -t
    Jun 24 22:58:24 electron systemd[1]: Started Periodic Command Scheduler.
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (Syslog will be used instead of sendmail.)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (running with inotify support)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
    It seems that systemd drops the single quotes and takes -t as it's own parameter instead of passing it to msmtp. You can also see that crond logged "Syslog will be used instead of sendmail". I can actually see the output of my commands in /var/log/crond.log. How should I quote the space between msmtp and -t in the ExecStart line of my .service file?
    Last edited by a_neutrino (2013-06-30 21:54:53)

    Hi,
    Thanks a lot for your help. The issue is [solved].
    dif wrote:You have to create a file /etc/aliases that holds the addresses where e-mail notifications will be sent to when a user's cronjob creates an output.
    It seems unnecessary. The MAILTO variable set in the crontab accepts a complete email address.
    dif wrote:Contrary to Wiki, there are no commas separating e-mail addresses if there are a few in a line.
    The msmtp man page also says to put commas.
    dif wrote:
    There is a special script distributed with Arch that is able to scan /etc/aliases for a valid domain address and then calls msmtp. Here is its path
    /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    Copy it to /usr/bin/ and create a simlink:
    sudo cp /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/find_alias_for_msmtp.sh
    sudo ln -s /usr/bin/find_alias_for_msmtp.sh /usr/bin/sendmail
    Why didn't you just :
    chmod +x /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    ln -s /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/sendmail
    Also, I had to modify the find_alias_for_msmtp.sh script a little because cronie calls sendmail without any parameters:
    diff --git a/scripts/find_alias/find_alias_for_msmtp.sh b/scripts/find_alias/find_alias_for_msmtp.sh
    index fb485dd..346f313 100644
    --- a/scripts/find_alias/find_alias_for_msmtp.sh
    +++ b/scripts/find_alias/find_alias_for_msmtp.sh
    @@ -16,15 +16,18 @@ MSMTP=`which msmtp || echo "/usr/local/bin/msmtp"`
    if [ "$1" = '-i' ] ; then
    v_recipient=$2 # mailx calls sendmail with -i as the 1st param and the recipient as the second param
    -elif [ "$1" = '-t' ] ; then # most other programs call sendmail with a -t option
    +elif [ "$1" = '-t' -o $# = 0 ] ; then
    + # Most other programs call sendmail with a -t option.
    + # cronie calls sendmail without parameters and
    + # expects sendmail to find the recipient in the mail headers.
    v_to=`echo "$v_msg" | grep -m 1 'To: '`
    v_recipient=${v_to:4:50}
    else
    - v_recipient=$1 # no parameter, sendmail was called with the recipient as parameter
    + v_recipient=$1 # sendmail was called with the recipient as parameter
    fi
    -if [ $v_recipient != 0 ] ; then
    +if [ "$v_recipient" != 0 ] ; then
    # trim spaces from recipient email address
    v_recipient="${v_recipient// /}"
    Or maybe I missed something. I submitted the patch upstream to see if they think it's relevant.
    dif wrote:Hope this helps.
    Yes, it did! Thank you so much.

  • PO mail output sender set as po release person, how to changet mail sender?

    Hi expert
    Now we setup po mail output. But we found when po released, the release person become the po mail sender. this is not we wanted. We checked with sap, they mentioned this is current sap logic. there is one function which need add some program , but sap doesn't support it.
    So we hope to check if there is any user exit, We hope to select purhcase group id 's mail address as po mail sender, But which user exit could work for this po output send? 
    Thanks
    Alice

    Hi....
    Did you get any solution to your problem ? If yes, can you please share the same with me ?
    I have a similar requriement from my customer, but am not able to figure out how to do this.
    Thanks in advance,,,,,Devendra

  • Configure e-mail output

    Hi Gurus
    Can somebody send me informaton on how to configure e-mail output for a sales order/delivery document/invoice. I know how to do it for a printer but I want for e-mail.
    My e-mail is: [email protected]
    thanks all
    Srini

    Hi
    If your SD output configuration is set up correctly, an e-mail from SAP using medium 5 should go through just fine via SAPconnect (transaction SCOT). When it works, the external recipient should receive an e-mail with a PDF attachment containing the form image, regardless of whether it has been created via SAPscript or Smart Forms. Depending on your output determination settings, this even can happen in the background, without any interaction with the SAP front end (e.g. for invoices created automatically by a batch job).
    Typically, a failed send will be flagged in the message control table (NAST), and this table should be monitored closely. However, there are many reasons why a document hasn't gone through, and this can be the case with both outgoing faxes and e-mails from SAP. The solution to both is the same: After identifying the failed document, re-send it manually by going inside it in change mode and repeating the appropriate output. If an obsolete customer e-mail address was the culprit, a customer master change would also be required, along with an audit of any docs recently created for this customer.
    If any underlying data has changed since initial issuance, a re-sent document may not appear identical to the (failed) original. Sometimes, as when address info has been corrected, this can be a good thing. After all, the new document is more accurate than the old one.
    In other cases, such as when pricing info has changed, it might be a cause for serious concern. There are several ways to deal with this concern:
    1) Limit the types of changes allowed on certain docs after creation
    2) Set up a doc image archive via ArchiveLink and re-issue output from there instead of from the current doc; or
    3) For highly sensitive docs, consider a more secure delivery method.
    <b>sending  smart form</b>
    You didn't specify the nature of the form or print program, but I suspect we are discussing application-driven output.
    In any case, I suggest you take a close look at the print program. If it is a standard one provided by SAP, it is quite possible that hooks already exist to send your Smart Form output via e-mail as a PDF attachment.
    See for example the call to function 'LF_FM_NAME' in standard print program RLB_INVOICE. Notice the preceding call to function WFMC_PREPARE_SMART_FORM? This function does the heavy lifting for you; here, no additional work is needed in either the form or the print program. To generate e-mail output, the remaining work essentially is:
    1) SD output configuration (e.g. mapping the relevant billing output type to transmission medium 5 - 'External send' - via the IMG)
    2) SAPconnect configuration (txn SCOT -- there are several notes in the SAP Service Marketplace discussing this component, such as 152474 and 312690).
    3) Setting up the sender and recipient e-mail addresses (e.g. sender = txn SU3 data; recipient = bill-to party's txn XD02 data).
    Hopefully, the print program at issue has the hooks you need. If not, you may need to explore the possibility of (a) changing it, (b) cloning it and changing the cloned version, or (c) manipulating the values directly within the form itself via field-symbols (which may or may not work). Whichever approach you take, I wish you luck.

  • Purchase document, mail output type, name of the sender in title...

    Hello everyone,
    when a user send a purchase document by mail, the vendor, in the mail title, see the user ID instead if his First+LAST name (field "BNAME" instead of "NAME_TEXT" in the SUO1d, adress part). How can i change that?
    Thanks a lot for answering.

    Hi Friend,
    I think mail is firing through output type.
    Check the program name in NACE transaction. Consult with ABAPer that the program is sending with which header information and changed it accordingly.
    Generaly SO_OBJECT_SEND_AP11 is used for sending.
    Hope it will help you.
    Regards
    Krishnendu

  • Mail output for Invoice Verification

    Hi All,
    I am SD consultant and got requirment to work on related to MM. searched a lot but not able to get answer to my querry looking for.
    The requirment is to send Invoice to vendor by e-mail message. as soon as we save the invoice for vendor (MIRO) need to send same invoice to Vendor.
    As far as I knwo I maintained data like vendor Mailing address in vendor master.
    Can you guys guide me with complete implementation / configuration steps.
    Thanks in advance
    Vishal

    Hi
    To  check config step  
    1> Execute  NACE  -t-code
    2>  Look for  application  MR,  (High light)
    3>  Look for  output type condition   ( EINK   or depend on requirement) .
    4> Check  for attached program ,Form Routine, Attached form
    5 > Maintain  medium , partner function
    Then  create  out put record  MRM1  for the output condition.
    Thanks
    Dilip

  • E-mail output to the creater of the Sales Order

    Dear Gurus,
    Greetings.
    We have a request from the client to configure such that:
    1. Whenever anyone creates a Sales Order and saves, system should trigger an email output to his mail ID.
    2. Whenever anyone edits a Sales Order, the editor should get an email.
    I am told there is a partner function "Created by' which can do this in the standard system. I am not able to make it work (in PF, there are 2 actually and both are not working for me). So kindly someone help me here. I searched the forum for solutions but couldn't find the right one. So please . . . .
    Thanks to everyone and a Happy Republic Day to all my Indian friends and Good cheers to all my other friends !!
    Venkat - Hyd

    Dear Dilip Sadh,
    Thats exactly what i am saying, when i am creating output condition record, system is not accepting the Partner Function 'Created By'. that is the reason I am unable to use it and requesting the Gurus to help me solve it.
    Dear tooCann,
    I did not quite understand your suggestion, are you suggesting a Print Output or an email output? As said above i am not able to use the PF 'Created By'. Can you suggest anything else?
    Any help here plz.
    Regards
    Venkat - Hyd

  • SO619 Error for SA release mail output

    Hi All
    we are trying to send SA release via email using medium 5 external send. We are using the standard program SAPFM06P & routine ENTRY_LPHE_AUTO in our output type. The mails where being sent out perfectly earlier but now we have started getting the error message SO619 "Error during send process". This is an SAP office error and we are not able to figure out why we are getting this error.
    There is a thread "SapScript: External send Error SO 619 "Error during send process"" which also talks about the same error but the solution given says "Basis was meddling with something" .
    Can any one help us in knowing what should be done to fix this error.
    Thanks
    Prasad

    Hi Prasad,
    I have the same problem, do you know already how to fix this?
    Many thanks, Leo

  • How to display the RFQ Number as the Document Name in the E-Mail output.

    Hi All,
    I want the Document Name of the E-Mail Notification of RFQ to be the RFQ Number itself.
    For eg. RFQ E-Mail-60000015096.pdf
    How can this be configured?
    Thanks,
    Muneer.

    Hi,
    I have done the changes for PO. Its working fine.
    But its not working for RFQ.
    For eg, for PO its displaying as "PO E-Mail 45000xxxxx".
    But for RFQ its just displaying "RFQ E-Mail" - Number is not coming.
    I have used the text as "PO E-mail &EKKO-EBELN" for PO.
    And for RFQ, I'hv used "RFQ E-Mail &EKPO-ANFNR".
    Thanks,
    -Muneer.

  • Take away ! on unix script mail output

    SET HEADING OFF
    SET TRIMOUT OFF
    SET SERVEROUTPUT OFF
    SET ECHO OFF
    SET FEEDBACK on
    SET PAGESIZE 0
    SET LINESIZE 1975
    set wrap off
    SPOOL my_error_report.csv
    COLUMN ID FORMAT A50
    COLUMN NAME FORMAT A45
    COLUMN STATUS FORMAT A8
    COLUMN NID FORMAT A45
    select ID, NID,STATUS from test1 where STATUS='ERROR';
    select ID, NAME, STATUS from test2 where STATUS='ERROR';
    My output
    <<<<<<<<<<<<
    4b28c550-1dd2-11b2-b3c8-tfea3d2daea sqlbacup_REPORT_CREATE.VERSION_2 ERROR
    how can i take away the !

    hi,
    try this ..
    SET HEADING OFF
    SET TRIMOUT OFF
    SET SERVEROUTPUT OFF
    SET ECHO OFF
    SET FEEDBACK on
    SET PAGESIZE 0
    SET LINESIZE 1975
    SET wrap off
    SPOOL my_error_report.csv
    COLUMN ID FORMAT A50
    COLUMN NAME FORMAT A45
    COLUMN STATUS FORMAT A8
    COLUMN NID FORMAT A45
    SELECT REPLACE (ID, '!') AS ID, REPLACE (nid, '!') AS nid,
           REPLACE (status, '!') AS status
      FROM test1
    WHERE status = 'ERROR';
    Are you getting ! out of running the following query ?
    SELECT ID, nid, status
      FROM test1
    WHERE status = 'ERROR';Thanks,
    P Prakash
    Edited by: prakash on Mar 4, 2012 11:12 PM

  • Sending a smartform output as an attachment in RTF format via E-mail

    Hi all,
         I have a scenario in which the output displayed using smartforms is to be sent as a e-mail attachment. Also, the attachment should be a word doc(RTF format). Can you please me with this.
    Warm Regards,
    Abhijeet

    HI,
    See the call to function 'LF_FM_NAME' in standard print program <b>RLB_INVOICE</b>. Notice the preceding call to function WFMC_PREPARE_SMART_FORM? This function does the heavy lifting for you; here, no additional work is needed in either the form or the print program. To generate e-mail output.
    See the below link
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
    Thanks
    Sudheer

  • External mail using output types in inbound delivery.

    Hi Experts,
    I want to send an external mail to vendor after creating inbound delivery.  for this i want to use only output types in messages.  Can somebody help me step-by-step how to configure the output type to send mail to external ID.
    Thanks in advance!
    Machindra Jogdand

    we can have print out from delivery from header output & item output.
    ok now for output ypu need to go to T.code: NACE, Take V2 -shipping and click on output types tab at the top most u will get a output type standard "MAIL"
    For the MAIL output type u assign a access sequence of your own.
    Maintain condition records in VV2.
    Select the output type in delivery
    GO to Vl02n enter the delivery no: take extras from the menu and take delivery output header /item enter the output type MAIL.

  • Email Address not visible for output device MAIL in created batch job

    Issue in ECC6.0: Email Address not visible to display/change for output device MAIL in print parameter of each step in the created batch job.
    User wants to periodically receive report file via send to his email, so I create the batch job running report and send the report in pdf file to his email.
    Detail in the batch job
    1) In print parameter screen of the step in the batch job
       -Using output device MAIL (output type ZPDF1)
       -inputting email address of receiver in the EMAIL ADDRESS field
    2) After the batch job was saved, I tried to display/change the field EMAIL ADDRESS via Tx. SM37, but this field is invisible. The field can not be displayed or changed anymore. I also tried in SM36, but it is for creating new batch job, not changing the existing batch job.
    4) User receives email with pdf file from the batch job.
    How to change/display the email address of the receiver in the created batch job?
    Note that we just changed to use SAP ECC6 from SAP 4.6c. In SAP 4.6c, we can change/display the
    Email Address Field via Tx. SM37.
    Pls kindly suggest, thank you very much in advance.

    Hi Srirompoti,
    After saving the job if the job has not started then you can follow the below steps to change the Email address.
    1. View the job from Txn SM37.
    2. check the check box for your job that you want to change and goto menu path "Job->change
    3. in the next screen goto "Edit->steps." or press "F6" key
    4. place the coursor on the job and goto menu path "Step->change->print specifications.
    5. here you can change the email address.
    If you are not able change the data then you might not have authorization.

  • Sapscript translated in non-english language - Garbled output as Email

    Hi Experts,
    I've translated a SAPscript  to Chinese and Thai language.
    As per my requirement, the output can either be printed, emailed or faxed.
    I'm using the standard include  RVADOPFO for Open form.
    For the english version, I'm able to recieve the properly formatted e-mail output.
    However in case of thai and chinese, the Thai and Chinese characters do not appear. Most of them are substituted with blank spaces and some are substituted with boxes and unknown characters. However, the numbers and english characters appear.
    Please help in getting the correct output.
    Thanks!
    Nitya.

    Hi,
    SAP 141343. PDF Conversion: Latin-2.
    SAP 141901. Customer-specific fonts for PDF conversion.
    SAP 163266. PDF conversion: character set for softfonts.
    SAP 171698. SAPconnect: Formats, conversion, device type.
    SAP 317851. Creating PDF format via spooler in 4.6C/4.6B/4.5B.
    SAP 322998. PDF conversion: Cyrillic support.
    SAP 323736. Restrictions with "PDF print" through spooler.
    SAP 398357. PDF converter: Width of letters is incorrect.
    SAP 414325. SAPconnect: Conversion of ALI to PDF.
    SAP 504952. Composite note spool and print.
    Find these notes, there You'll find some answers.
    Regards,
    Nisrin.

  • How to determine output based on the content of purchase order

    Hi Gurus,
    I've a typical requirement at my present project. With vendor X we have punchout catalogs. while creation of shopping cart, we are not allowing the user to mix catalog items and non catalog items into the same shopping cart. Once the shopping cart all shopping carts are automatically coverted into PO.
    Now the challenge we are facing is, if the PO is created based on items from catalog, we want to send such PO via XML interface to the vendor. If the PO is created based of items which are free-form, we want to send such PO via Smartform email attachment.
    As this condition can only be determined at runtime, I'm finding a challenge to configure this. In both PO cases, vendor is same but the content of the PO is different. One contains all items that are catalog based and other contains items which are non catalog.
    Can someone help me find solution for this issue.
    Regards,
    Sam K

    Change Forms for Document Output
    You can use the Business Add-In BBP_OUTPUT_CHANGE_SF to override the Smart Forms that are defined in the activity Define Actions for Document Output.
    This BAdI serves as an alternative to the IMG activity Condition-Dependent Document Output.
    Note that no Smart Forms are used for output via XML.
    Standard settings
    The following parameters are available in the method CHANGE_FORMS. Depending on the input parameters, you can define other Smart Forms to output the document type.
    Importing
    IV_GUID
    Globally Unique Identifier of the document.
    IV_MEDIUM
    Output medium found for this document according to Define Actions for Document Output (print: PRN, fax: FAX, e-mail: MAI, XML: MET).
    IS_PARTNER
    Business partner to whom the document is sent.
    IV_OBJECT_TYPE
    Business transaction type.
    Changing
    CV_SMARTFORM
    Smart Form used to output the document.
    E-mail output
    Smart Form with which the document is added to the e-mail in the form of a PDF attachment.
    Note:
    Note that the BAdI with this parameter overrides the parameter form name (technical name of the Smart Form BBP_PO for example) irrespective of the defined determination technology (SRM: Purchase Order Output Determination, for example).
    CV_SMARTFORM_MAIL
    Smart Form used to define content and layout of the e-mail text in the case of e-mail output.
    CV_SUBJECT_MAIL
    Smart Form that determines the text in the (short description of the e-mail content).
    As an alternative to this BAdI, you can control document output via determination technology.
    For more information, see Condition-Dependent Document Output.
    EXPLORE THIS badi

Maybe you are looking for