Batch email/fax via Spool recipient

I want spool output from a batch job to be mailed to external recipients or faxed.
The approach I am using is job open, submit via job, job close using a recipient object - and it is 95% of what I want. This basically corresponds to using the Spool recipient button on SM36.
It sends the spool as an attachment but.... I have no control over the actual body of the email being attached to or even the title of the email. Similarly if I create faxes I have no control over the cover page sent.
Any idea if I can use this approach AND put text into the email being sent and set the title to one of my choice?
Thanks
Neil Woodruff
The two response were both helpful but did not solve the problem. It seems to me that there is no programmatic way of editing the message produced by a job and sent as an email or fax. I have decided to change my approach and instead have my program convert spools to PDF files and then email or fax these. This can be done as per sample programs BCS_EXAMPLE_2 and BCS_EXAMPLE_5.
Message was edited by: Neil Woodruff

Neil,
   U r approach is fine and as per the aim.
   Have a look at the following links
   1. This link says how to send the email to clients with JOB_CLOSE.
     http://help.sap.com/saphelp_47x200/helpdata/en/fa/096d33543b11d1898e0000e8322d00/frameset.htm
   2. We want to change the Email Subject and the Title. This is quite complex but it can be done. Have a look at the following weblog.
/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
Thanks
Kam
Note: Allot points for all worthfull postings

