Send Smartform Email via Action Profile

Hello,
We have an Action Profile with a few actisn athat a workign perfectly.  I have added a new action to send  smartform via email when the the transaction is saved.
The Action profile is set upfor object type BUS2000115(Quotation) with the context class of CL_DOC_CONTEXT_CRM_ORDER.
I have set up the Smartform Email action processing as follows:
Permitted processign type fo Action - Smartform Email
Mail Settings:
Form Name                       YC3_SF_CRM_COMM_QUOTATION_V7
Processing Class              CL_CRM_BP_UM_PROCESSING_PPF
Processing Method           UM_EXEC_SMART_FORM
Archive Mode                    Mail only
there is no schedule or start condition as it is not required.
When I Save the Quotation nothing is getting triggered.  If in the Quotation I Preview output and select 'Email Quotation; I get the message 'Smartform Error'.  Is there a way to debug the message further ?  I'm assuming this is the SAP standard method of achieving Smartform email as Pdf attachment, are some steps that I have missed ?
Regards
Chan

The Processing class and Processing Method seem to be incorrect.
Use the below;
Processing Class  : CL_DOC_PROCESSING_CRM_ORDER
Processing Method: CRM_ORDER_EXEC_SMART_FORM
You can always refer to standard action profile for Quotations to see what SAP has delivered.

