Doubt in smarform email/fax

Hi All,
   Actually I have developed smartform runnning from the standard transaction like vf02 ,vt02n etc..using Nast strucutre.
But now the requirement is we need to run the smartfrom from SE38. That too pgm is already there but we need to put the functionality for email/fax.
Can any one please send the prgoram how we need to do
whether we need to populate the mail_sender & mail_recipient objects in the smartform FM.
whether this FM can be used or not
WFMC_PREPARE_SMART_FORM
Please send the some sample programs.

hi Arun,
here by i am attaching a link which can help you to send the form as PDF to mail.
analyse the code and use similar type of function modules what ever u want.unfortunatly i lost program what i have did for the same problem so i am sending a link which helped me in making the program.
http://sapdev.co.uk/reporting/rep_spooltopdf.htm
odnt confuse with all the code.take neceesary code.and leave the remaining.
reward me if helpful.
your piont is valuable for me.
thanks,
gupta pullipudi
Edited by: gupta pullipudi on Apr 15, 2008 6:42 PM

Similar Messages

  • Running a ALV Report in bakcground and sending it to Email/FAX

    Hi,
         I am designing a ALV report to send a email/fax/Printer which has to be run in background or foreground according to selection screen inputs.
    I am doing the following
    1. After generating ALV report, converting it to pdf
    2. Sending Email or Fax or Print from selection screen value.
    3. after that scheduling in background using JOB_OPEN and JOB_SUBMIT FM's.
    Can I use SO_DOCUMENT_SEND_API1 FM for both Email and Fax.
    When I schedule the report in the background using JOB_OPEN, at which point I have to code it inside the report. Is it after I generate the ALV Report and Email sending code or before it..
    Thanks

    Hi
    How did you end up doing the emailing? I have the same task.....

  • 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

  • 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.

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • 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.

  • Automated email to buyer, when email/FAX fail to vendor for a PO

    Hi All,
    If an email/FAX failed to transmit to the vendor for a PO, will there be a way (method) to give an email notification in buyer's inbox ??
    Please provide details.
    Thanks!!
    Vivek.

    Issue resolved
    Thanks !!
    Vivek

  • 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,

  • 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

  • Communication method (email, fax, phone) in standard ICWC?

    Dear Expert,
    My user would like to capture the method of communication between call centre agents with caller (either through email, fax or phone). Is there any field on ICWC that captures such info? If not, would it be possible to customize?
    I'd appreciate your feedback.
    tqvm,
    HJMY

    Hi There,
    The contact method should be captured in the interaction record which is stored in the CRM system. Different transaction types can be customized to default the contact method - then that transaction type is created with a particular channel.
    Sincerely,
    Glenn
    Glenn Abel
    Covington Creative
    www.covingtoncreative.com

  • 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

  • Payment advice via email/fax

    Hi gurus,
    Currently i am working on soem enhancement related to FI payment advice ,tobe send thru email(if email number exists)or fax(if fax exists)otherwise i have to print that advice which will be in sap script format.For this i need to enhance the FM SAMPLE_PROCESS_00002040 .I am not having any clue to do from  this FM.Can anybody already worked on this type of enhancement pls let me know how shud i do and if anybody know have the coding of FM's pls reply me asap. Its an urgent requirement for me.
    thanks,
    anil,,

    HI mruthyun/anderson
    I am sending my detail requirement..pls go thru it..
    Requirement:...
    Upon creation of payment media (via execution of programs RFFO* and variants as specified in transaction F110 and F111) the associated payment advice should be sent by:
    a) Email (if Email address present)
    b) By Fax (assuming Email address is not present and a fax number is present)
    c) By print (assuming that neither an Email address or fax number is present).
    Note 1: Payments advice notes will cover the following groups of business partners:
    3rd party vendors
    Intergroup vendors and Intragroup customers
    Employees
    Customers (refunds for example)
    Note 2: The Email and Fax number will be taken from the address screen of the vendor and customer masters. There are legitimate reasons why multiple Email and Fax numbers need to be maintained in the address screen, typically there may be one or several entries for logistics reasons (to support sending of sales orders, billing invoices, purchase orders etc) and another entry to support finance reasons (e.g. this CIP dealing with sending of payment advice notes). With respect to multiple entries a default must be specified on the address screen, the default is important as this is the entry that is copied into the logistics documents (sales orders, purchase orders etc) and subsequently used for transmission (assuming an output condition record has been maintained to support Fax/Email), the default can be manually changed in the logistics documents (but typically this is something that is only done on an occasional basis). When adding an entry for finance reasons the default for any existing entry should not be changed as this would have a potential impact for logistics (this is no doubt already clear to the person/group that maintains address data given that multiple entries already exist). If the Email address or Fax number is the same for both logistics and finance then a separate entry is nevertheless required and the “notes field” for the finance entry should contain a description containing at least the word “FIPAYADV” in capital letters in order that the payment advice BTE (business transaction event) can identify the entry as being relevant for “Payment Advice” and select and use it accordingly.
    Note 3: It is assumed that a fax cover sheet is not required for the fax option.
    Note 4: It is assumed that the standard SAP Email description of the file meets requirements, this format is “Payment advice note from XX.XX.XXXX” where XX.XX.XXXX is the date upon which the payment advice is sent.
    Note 5: The basis team will need to be informed of all users ID that execute F110 or F111 and they will need to be provided with their respective Email address in order that the data is maintained under transaction SU3. The SU3 Email address is used as the sender address, should the SU3 entry not be maintained then SAP will generate and use an Email address for the sender which will be in the following format Adrian Foster ([email protected]) where user executing F110 or F111 was AFOX06.
    Note 6: This CIP deals with method of transmissions and not whether a payment advice note should be output or not. If there are requirements to limit the issuing of payment advices notes for certain payment methods (J, 7 etc) and/or company codes these should be limited via the RFFO* variants or alternatively not limited but instead output to a dummy printer or dummy Email address.

  • Vendor report which gives the detail of vendor #, email,fax etc...,

    HI,
        Is there any report is SAP which gives us the details of vendor number, Fax number, email, alternate payee.
    or is it suggestable to have a customized report for this.
    Can anybody have anyidea on this.

    hi,
    /n --->accounting --->financial accounting --->account payable -
    >infomation  -
    >reports for a.p accounting  -
    >master data
    s_alr_87012086--vendor list
    in that give from vedor account no 2 to ac number
    select adress & telecom
    assign points if useful
    with regards
    santosh kumar

  • How to change email/fax number retrieval logic for output...

    Hi,
    In my requirement, for sending the output by fax / email, for e.g. take certificate of analysis, the customer master data is checked and the data mentioned there is used to send the output. In addition, in customer master transaction XD01/XD02 I see an additional tab called contact person which has information of each contact person along with their department numbers and fax num and email ids.
    In ADR3 I noticed that these are stored.
    In short
    In XD03,  under address tab a fax num maintained which I do not want to use. Rather,
    Under contact person tab , the entry which has dept number as say A100, the associated fax num is the one to which I want the COA to be sent.
    Where exactly is the code that reads these entries and determines the fax number and email ids to which the output needs to be sent ? May be there I need to change the logic to include a check such that entries that have dept as A100 will be checked and those fax and email ids will be selected and set.
    Or if there is any other way this can be achieved, pl advise.
    thnks

    Senthil,
    The COA trigerring works fine. The delivery for  which PGI will be done and then COA will be sent that has the output configured such that Fax will be sent. In SOST I can see the entry which shows the fax num as say 787878.
    But this was the number found in the ADDRESS tab in XD03 for that ship to partner. I do not want that fax num to be used. I want the fax number that I enter in an additional tab and which is stored in KNVK and ADR3 tables.
    So once SAP determines it has to fax the COA , SAP shoud be reading the ship to pary fax num, right ? Where is that code in standard SAP ? Bcos I need to change the logic to read somwhere else !! Hope you are able to follow me now ?
    thnks

  • Email/Fax/Print

    Hi Gurus,
    My client want to send the PO by email, it it fails- send by fax, if it also fails- send to vendor by taking print of this PO.
    I know how to get  print .
    Also get the info about sending fax or sending by email.
    but how to fulfill above requirement.
    Pls guide.
    Regards
    Ramu

    Thanks for reply.
    but how to control condition record..?
    If I maintianed as 'Medium' 1 ->Printout : takesplace.
    Pls share your opinion.
    Regards
    Ramu

Maybe you are looking for