Similar Messages

  • Change subject line of Email sent through "spool recipient functionality".

    A batch job creates a spool, which is send through Email using spool recipient functionality. The subject line of the Email is as follows
    "Job<job name>, Step <step no.>".
    Is it possible to change the subject line of the Email?
    Any pointers on this would be highly appreciated.

    check the program name for job.
    If the program is Custom program(starting with Z or Y)  then you can easily change subject line of email.
    If it is standard program then we have to look for alter path.
    Edited by: subas  Bose on Feb 18, 2010 6:54 PM
    Edited by: subas  Bose on Feb 18, 2010 6:55 PM

  • Error in Email via spool list recipient feature in SM37

    Hello Experts.
    I encounter a strange problem. I am not able to send Email to external Email addresses (Lotus Notes) while I am using Distribution list option in spool list recipient option in SM37 background job. I am getting an error in SOST called 'Message cannot be transferred to node SMTP due to connection error (final)'.
    I am Able to get email with spool on my SAP inbox if I use the option 'Internal user' in spool recipient.
    Also, if I send an email in a custom program via function 'SO_NEW_DOCUMENT_ATT_SEND_API1', I am successfully able to send the email to Lotus notes id using the same distribution list. So, I suppose all the basis settings in SCOT, SU01, SICF are correct.
    I checked with my basis team as well but they also see all the email settings as correct.
    My spool is very small one and I have all the access in the system.
    Anyone having any idea for this issue, please share.
    Regards,
    Diwakar

    I found the answer myself.
    In SCOT, SMTP setting, Output format for ABAP list needs to be set as 'PDF' or 'TXT' instead of 'HTM'.
    With HTM, it was going in for error for spool email.
    Regards,
    Diwakar

  • Send Purchasing Documents via email/fax to vendor

    Hi all,
    I have a customer requirement wherein Purchasing documents such as RFQ, PO etc need to be sent to vendors via email/fax. To cater to the customer's form requirements, we developed smartforms instead of using the standard MM purchasing smartforms. To call these smartforms in the print programs, we copied the standard print program SAPFM06P and commented out the function module ME_PRINT_PO  in the routine ENTRY_NEU and added the our own code to call the custom smartform. The custom code segment in the print program is attached for reference.
    Now, when we are trying to generate messages for the purchasing documents using output type External Send, the custom program does not pick up the email address maintained in the vendor master and instead picks up email address maintained in RFQ or PO initiator's user profile. We have made the required configuration for SCOT and SOST tcodes.
    We tested the same scenario requirement using the standard print program and got the desired results i.e. the print program picked up the email address maintained in the vendor master. But with this approach, we cannot use our custom smartform.
    Any help in this matter will be appreciated.
    Regards,
    Saad

    Hi Biju !
    Thanks for the response but I think you missed the point here. I am using different output types for RFQ and PO as well as different custom smart forms and we are using the same custom print program to generate output for both.
    The issue is with the print program and not the output type as I mentioned that I have already got this thing working on our IDES using the standard print program and standard forms.
    Tomas Talpa's response seems to be helpful. I'll get my technical consultant to amend the code accordingly and see if it works.
    Regards,
    SaaD Karim Mallick.

  • Fax via email

    I used to have phone service through a voip that offered virtual fax via email. Nice and easy. Now I changed to another provider (Vonage) and I discover that in order to receive faxes via email I need an application.
    All applications I found charge you monthly.
    I received maybe 5 faxes a month (4 of which are spam). So I do not intend paying a monthly fee. At the same time I have a nice and easy fax # and I want to keep that.
    What other solutions are there, please?
    Thanks a lot in advance for your courtesy in replying,
    Luigi

    sig wrote:
    http://www.efax.com/
    $14.99 per month after 30-days?
    The OP is looking for a free service.
    At that rate, Go Daddy's service is far cheaper at $6.99 per month.
    http://www.GoDaddy.com

  • Spool File not complete when spool recipient recieves email

    Hi,
    This is my Issue...
    We scheduled one of the Std SAP report (RLS10020/LX02). When defining the job, we have also specified a spool recipient and once the job was completed, the recipient got the spool as a html file. The spool actually had 15000 line items, but the html file received in the email had only 900 (file size ~1.5 mb).
    When the spool is manually exported as a html file in the local m/c, it had the complete data of 15000 line items (file size of 26mb).
    Any information on why the file from email is truncated would be appreciated.
    Thanks in Advance..
    Karthik

    OSS note 329537 has solved my problem..

  • Sending Fax via EMail

    Hello,
    Is it possible to send Fax Number via Email through Output Server to MS Exchange? I get the "Underlying mail system has reported problems in accessing post office" error when I try. We can send Fax Number via Outlook no problem. thanks, C.

    Michelle_Hanson wrote: Cheapest Business VoIP Phone Inexpensive Online Fax
    Hi all,
    I use to send faxes from my email. All you have to do is purchase an account from a internet fax provider (i bought from popfax). All you have to do is to configurate your mail agent (such as outlook) and insert the mail of the company, the security code , attach the file and write the numbers (up to 500 of numbers)
    We've used several email fax companies as well and it is a convenient way to email if you don't mind scanning everything first and for many files,if they contain personal info or confidential email, you need to password protect before you can email.  So in many way, a regular fax is more time efficient.

  • F110: Remittance advice via Email/Fax

    Hi,
    I got a requirement from my client if we can work a process to send Remittances via Email/Fax instead of taking the print-outs. This would of course avoid lot of manual work like printing & posting to the vendors.
    Could anyone throw some light on how to customise it as I haven't got a clue (me being a SCM person!!) Also I wonder if I use the fax number on the vendor master for this purpose, will it have any effect in Logistics because we use it for sending schedules.
    Thanks in advance for your valuable ideas,
    Regards,
    Kelly

    Jason,
    Everything seems to be working great, with teh exception that i can't print, we have added BTE 00002050, 00002060m but still no success, can you guide me thru steps necessary?
    to print payment advices for those that will require to print them.
    Thank You,
    Frank

  • Smartform ---- email/fax

    Hi All,
       We have developed smartform  from scratch in PDF. It will trigger from vt02n,The requirement is this generated PDF file should be send thru via email/fax.I want to know the code for this please send me the code and share some ideas.

    <b>1. PDF & Mail</b>
    You need to get the spool of smartform output and convert it to PDF using an FM & then send it as email.
    Please refer following link for a sample program :
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    <b>2. Fax</b>
    Use FM 'PRINT_TEXT' for FAX.
    Pass parameters as follows :-
    Exporting
    DEVICE = 'TELEFAX'  " For printing call the same FM again & Pass printer name
    DIALOG = 'X'  " To get the option of Print Preview along with the fax number on dialog box
    HEADER = POPT
    Importing
    RESULT = PRES " of type ITCPP
    Tables
    LINE = ITAB_DATA.
    POPT is structure of type ITCPO.
    Populate following values in POPT :
    POPT-TDNEWID = 'X'
    POPT-TDIMMED = 'X'
    POPT-TDLIFETIME = 8 "To keep 8 days in spool
    POPT-TDTELENUM = <Fax Number> " Without country code
    POPT-TELELAND = <Country> " Country code
    Best regards,
    Prashant Patil

  • Managing Email/Fax "Reception notifications" in SAP R/3

    Hi SAP devs,
      one of my clients is interested in creating a Workflow for PS in SAP R/3 4.6C that will automate the sending of eMails and Faxs when certain activities (in networks via CN22) are confirmed. The process is as follows: The activity is confirmed via CN22 and then an eMail or Fax (depending on the partner) is sent to the partner. The Workflow then goes on "stand-by" and waits for a confirmation of reception for that eMail/Fax. If after 2 business days no confirmation was received, a workitem is sent the the SAP Inbox of a group. I wanted to know if there is any technology currently available in R/3 that permits the reception of the confirmation and determins which WF the confirmation is for.
    Thanks for your help
    PS: sorry if it's not really clear, I tried to translate it as best I could from french.

    Just to add some clarification to my problem, the sending of eMail/Fax part using the WF I have no problems with, but the reception of the confirmation notification (that the eMail was read by the user or the fax was received by the target fax) is the part we are not sure about. Basically, there can be about 150 WFs on stand-by each waiting for a notification and when one is received, how can the correct WF be told that a notification was received. This is my issue, not the WF process part.
    I hope this is clearer about my issue.
    Thanks for the help

  • How to email reports via SMTP server FORMS AND REPORTS 6i and databse 8i

    Dear All,
    through reports builder reports are build but i need to email reports via SMTP server is it possible in 6i are not?if yes the how please rep asap

    If it will be a scheduled report, you can create a batch file to run report with reqd parameters and generate it's pdf in a oracle directory.
    Then schedule the batch file on oracle database pc, (thru task scheduler if OS is windows),
    Then a email procedure will be required which will pick up the pdf from oracle directory, attach it and send mail.
    Even the email procedure can be scheduled thru oracle job, but the OS batch schedule time and Oracle Job time should be handled as some gap will be needed between the two.
    As for the email smtp procedure with attachments, you can find one in this forum or try googling it.
    Regards,
    Amol

  • ERS Output email/fax to different ID (CONSNUMBER) in vendor master

    Hi Guru,
    I am just wondering if there is a way to change the ERS output to different email/fax ID than the default one in vendor master.
    As a default in SAP, the Purchasing documents ie. PO, RFQ and ERS outputs will be sent to default emial/fax (of course when we set it up to send via fax = 2 or email = 5). The problem here is that SAP will pick up default email/fax in vendor master, however, our business would like to have an ability to send ERS outputs to different email/fax ID (CONSNUMBER).  Currently it is only sent to FLGDEFAULT address.
    If we change the default, it will change all other documents as well. We only want to differentiate ERS output and leave other docs (PO, RFQ) to use default setting.
    Is there any enhancement spot or exit that can help achieve this?
    Please advise.
    Cheers
    BJ

    Hi All,
    Found where to put our codes in to cater for this requirement ==>LMRMNF01 - Form Routines for SAPLMRMN - Logistics IV: Message Control.  It works wonder. Hope that will help others.
    Thanks.

  • Imple mail v/s Email Fax functionality in message output determination

    Can someone tell me what is the difference between simple mail functionality v/s email fax functionality in output determination ...
    i have  a reqmt from client as follows
    1. A document neeeds to be sent to multiple email addresses and multiple faxes.
    also the document that we sending thru mail /fax shud be stored in oyr SAP system for records .
    Distribution lists is an option , but can i also use this functionality to send document via faxes ..but distribution list can only be set up for simple mail functionality ..
    Second , i donthave an option of maintaining group email id in master eg vendor master as , this functionality if sending the Agency Business documnet (ABD) to multiple email address is only for ABD ...
    However other documents like PO will be required to be sent to only someone in specific...
    Regards ,
    Madhavi solanki

    Hi,
    If you are using Simple mail functionality you can provide multiple mail ids (to whom you want to send the mail) during condition record maintenance.
    Where as in case of email - for ex: to send PO to vendor via email, you can maintain the output medium as email & system will pick the email id from the vendor master.
    Hope its clear.
    Thanks & Regards,

  • Faxing via internet

    Hi,
    I am new to this board and although I have been using Macs since 1986 and can replace parts etc, the OS and Internet connections are a mystery to me.
    At the moment my emails are routed from my G5 via a broadband router serving many computers where I work. At home I have a broadband internet connection with BT.
    My problem is that my 15 year old fax machine has finally died and I was thinking of faxing via the internet for which I presume I would need an internal modem.
    My questions are: 1. would I need a separate internet account for my G5 at work or could I use the same account that I use at home.
    2. I have an apple modem in my old blue G3, would this fit and work in my G5.
    best regards
    webntweb

    www.efax.com

  • Fax via mail?

    Does the Mail application have an option to send faxes through it? If so, how?

    You can fax an email message via the Print command.
    Select Print for a message and select the PDF button at the bottom left of the Printer selection window.
    At the menu window that appears, select Fax PDF.
    At the modem selection, select your internal modem. You can use a cover page and to the right of the To field, select the contact icon to view and select from Address Book contacts if needed.

Maybe you are looking for

  • Hi,Thanks for your answers... could u please tell me if we have interfaces

    Hi... Thanks for you answers... Could u please tell me if we have interfaces,then how to find their technical names? its urjent issue. Please reply fast.. thank you, Regards, Rekha....

  • N96 update - SOS

    Hi everybody. Sunny greetings from Portugal. I just tried to upgrade firmware on my N96 and in the middle of the update got the message that the operation failed. Even the Recover option failed. So I tried to turn on the phone and got a black screen.

  • Camcorders/Video Cameras recommendationsfpr FCP or FCE

    I wish to buy my daughter a Camcorder/Video Camera suitable for use with Final Cut Pro/Final Cut Express. She is doing Film Studies A level at the present, and her school uses FC Express. The Uni she wants to do Film Studies at, uses FC Pro. She is a

  • How to Print Euro Currency Symbol

    Hi All, Please suggest how to Print Euro Currency symbol in SAP Script. Thanks Saurabh

  • HCI Mapping leading Zeros

    Hi,  I am mapping product_ID field from CRM IDoc to ReceiverID field in Cloud for customer web service field. ReceiverID is 40 character long field. Product_ID field is 7 to 10 characters long. I would like to append leading zeros using HCI function.