Similar Messages

  • Smartform Mail Sending via Action profile

    Hi,
    we have a big problem, because our sended emails going into customers spam filter. We hava SAP CRM 5.0 and we send the emails via action profile.
    For that we use the standard for sending smartforms via action profile. Follwing problems are occured:
    1) email recipient is fill only in the cc field, not in the to field of an email
    2) the subjet ist the sam as the dcument name
    3) the emial is sended without text only whith attachment
    So my question are:
    how can i customize that the email is wirtten in the to field and how i can change the subject of this mail.
    Is ist possible to add a text to the email? Maybe not, but than we could add a disclaimer in the mail hub - so my firts questions are more importent for me.
    Thank you for your help
    Stefan

    Hi,
    To manipulate the subject Refer   Note 895550 - Name of Smart Form used as e-mail subject 
    Im not sure why the email recipient is in CC instead of To. Please check your Action settings. How are you determining the recipient? if it's by partner function, it should automatically be filled in To field.
    Smartforms can be sent either as Text or pdf attachment. This is controlled globally in SMTP settings in SCOT. I believe you can choose attachment option and also add some text by manipulating the Action class.
    HOpe this helps.
    Shaik

  • Send smartforms via email using action profiles

    hi,
    i am trying to send smartforms via email using action profiles and i would like to know if anyone has any document or know any steps to do the same. i have created the smartform and i created the action in an action profile. i selected the option "Smartforms Mail". and i have mentioned my smartform in it.
    I have previously worked with action profiles to trigger workflows which sent a mail. That was relatively easier as i could mention that the mail be sent to my mailbox. But in the smartforms option, i dont know how to give the instruction that it be sent to my mailbox.. is there any place i can set it? The action is not person dependant and is done whenever saving a document.
    Please guide.
    Thanks,
    Nisha

    Hi Nisha,
    As u worked on Action profiles, i recommend u use action profile with permitted Process type as Smart Forms Mail to send the mails which contains the data in Smartform u created.
    Use below mail setting
    Form Name              (u r ZSmartform)
    Processing Class      CL_DOC_PROCESSING_CRM_ORDER
    Processing Method    CRM_ACTIVITY_EXEC_SMART_FORM
    Archive Mode            1 Mail only User
    In Action definition details u can mentioned the Processing time, Partner dependent for action to who u want to send the mail, further in action condition using schedule and start condition u can set the criteria to mail trigger.
    Hope it'll help u.
    Regards,
    Dipesh.

  • Sending an email via AppleScript and Dialogue Boxes

    I am trying to write a script to send an email via Mail of which the body of the message is from a dialogue box. I decided upon using Automator and AppleScript. I have, so far, the following workflow:
    1. Run Apple Script:
    set mypass to text returned of (display dialog "What are you doing?" with icon 1 buttons {"Tweet", "Cancel"} default button "Tweet" default answer "")
    2. New Mail Message.
    3. Send Outgoing Messages.
    4. Run Apple Script:
    on run {input, parameters}
    tell application "System Events" to set visible of process "Mail" to false
    return input
    end run
    I wand this workflow to allow the user to input an answer and this answer to be in the message field of the email. I can use the "Ask for Text" action in Automator but it does not allow for any control over the appearance of the dialogue box. The first script returns the result "<whatever is typed>" (ie. "Test") in the Results field below the script box, as does the "Ask for Text" action but it does not insert it into the message. Does anyone know what is going wrong here?
    I am relatively new to AppleScript which is why I am using Automator but would like any information on how this could be done entirely in AppleScript. My previous attempts at sending email using script was unsuccessful.
    My aim is to save this as an Application with a proper icon.

    see my reply to your post in the snow leopard forum.
    http://discussions.apple.com/thread.jspa?messageID=10318297&#10318297

  • Unable to send out emails via outlook express since 06/29/2010

    Task '[email protected]" - Sending' reported error (0x80042109) : 'Outlook is unable to connect to your outgoing (SMTP) e-mail server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).'        This is a copy/paste of error message from Office Outlook  2003
    Our household has been unable to "send" outgoing emails since 06/29/2010.  This includes a wireless laptop and a PC. We both lost the ability to send emails same day.  We changed NOTHING and did not share emails with each other that would have corrupted our system. During this time I have had 2 Verizon techs dance around in the PC doing all the same things I did as well as what  the automated assistant did.  The last tech said the Outlook Express 6.0 was corrupted, and to unistall it and then reinstall;  this time 2 hours later, I think he just gave up).  That did not work either.  I tried using the Outlook Office and still got an error message for outging. Everything is set up as it was when it was working until 06/29/2010.  I was told that there was a new server being installed and that things wold be working by 07/02/2010... I have tried taking down the firewall, turning off virus protection (McAfee), changing from outgoing.yahoo.verizon.net to just outgoing.verizon.net, checking boxes, unchecked boxes. SMPT is set to 587.  We get incoming fine.  I hate using the "Verizon email site" as too much monkey motion to get to mail, but that's what we have been doing.  I even tried setting up a GMail account, again got mail still could not send.  Any ideas?

    Thank you for your response!  I even tried sending an email via dos prompt  with Telnet, got past "HELO", but when trying to get a  "RCPT TO"  (using outgoing.yahoo.verizon.net)  I got an "authorization required" response and then was dropped.  I have been passed around without a solution. I am about ready to change ISP, but really hate to as most of the time (years now) this has been a decent ISP. If Verizon is having a problem just say so, I can handle it, honesty would be nice, refreshing and not wasting so much of my time as well as the techs!

  • Sending external email via SAPCONNECT

    Hi all,
    I want to know how to send external email through sap.
    Thanks in advance,
    Manosh.

    HI,
    Try this  code:
    *& Report  ZSENDEMAIL                                                  *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT  zsendemail                    .
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default '[email protected]' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_receivers
           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.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • I cant send an email via UTL_MAIL : ERROR NO 530

    hi .. i want to send an email via UTL_MAIL package. I am using ORACLE XE 10g.
    I am trying this code :
    declare
    i INTEGER;
    BEGIN
    UTL_MAIL.send('[email protected]','[email protected]',NULL,NULL,'DENEMEKONU','DENEMEMESAJ',NULL,NULL);
    END;
    then, i encounter this error:
    ORA-29279: SMTP permanent error: 530 5.7.0 Must issue a STARTTLS command first.....
    I made settings of smtp mail with:
    ALTER SYSTEM SET SMTP_OUT_SERVER='smtp.gmail.com';
    But i am getting this error consistently.
    How can i solve this problem, thanx.

    Hello Kadir,
    any errors, NDRs, logs that you could provide? How do you know the messages are not getting trough to that address?
    Regards,
    Andreas

  • Smartforms Triggered as Email (PDF) Via Action Profile, How To Set sender Details??

    Hi all,
    Me sending service Quotation to customer as email by using action profile. problem facing here is, while sending email, sender name is going sy-uname so i was trying to set some default name in From address of mail body. Actually standard class and method which i used for this process is  "CL_DOC_PROCESSING_CRM_ORDER=>CRM_SRVORDER_EXEC_SMART_FORM" . In this method signature is_mail_sender is empty while processing and this parameter is used as importing parameter while calling FM "Function_Name" . Can any one give me some idea how to do this  customization.
    call function function_name
              exporting
                   archive_index        = is_archive_index
                   archive_index_tab    = ct_archive_index_tab
                   archive_parameters   = is_archive_parameters
                   control_parameters   = control_parameters
                   mail_appl_obj        = is_mail_appl_obj
                   mail_recipient       = is_mail_recipient
                   mail_sender          = is_mail_sender
    Thanks all,
    Anbu

    Hi Anbu,
    I believe note 573736 content will help you
    Kind regards,
    Garcia

  • Sending an email using action in complaint transaction

    Hi,
    I am using complaint transaction. I want to send an email to employee responsible. Initially I create and save the complaint transaction. After saving it, i open the transaction again and change the employee responsible at that time the email should go to new employee responsible.
    Can you please the list of steps to be followed.
    Thanks

    Hi Vinay,
    You can use action defintions to send emails to your employee responsible.
    for that pls check action profile 'Order_Messages' and within this, action definition
    'ORDER_CONFIRMATION'.
    Check in there. Partner funtion is assigned to it, in second level customizing and smart form to be mailed in third level customizing.
    Prerequisite: emails should be maintained in BP master.
    For your requirement you can  do following settings:
    In second level customizing(i.e. selecting the action definition and double click on the same)
    Enter the partner funtion of Emp. responsible. in 'Partner Determination for the Action' Details. and check 'Partner Dependent'.
    Secondly, in details for 'Action Determination and Action Merging' in 'Action Merging' details select 'Max. 1 Unprocessed Action for Each Action Definition.
    Save the settings.
    Schedule the actions using action scheduling.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Sending an email via mailto: URLs

    Hi all,
    is it possible (and how! :) ) to send an email from within a JAva application using the 'mailto:' URL in order to use the locally installed email client?
    What I need is to be able to use the local mail client to send an email with an attached file and a return receipt from within my app.
    Any suggestions?
    TIA,
    Luca.

    Since you want the return receipt, then you have to have a place for that return receipt to be returned to. If you are just "bouncing" a mail off of another application, you do not have a return path to recieve the receipt.
    The "bouncing" mail off of the local client is not doable with the mailto--if you try a mailto link it opens your local client with a pre-addressed mail (if you are lucky).
    You need to use the Java Mail API.

  • Sending an Email via ColdFusion as a Service leads to ActionScript-Error "Server is undefined to setup the connection"

    Hi,
    Ben Forta shows in his video "ColdFusion9 exposed as Flex Services" how to send an Email using ColdFusion as a Service.
    I tried out this example with Flashbuilder4 Beta2 but I got the following ActionSript-Error:
    Error: Server is undefined to setup the connection
        at coldfusion.service::BasicService/initializeConnection()[D:\p4\depot\ColdFusion\cf_main\to ols\AIRIntegration\Services\src\coldfusion\service\BasicService.as:278]
        at coldfusion.service::BasicService/call()[D:\p4\depot\ColdFusion\cf_main\tools\AIRIntegrati on\Services\src\coldfusion\service\BasicService.as:226]
        at coldfusion.service.mxml::Mail/execute()[D:\p4\depot\ColdFusion\cf_main\tools\AIRIntegrati on\Services\src\coldfusion\service\mxml\Mail.as:370]
        at CFaaS/button1_clickHandler()[C:\Dokumente und Einstellungen\walter\Adobe Flash Builder Beta 2\CFaaS\src\CFaaS.mxml:18]
        at CFaaS/___CFaaS_Button1_click()[C:\Dokumente und Einstellungen\walter\Adobe Flash Builder Beta 2\CFaaS\src\CFaaS.mxml:93]
    Who has an idea what to do?
    Thanks in advance,
    Walter

    Hi,
    We tried this out and it works like a charm
    Actually even we hit the issue you have mentioned but on further investigation we could get things working.
    Please follow these settings, we are not sure if you have done all of these:
    a) In CF9 administrator, under Mail section please type your server name, username and password. Check the ' Verify mail server connection'
    checkbox and click 'Submit Changes'. Make sure you get the message 'Connection Verification Successful'.
    b) Under Security-> 'User Manager' section in CF9 administration,  add an user using 'Add User' with the following info:
    username, password, confirm password , check both RDS and administrative access and add 'Exposed Services' by selecting the required services.
    eg: Mail Service and click 'Add User'.
    c) Go to 'Security->Allow IP Address in CF9 administrator and enter your IP address and say 'Add'.
    d) After add the following tag in addition to CF:Mail,
    <cf:Config  cfServer="" cfPort="8501" servicePassword="" serviceUserName="" />(the values entered here should be same as the ones configured under 'Add User' and 'Allow IP address' section).
    Please find attached the mxml file (TestCF.mxml) which has the Flex code.
    Also, add the 'CFService.swc' into your project. Go to  Project->Flex Build Path->Add SWC and point to D:\ColdFusionCentaur\wwwroot\CFIDE\scripts\air (subject to CF9 installed location).
    Please try the workflow by following these steps and let us know if things work fine
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • Error 1172 occurred when sending smtp email via labview

    I found these two useful vi example to send smtp email using Labview:
    http://decibel.ni.com/content/docs/DOC-7451
    http://decibel.ni.com/content/docs/DOC-2401
    However, I got error 1172 saying "No connection could be made because the target machine actively refused it 74.125.91.109:587". I'm using gmail to send emails and pretty sure that all the settings in the VI are correct. According to http://mail.google.com/support/bin/answer.py?answer=13287, I tried both 587 and 465 as the port, and nothing would help. 587 will give the 1172 error and 465 will hang the vi for a while after stopping it. This 1172 error is unlikely due to the suggestion from the 2nd link, "Note: If you receive Error -1172 with this example, try logging into the Gmail account with your browser.  This error can occur with Gmail accounts that have been inactive for a period of time.  You must log in with a browser and verify CAPTCHA text to reactivate the account." because the error kept on even when I login to my gmail account.
    I got myself a solution from http://stackoverflow.com/questions/2737823/unable-to-send-smtp-mail-with-net-network-issue, which says to turn off the antivirus software. I turned off McAfee on my PC and it did work. Now, I'm able to send email, even when I log out my account. However, I'm not happy since I have to keep my antivirus off. My question is, is there any way to walk around this issue? i.e. being able to send email with antivirus on?
    My 2nd question: how to send message to multiple recipients? The string array to the "recipient" does not work, and the form of "[email protected];[email protected]" does not work neither. Do I have to create multiple property nodes for the recipients or better way to do it?
    Many thanks 
    Message Edited by holyna on 06-14-2010 11:34 PM

    Hi Bhuvanesh,
    I noticed that the original thread here hasn't been updated in over a year. In the future, it will be helpful if you begin a new topic for your issue.
    I will first address your second question concerning sending SMS messages using LabVIEW. The only way LabVIEW can send an SMS text message is by passing an e-mail to the appropriate SMS gateway service. This gateway will vary by cellular provider. You will need to obtain the SMS gateway service information for each carrier you wish to push text messages to. 
    As far as the error you are receiving, we will need more information in order to narrow down your problem. What is the exact error message you're receiving? Are you receiving "1172: No connection..." or some other variation? A screen capture of your code would also be very useful.
    Regards,
    Andy C.
    Applications Engineering
    National Instruments

  • Need to send an email via workflow if a field changes

    Hi,
    so I have this field called temination date in an infopath 2010 form. When (if) a user changes that field, I need to send an email out to other users, but I can't figure out how to do it, I have tried making another field called temination date before, but
    the problem I am having with it is getting it to populate. I should say that the field temination date before was just a regular list field, not an infopath field, not sure if that matters.
    any help at all would be greatly appreciated
    Best regards, Mike

    Mike,
    From your description, here is what I understand.
    Your InfoPath form saves to a form library having 2 columns Termination Date [Date and Time data type, promoted from InfoPath Form] and Termination Date Before [Date data type, created on Form library].
    On save[submit] of the form, a workflow [created using SharePoint Designer] triggers, with the below logic.
    If CurrentItem.Termination Date Before  is blank Then assign the Termination Date to Termination Date Before
    else send an email Termination Date changed from Termination Date Before to Termination Date, set Termination Date Before to Termination Date 
    Is the difficulty you are facing is when you assign Termination Date to Termination Date Before?
    As Ram suggested, can you try modifying your workflow logic with just as : log to history list CurrentItem.Termination Date, change the termination date and save the form, verify the workflow triggered, verify the correct value logged to the
    workflow history list by opening the workflow instance from items workflows?
    -- Shan

  • My N9 can't send a email via using icloud smtp ser...

    I follow the guideline from iCloud mail server information to setup email account, but every time i was trying to send an email, a pop-up message show : 'Can't connect to SMTP server :" smtp.mail.me.com" or it doesn't exist '. Everyone can help me to configure out why? Thank you so much!

    N9 imap mail sending does not work with .mac/.me (iCloud) mail. I have these settings (automatic and also manually set from Apple page).
    Mails stays at outbox with smtp server error (lates N9 update)
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    http://support.apple.com/kb/HT4864

  • Sending work emails via orange livebox

    Ok...i have a major headache. I am using an orange wireless livebox to connect to the internet while at home (which works fine). The problem i have is that i can not send work emails from home. I should imagine it has something to do with the outgoing server address being different in work to home, but even when i manually put the orange outgoing server add in preferences, the mail wont send. Does anyone else have this problem as it is doing my head in now. I was using ntl for my broadband up until i switched to orange and had zero problems with this work email from home...Why on earth would it be so different now? And yes, i have just phoned orange and had to spell out my complaint to an Indian lady who didnt understand me anyway!...Im losing the will to live here. HELP HELP HELP

    Ahh yes, im sure i can get it to work by putting in the orange outgoing server address, but its so frustrating. It worked perfectly with NTL from home before...I just dont understand why orange have to be so different.

Maybe you are looking for

  • Error message when installing updates. "There was an error in the App store. Please try again later" (20)

    I've been trying to install recent updates for numbers, pages, and keynote, I get a message that says "There was an error in the App store. Please try again later." (20).  I tried several times over the last few days and continue to get the same erro

  • My iPod Classic will not synch fully.

    I have downloaded the  latest version of iTunes onto my new laptop (Windows 8, dont know if that makes a difference), library was all there as its all floating up the clouds somewhere but on attempting sync with my iPod Classic its only synching 1600

  • 30" Cinema Display P/S Extension Cable

    Has anyone here heard of an extension cable to allow the power supply ( 'brick' ) to be located anywhere else besides the end of the cable that comes out of the back of the Display itself? It has a magical connector that nobody I've talked to seems t

  • Error code = 0x20030055

    Im trying to open PDF files into Photohop cs3 but it comes up with error code = 0x20030055 and i cant find anything online to help me fix this error, thanks

  • Application Manager Download Freezes

    Hello, I am downloading application manager then opening it up... it gets about 10% of the way done and then just stops and I get error 'A12E5'. What can I do to fix this? Thanks