Mail title in Actions

Hi All,
When I send a mail through Actions in my activity "After Sales" the mail received by my customer the subject is the name of the smartform "ZAGREEMENT". But I need the smartform desc to be the subject of the mails.
I have checked some notes but am unable to proceed.
In Action Profiles I have maintained :
Processing Type of Action       External Communication
Form Name                                ZAGREEMENT
Form Type                                 Smart Forms
Format                                       CRM_ACTIVITY_EXEC_SF
Personalization Type                 Recipient-Specific Variable Replacement
I have created a class ZCRM_ACTIVITY_EXEC_SF to update Tdtitle in *s_output_options but the effect is NIL.
Can you tell me how to change the title by creating Z class and also can we do it by method of some customizing.
Regards,
Anuradha

Hi Naresh,
    I have similar problem as you answered... Here my doubt was How do you populate &VBKD-BSTKD& / &VBAK-VBELN&
fields... if it is system fields (like date time and user) its picking up... But values &VBKD-BSTKD& / &VBAK-VBELN& are not getting populated....
I gone through the help but its saying as below..
Use
    When faxing or printing, you can use parameters in the title, which are
    then evaluated when the document is sent.  As a result, the sent
    documents can be identified more easily, for example, if you have
    specified the document number as a parameter.
    If you send faxes via SAPconnect, the title appears in your outbox.  If
    you print the message, the title appears in the spool list.
Dependencies
    Parameters have to be evaluated by a special program with form routine
    (Exception: System fields, such as SY-UNAME or SY-DATE). You specify the
    <b>program and form routine in the correponding fields in the tab page
    General data.</b>
Could you please help me on this....
Rayudu

Similar Messages

  • Send mail through dynamic action, but the subject line and content is blank

    Hi all,
    I'm facing one problem on sending mail throught dynamic action.
    Whenever a new employee is hired, the system will trigger a mail to the administrator.
    The mail can successfully reach the email address. But the title and the content of the mail are missing. I can receive an email with a PDF attchment. But when I open this PDF file, it's blank inside.
    In t-code "SO10", I created a new mail text with name of Z_MAIL, for my mail, insteading of using the SAP standard one.
    When I using the SAP standard mail text, it works and I can see the content. But even I copy and paste the exact the content of the standard one to my own new mail text, it will not work.
    And I have to use my own customized mail text. So, is there any one knows about this issue? Any more setting I should do? Or is there some tricks?

    Hi,
       I feel that something will be misiing in the coding.Even i faced the same problem earlier.for me it was text file as an attachment ,file was receiving but no data...the problem was i forget to add one option in objpack-head.
       R u using the FM - SO_NEW_DOCUMENT_ATT_SEND_API1??
    If so pls C the below codes for text file as an attachment.
    DATA: objpack LIKE sopcklsti1 OCCURS  2 WITH HEADER LINE.
      DATA: objhead LIKE solisti1   OCCURS  1 WITH HEADER LINE.
      DATA: objbin  LIKE solisti1   OCCURS 10 WITH HEADER LINE.
      DATA: objtxt  LIKE solisti1   OCCURS 10 WITH HEADER LINE.
      DATA: reclist LIKE somlreci1  OCCURS  5 WITH HEADER LINE.
      DATA: doc_chng LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
    Creating the document to be sent
      doc_chng-obj_name = 'MESSAGE'.
      doc_chng-obj_descr = 'ZHRI_GARN_EPC_COMM'.
      objtxt = 'Program ZHRI_GARN_EPC_COMM has been executed successfully'.
      APPEND objtxt.
      objtxt = 'Error records passed to BDC session XPHRGARN01'.
      APPEND objtxt.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Creating the entry for the compressed document
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'RAW'.
      APPEND objpack.
    Entering names in the distribution list
      LOOP AT se_tech.
        reclist-receiver = se_tech-low.
        reclist-rec_type = 'U'.
        APPEND reclist.
      ENDLOOP.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          contents_txt               = objtxt
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
    Hope this will help u.
    Regards,
    Manoj.

  • Problem in sending mail through dynamics actions

    Hi Friends,
    I have a problem in sending mail through dynamics actions . In this  we pass a subroutine in dynamics actions which send an mail when promotion action occured.
    Problem is that sometimes it will  send an mail or sometimes not. I have no idea to solve this problem.
    Can anyone suggest me .
    Thanks ,
    Anish
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Sep 5, 2011 9:45 AM

    Hi,
    Check that all the bindings have been done in proper way as it is configured.. Try to do the binding manualy..This could also be the problem..
    thank You

  • Po Mail Title and texts

    Hello,
    Can you please suggest if it is possible to change mail title for a amended PO as 'Purchase Order Amendment' whenever a change is done to PO and then the output message is reprocessed?Any advice would be greatly appreciated.Thanks.
    Kind regards,
    Pinky

    Hi Pinky,
                 Yes it is possible.The change can be made from the process you are mailing the person.it may be work item or may be specified in any other process from where you have configured the mail.Please check the process.I am sure your query will be resolved.
    Have a best day ahead.

  • Mail Title for Output Type

    Hi,
    I have created an output type which needs to send the invoice through mail. I have written a custom program to do this. Every thing is working fine. But the problem is with the Mail Title. I mean subject of the mail. I have given -- Invoice &VBRK-VBELN& as the mail title in the outtype definition. It is working fine for all invoice. But when we cancel an invoice and if we try to send the cancelation document, it is not taking the cancelation number as invoice. Inseted it is taking the first invoice number as the invoice number. This problem is only with the subject line of the mail. But the pdf document which actually contains the invoice is showing correct Invoice number and details. Which means there is no problem with the program. And when we try to create an invoice for the cancelled invoice again, at that time the subject doesn't have any invoice number.
    Please help me out in solving this problem.
    Thanking you inadvance.

    if your mail title is set up to be 'Invoice &VBRK-VBELN&' and is coming out with the wrong number it must be because your program has this other number in VBRK-VBELN! What you could do is change your mail title to use a work variable or field symbol, eg instead of &VBRK-VBELN& use &W_invoice&...then change your program to determine which field has the correct number and move or assign that to your work variable/field symbol, you'll have to search for available variables in your program so that the work variable gets populated properly in each case.

  • How to change Approval mail title

    Dear all,
    I want to change approval sc mail title. So I changed Task 10008126. basic data-->work item text..
    but still is old text after I get notification of shopping cart approval of email .who can tell me...how to active new text?
    Thanks a lot.
    Alice
    Edited by: Alice Bush on Jul 8, 2008 11:03 AM

    Hi.,
    Yes you  need to change the work item text(Task 10008126) only for custom title for approval work item of SC.After saving the chnages,just execute transaction SWU_OBUF.This will update the changes made at the task level and you should be able to see the changes.
    BR,
    Disha.
    Do reward points for useful answers.

  • Mail Forms through Action Profile

    Hi Experts,
    In one of the business requirement we need to trigger the Mail froms to users & customers with survery & questions attached to the mail form.
    Can we trigger this Mail form using Action Profile? Or Is it only the smart forms that can be triggered using Action Profile?
    If mail forms can also be triggered can you please explain what configurations need to be maintained?
    Hoping to find a solution here.
    Thank you in advance.
    Rgds,
    Sai Srinivas Ivaturi

    Hi Sai
    Typically a Mail Form can be triggered from an Action attached to a Business Transaction.
    The Action Profile is configured with the Transaction Type standard maintenance via SPRO-IMG.
    Action Profiles and Actions are configured under SPRO-IMG for CRM "Basic Functions-Actions".
    You will need to create/adjust an Action Profile and an Action within this to meet your needs, then Define Conditions for the Action to be triggered.
    Refer to SAP Help for more content on this, you can also refer to the Best Practice guides for SAP CRM as they step by step logic for setting up.
    Regards
    Arden

  • Mail title in output type

    When creating Output type (for email), Is there any way we can set Mail Title to pick the value for the relevant run .
    eg if PO 1234 is created , then the mail title sould pic up PO <whatever value> and Date ?
    Thanks,
    Rayudu

    In mail title i included as
    <b>PO &EKKO-EBELN* Created on &sy-datum&</b>
    Here the problem is PO no not getting generated... date is comming...
    When I press F1 on title bix its saying as below...(My understanding is we need to fill this field...)
    Use
    When faxing or printing, you can use parameters in the title, which are
    then evaluated when the document is sent. As a result, the sent
    documents can be identified more easily, for example, if you have
    specified the document number as a parameter.
    If you send faxes via SAPconnect, the title appears in your outbox. If
    you print the message, the title appears in the spool list.
    Dependencies
    Parameters have to be evaluated by a special program with form routine
    (Exception: System fields, such as SY-UNAME or SY-DATE). You specify the
    program and form routine in the correponding fields in the tab page
    General data.
    Could you please help me on this....
    Rayudu

  • Output RFQ : Mail Title

    Hi all,
    I can not manage to set the title of my output ZMAI, which is a mail automatically tigger when the RFQ is saved.
    I've already try Messages>Output Control >Message Types > Define Message Types for Request For Quotation >  Maintain Message Types for Request For Quotation > Mail Title and text. I enter my text and the title I wish, but it is not working.
    I've already read the SAP Note 191470, and find nothing I manage to do in it to solve my issue.
    Someone may help me ?
    Thanks
    Best regards
    Mathieu

    Dhruba
    Thanks for your answer. But I'm not able to find the general data tab you are talking about.The closest thing I found is in "Assign Form and Output Program for RFQ".
    I look in the customizing, in "Assign Form and Output Program for RFQ". The programe name was ZHA00000R00 (I think it is a specific one), I put SAPMM06E. I find a field Form Routine, I put "TEXT_SYMBOL_REPLACE" in it, but and I dont' find the field "Replacement of Text Symbol" there.
    But now when I create a RFQ, the mail is trigger, but I don't receive any mail (I put my own mail adress in the Vendor data to check the mail). So I look in SOST, and when I go in I got a message : <i>" Express document "Update was terminated" received from author "Mathieu PAINEAU" </i>" and the mail doesn't appear in the list "SAPconnect : Transmission Request".
    Before I made the change, the mail was send (but with the wrong title and text). Perhaps there is something else to do ? I continue to look by myself, please if you have other ideas let me know !
    Thanks and regards
    Mathieu

  • Triggering of mails for different actions

    I have to trigger different mails for different actions. Eg: A2 - Confirmation Action and A3 - Promotion Action.
    In dynamic action I have written:
    0000                   06     4     P     T001P-MOLGA='40'
    0000                   06     6     P     P0000-MASSN='A2'/X
    0000                   06     7     P     P0000-MASSN='A3'
    0000                   06     8     M     M0001
    and in M0001 feature I have maintained :
        A Master Data and Time Data
            INFTY Infotype
                0000
                    SUBTY Subtype
                        A3
                            IDTXT MAIL_FOR_I0002
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
                        A2
                            IDTXT MAIL_FOR_I0006
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
    It doesnt work but if i maintain dynamic action as
    0000                   06     4     P     T001P-MOLGA='40'
    0000                   06     6     P     P0000-MASSN='A2'
    0000                   06     8     M     M0001
    and in M0001 feature I have maintained :
        A Master Data and Time Data
            INFTY Infotype
                0000
                            IDTXT MAIL_FOR_I0002
                            RECV1 X
                            RECV2 X
                            RECV3 X
                            OUTBX X
                            NAME1 RCNEW
    the mails are getting triggered with no problem. Im not sure where i am goin wrong. Please help as I have send out different mails for different actions and i have 9 types of actions to take into account here.
    Points wil be rewarded

    Hi BI ,
      Did you try the dynamic action by including '/X' and try to maintain
    M0001 feature as u had maintained earlier.
    A Master Data and Time Data
    INFTY Infotype
    0000
    SUBTY Subtype
    A3
    IDTXT MAIL_FOR_I0002
    RECV1 X
    RECV2 X
    RECV3 X
    OUTBX X
    NAME1 RCNEW
    A2
    IDTXT MAIL_FOR_I0006
    RECV1 X
    RECV2 X
    RECV3 X
    OUTBX X
    NAME1 RCNEW

  • Error: in sending mail through dynamics actions

    Hi Friends,
    I have a problem in sending mail through dynamics actions . In this we pass a subroutine in dynamics actions which send an mail when promotion action occured.
    Problem is that sometimes it will send an mail or sometimes not. I have no idea to solve this problem.
    Can anyone suggest me .
    Thanks ,
    Anish
    Moderator message : Duplicate post locked. Continue with thread [send mail through dynamic actions|send mail through dynamic actions].
    Edited by: Vinod Kumar on Sep 5, 2011 10:19 AM

    this is where i created the keystore.jks file
    I navigated to the location C:\Program Files\Java\jdk1.6.0_13\bin in command prompt and typed the following command to create the keystore
    keytool -import -trustcacerts -alias root -file mail_test_com.crt -keystore keystore.jksI was asked to set the password for keystore and then i was asked the question "Trust this certificate? [no]:" for which i gave yes.
    If this is not the right place to create the keystore.jks can you please tell me what is correct location to create the keystore file.

  • I was lost my pad ios7.1 find my phone was activated lost mode enabled i recieved e mail when this action done also sound play was done also i recieved picture from i cloud on my i phone the problem is that i didnot recieve the place althought the icon no

    i was lost my pad ios7.1 find my phone was activated lost mode enabled
    i recieved e mail when this action done also sound play was done
    also i recieved picture from i cloud on my i phone
    the problem is that i didnot recieve the place althought the icon notify me when found was turned on ????

    Ahmed elsaed abdelgalil wrote:
    also i recieved picture from i cloud on my i phone
    If you received a photo stream photo on your phone, save it to your camera roll, then locate the photo in the Photos section of the Photos app, tap the location listed above the photo in Moments and it should show you where it was taken on a map (assuming location services was enabled for the camera on your phone).

  • Mail Nortification:  Copy status text / priority text to mail title

    Dear all
    I know how mail nortification can be achieved with smart form function.
    Also, if & is set in smart form title,  document no is set in mail title.
    Other than document no, what information can be set in mail title?
    (priority, user status,  doc title, etc)
    Thank you

    Dear Koji Seki,
    I had some similar problem.
    In standard only the transaction number can be set in the mail subject by "&".
    For the mail function the class CL_DOC_PROCESSING_CRM_ORDER with method CRM_SRVORDER_EXEC_SMART_FORM is used in standard.
    We copied the standard class CL_DOC_PROCESSING_CRM_ORDER and developed a new method in which we set our mail subject directly with the information we need.
    If you take a look in the method CRM_SRVORDER_EXEC_SMART_FORM on line 181 you find the coding for the "&".
    REPLACE '&' WITH ls_orderadm_h-object_id
        INTO ls_output_options-tdtitle.
    Hope that helps.
    Regards,
    Alex

  • Safe Title and Action Areas ...screwy set up!

    Does Adobe Premiere have the Safe Title and Action Areas set up ...backwards?   (i.e screwy)
    I am resetting the areas according to latest  Broadcast specs ( New Zealand) issued by BC Authority.  '2012 Commercial Production Standard'
    Quote from Spec sheets
    High Definition (1920 x1080) with 4:3 Graphics safe and 14:9 Action Safe areas
    14:9 Action Safe = 80% of 16:9 Width .  93% of Height
    4:3 Graphics Safe = 65% of  16:9 Width .  90% of Height
    So one reads that as:  area covering 80% width and 93% height  (and respectively area covering 65% width and 90% height)
    (Area is the operative word as in Safe Area)
    If these figures are entered into Premiere Project Set up..they display small areas.  Inverse size.
    Not areas proportional to the figures describingthe  area.  eg 80, 90 and 93% are certainly closer to 100% ( the whole area)
    So what gives here?
    FWIW: In the past I have used the 20, 20 and 10, 10 set up ..without actually thinking why it was done this way!
    Out of interest : anyone got access to these specs for BBC or U.S stations. How are they described?
    Here is how Wiki describes the safe area
    http://en.wikipedia.org/wiki/Overscan

    Thanx for posting that.
    BTW: See Page 11 for the way BBC prescribe setup for Safe action Area.
    Like NZ BC..it describes the inclusive safe  area. Not like Premieres (screwy excluded area setup)
      14:9 Caption safe
      70% of Active Width
    90% of Active Height
      289 – 1632
    55 – 1026
      48 to 532 (F1) and 611 to 1095 (F2)
    Be keen to see some U.S Specs

  • Problems sending mail-titles of Billing docs to the same Sold-to-party

    Problems with mail-titles in sending Billing documents to the same Sold-to-party.
    If we send, by using VF04, different Invoices to the same Sold-to-party, we expect in the mail-title not always the last Invoice (XVBRK-VBELN).
    Mail-title: Invoice &XVBRK-VBELN& (your ref. &VBRK-BSTNK_VF&)
    In transaction SOST we see:
    Invoice 900014179 (your ref.)
    Invoice 900014179 (your ref.)
    The result should be:
    Invoice 900014178 (your ref.)
    Invoice 900014179 (your ref.)
    How can we solve this problem ....

    Hello,
    You have this problem sending via external mail?  If yes, had collegue with same problem & as I understand here's what was done to solve:
    -- in output condition master set dispatch to be via scheduled job (previously had been immed) -- trans VV31 or VV32
    -- set up the job itself -- trans VF31
    I've not tested myself, but maybe you could try in your dev system to see if it works.  Good luck

Maybe you are looking for

  • I have problems with installation of photoshop CC 2014 on Windows 8.1 PC

    <PRE>Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR: DF012, DF016,D ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 11 error(s) ----------- Payload:

  • Exchange Rate Type "EURX"

    Hi, I wonder if some more familiar with this issue and can help educate me on it. In the Enterprise Compensation Function module (and other standard deliver by SAP), HR_ECM_CONVERT_CURRENCY, it is hard code to use exchange rate type "M" With that, in

  • HT3702 how to change the payment

    how to change the payment from visa to none payment

  • Output Format for Currency

    Hi There, I have set defaults as '1,000.00' for currency output in the own data but in the output of report it is showing like '1.000,00'. PS: there is no formating statement in the program as well. Any advice friends, how can I make it in required f

  • Default z-index?

    What's the default z-index? I mean the point where objects without a z-index specified appear above or under objects that DO have one specified?