Want to change message body of OPEN_MAIL_DIRECT (Notification Mailer messag

The default value of the BODY attribute is blank. The attribute description says 'substituted message body', type 'text' and source 'send'. How do I determine what it's substituted with?
How would i determine which package is used to form the value of the body.

Yes, the value for &BODY is dynamically built within PLSQL or OA Fwk (11.5.10 onwards) based on how the notification message is defined.
PLSQL Notification
Procedure WF_MAIL.GetLOBMessage3 procedure calls WF_NOTIFICATION.GetFullBody to get the content and WF_XML.GenerateMessage replaces the &BODY token in 11.5.10.2. Please note that these APIs are for internal use only since I don't see them in Workflow API guide.
WF_NOTIFICATION.GetFullBody generates the notification body.
OA Fwk Notification
The procedure WF_XML.GenerateMessage leaves the &BODY token unsubstituted and provides an URL to OA Fwk page NotifMailerPG that generates the content. The mailer that runs within a concurrent manager invokes this URL and replaces &BODY token before sending it as e-mail.
oracle.apps.fnd.wf.worklist.webui.NotifMailerPG generates the notification body. Please refer to Embedding Oracle Applications Framework Regions in Messages in Oracle Workflow Developer Guide for more information.
In summary, it could be either PLSQL or OA Fwk that could be generating the content based on how you have defined the notification message.
Hope this helps.
Vijay

Similar Messages

  • I want to change my body pavilion g6.

    I want to change my body pavilion g6. because its body has borken. How can i do it or Where can i find it to buy?

    Hi,
    You can check this out from the following link:
       http://partsurfer.hp.com/search.aspx
    or use the following manual to find the right part number then use the above link to order:
      http://h10032.www1.hp.com/ctg/Manual/c02770249.pdf
    You can use this manual to repalce it yourself.
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Just a suggestion..........
    Download Thunderbird.  Easier to use when it comes to what you want to do w/your emails. 

  • I want to change my apple id primary e-mail from a .msn address to a .gmail address. The problem is that currently my .gmail address is my cover address and I cannot figure out how to remove and replace my gmail recovery address.

    I want to change my apple id primary e-mail from a .msn address to a .gmail address. The problem is that currently my .gmail address is my recovery address; I cannot figure out how to remove and replace my gmail recovery address with a new e-mail address.  I want to do this because I no longer use my .msn address.

    You should be able to change your rescue address by going to My Apple ID, signing in to manage your ID, then selecting the the Password and Security section, and answering the two security questions.  If you have trouble with this, contact the Apple account security team for your country to verify your identity and ask for assistance: Apple ID: Contacting Apple for help with Apple ID account security.  If your country isn't listed, contact iTunes store support by filling out this form: https://www.apple.com/emea/support/itunes/contact.html.

  • Mail messages disappear - just a blank mail message for all emails

    Mail messages disappear - just a blank mail message for all emails.
    This happens sporadically since I upgraded to Yosemite 10.10.2.
    It happens on all of my machines (Macbook Air, + iMacs) so it must be a software bug.
    Is there an update coming through for Mail?

    Back up all data. Rebuild the mailbox.

  • How to change the color of hyperlinks in Mail messages?

    I want to change the text color of hyperlinks in the message itself, not in a signature. Mine are all pale blue.
    I'm using Yosemite on a Mac Mini.

    reese9,
    Check this thread:
    http://discussions.apple.com/thread.jspa?threadID=705812&tstart=0
    Mark

  • Message body is incomplete (e-mail)

    Hello experts,
    I am currently analyzing my code wherein it sends an e-mail message to specified users.
    Now, When I checked in tcode scot I noticed that the message body lacks some text or in other
    words, incomplete(particularly when a user changes an address. Anyway, below is my code to give you
    guys better understanding of my problem.
      for records that were modified
        IF NOT it_address_status[] IS INITIAL.
          CLEAR maildata.
          maildata-obj_name = 'Record Changed in table ZTS0001'.
          maildata-obj_descr = 'Record Changed in table ZTS0001'.
          maildata-obj_langu = sy-langu.
          LOOP AT it_zshipto_email.
            mailtxt-line =  'FYI: Record changed in table ZTS0001'.
            APPEND mailtxt.
            CLEAR it_address_status.
            LOOP AT it_address_status.
              IF NOT it_address_status-old_address IS INITIAL AND
                 NOT it_address_status-new_address IS INITIAL.
                CONCATENATE: 'Address of dealer' it_address_status-kunnr
                             'code' it_address_status-cdseq 'was changed'
                             'from' it_address_status-old_address 'to'
                             INTO lv_contents
                             SEPARATED BY space.
                mailtxt-line = lv_contents.
                APPEND mailtxt.
                CLEAR lv_contents.
                CONCATENATE: it_address_status-new_address 'in table'
                             'ZTS0001 and ZTS_STPGEOLOC by user' sy-uname
                             INTO lv_contents
                             SEPARATED BY space.
                mailtxt-line = lv_contents.
                APPEND mailtxt.
                CLEAR lv_contents.
              ENDIF.
              IF NOT it_address_status-old_person IS INITIAL AND
                 NOT it_address_status-new_person IS INITIAL.
            CONCATENATE: 'Contact person of dealer' it_address_status-kunnr
                               'code' it_address_status-cdseq 'was changed'
                                   'from' it_address_status-old_person 'to'
                                    it_address_status-new_person 'in table'
                               'ZTS0001 and ZTS_STPGEOLOC by user' sy-uname
                                               INTO lv_contents
                                               SEPARATED BY space.
                mailtxt-line = lv_contents.
                APPEND mailtxt.
                CLEAR lv_contents.
              ENDIF.
              IF NOT it_address_status-old_number IS INITIAL AND
                 NOT it_address_status-new_number IS INITIAL.
            CONCATENATE: 'Contact number of dealer' it_address_status-kunnr
                               'code' it_address_status-cdseq 'was changed'
                                   'from' it_address_status-old_number 'to'
                                    it_address_status-new_number 'in table'
                               'ZTS0001 and ZTS_STPGEOLOC by user' sy-uname
                                                INTO lv_contents
                                                SEPARATED BY space.
                mailtxt-line = lv_contents.
                APPEND mailtxt.
                CLEAR lv_contents.
              ENDIF.
            ENDLOOP.
            mailtxt-line = 'NOTE: Do not reply to this message.'.
            APPEND mailtxt.
            mailrec-receiver = it_zshipto_email-zemail.
            mailrec-rec_type  = 'U'.
            APPEND mailrec.
            CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
                 EXPORTING
                      document_data              = maildata
                      document_type              = 'RAW'
                      put_in_outbox              = 'X'
                      commit_work                = 'X'
                 TABLES
                      object_header              = mailtxt
                      object_content             = mailtxt
                      receivers                  = mailrec
                 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.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CLEAR:    mailtxt,  mailrec.
            REFRESH:  mailtxt, mailrec.
          ENDLOOP.
          CLEAR it_address_status.
          REFRESH it_address_status.
        ENDIF.
      ENDIF.

    Hi Viray,
    try to pass only object_content, don't pass object_header. since both are holding the same data, and use only one. and see....
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = maildata
    document_type = 'RAW'
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    <b>object_header = mailtxt</b>
    object_content = mailtxt
    receivers = mailrec
    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.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    vijay

  • To Call a transaction from message body of an e-mail sent from SAP

    I have requirement to call a transaction (say MM03) when I click on some text ( Like  Hyperlink ) in the message body of an email sent by SAP.
    Please let me know how it should be done.

    I dont know whether you can do hyperlink in the mail but i can think of following 2 options:
    1)  Use Workflow and send it to user and then attach transaction MM03 to that so that when user receives message, he/she can directly open MM03.
    2)  In report, you can have hyperlink.

  • Arabic Charecters looks like garbage in notification mailer messages

    Hi,
    We successfully configured notification mailer ( inbound & outbound). we receiving email messages in English correctly but when we get Arabic email message, Arabic characters looks like garbage. i already tried to check RESET_NLS and restart the mailer but still Arabic characters unreadable.
    Could you please Help?
    Thanks in advance.
    Ibrahim.

    Hi Ibrahim,
    ORA-06512: at "APPS.WF_EVENT", line 1564
    ORA-06512: at line 1
    [Dec 23, 2013 1:32:31 PM AST]:1387794751156:-1:-1:HRMDBHVQRDCW1:10.34.244.34:-1:-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup2,5,inboundThreadGroup]:10.34.244.34:18401:1387794751156:777:ERROR:[SVC-GSM-WFALSNRSVC-345051-10021 : oracle.apps.fnd.wf.bes.AgentListenerProcessor.read()]:Could not executeUpdate() on { CALL   WF_EVENT.LISTEN  (  p_agent_name => :1, p_wait => :2, p_correlation => :3, p_deq_condition => null, p_message_count => :4, p_max_error_count => :5  )} -> java.sql.SQLException: ORA-20002: 3802: Agent does not exist.
    ORA-06512: at "APPS.WF_EVENT", line 1564
    ORA-06512: at line 1
    Please see if the following doc helps you:
    Workflow Deferred Agent Listener Cannot be Started After Upgrading to RDBMS 11g (Doc ID 1072604.1)
    Workflow Agent Listener Service WF_DEFERRED Will Not Start, Mailer May Be Down (Doc ID 958178.1)
    Workflow mailer notification errors with Ora-08103 Object No Longer Exists Error In Wf_xml_generate (Doc ID 1302169.1)
    Thanks &
    Best Regards,

  • I've already set up an email through my B;ackberry Internet Service. I want to change my email client settings to leave messages on the server. although I am using somebody's pc., can I do it? Please help. thank you! Rosa

    If the email client does not leave email messages on the server, the Blackberry Internet Service may not be able to deliver them to my Blackberry device.
    Can you please walk me through it? Or should I contact my service provider?
    Thanks and keep up the good work!
    Rosa

    Best to contact your service provider.
    1. Firefox isn't available for BlackBerry or any RIM devices. <br />
    2. Firefox doesn't do email.

  • Message Body Not Displayed in Mail on "New" iPad

    I first noticed this after I had first turned off Wi-Fi force everything to LTE.  The new iPad apparently defaults to Wi-Fi if it is available.
    Now, whether Wi-Fi is on or not, only message headers are displayed on the right side of the screen.  This applies to new messages as well as those already in the various account inboxes.  "Download Remote Images" is "On" and I cannot find any other settings that seem relevant.  A hard reset (holding down off /on switch until previous screen content is re-displayed) does not fix the problem.
    How can I get message bodies to display again?

    Quit the mail app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Mail message settings or password incorrect, Mail message settings or password incorrect

    I was getting mail fine then I get the message cannot get mail settings or password incorrect -- why?

    Perhaps their server is down.

  • About body message in Notification Mailer

    Hello, we are using e-mail to send notifications in the workflow process.
    The following example is the message that we are receiving from the workflow:
    Enviado desde WorkFlow de Oracle,
    Para: R. PerezJ
    De: Marma Suarez
    Asunto: Se espera su
    revisisn y aprobacisn a la Solicitud de Auditorma
    Num. Solicitud: 900
    Referente a: Revision de Cumplimiento de Contratos
    Gracias
    Sistema PREAUDIT
    Do you know how can I use line feed control into the body mail message in order to obtain some formated message
    like this:
    Enviado desde WorkFlow de Oracle,
    Para: R. PerezJ
    De: Marma Suarez
    Asunto: Se espera su revisisn y aprobacisn a la Solicitud de Auditorma
    Can anyone help !?
    Thank you,
    Marma

    When defining your message in the WF Builder, there are two tabs, one for 'Text Body' and one for 'HTML Body'.
    The contents of 'Text Body' is used to determine the content of messages that will appear to the user through email messages
    when their NOTIFICATION_PREFERENCE is either 'MAILTEXT' or 'MAILATTACH'.
    The contents of 'HTML Body' is used to determine the content of messages that will appear to the user through email messages
    when their NOTIFICATION_PREFERENCE is 'MAILHTML', it will also be used to display the message body in the notifications page
    on the web.
    If you want to format your messages for the notifications web page and for the mailer (for users with 'MAILHTML' NOTIFICATION_PREFERENCE)
    then you can use '<P>' and '<BR>'.
    The '<P>' gives you a new line then a blank line.
    The '<BR>' simply gives you a new line.

  • Change the units in the Notification Messages to hours

    I want to change the units in the Notification Messages to hours .
    "RETURN_UNITS=1"
    do I have to put this ("RETURN_UNITS=1") in the option.dat file?
    Would it be possible to change this value only for one channel?

    Yes, it goes in the option.dat file.
    No, you cannot do this selectively, it's server-wide. BE CAREFUL in doing this, as many things change, and will have to be adjusted.
    Also note that the "return" job normally runs once per day. It's the return job (set in job_controller) that actually returns messages after expire of notices, so unless you change that, too, you will only return messages overnight.
    Normally, it's a "Bad Idea" to reduce the notices to less than a day, as it's not unusual for some servers to be down for a day or two at a time. . .

  • Putting Custom Message in Notification Mailer Emails

    Dear All,
    We have a custom workflow. For have a notification which requires some response from the user. We have Notification Mailer installed. Now client want to send FYI mail in the mailbox in addition to notification in the worklist, if some user has intended to receive mail setting his preference.
    As off now the user is receiving mails. But my problem is with the content of the mail. Its currently displaying the actual content of the notification. But my client want some specific below message to display.
    "This notification contains secure content which cannot be sent through e-mail. Please access Atlas and read the online version of the notification to see the details."
    I had tried to do that using #WF_SECURITY_POLICY attribute, setting its value NO_EMAIL. In that case the message comes is ...
    "This notification contains secure content which cannot be sent through e-mail. Please access the online version of the notification to see the details."
    Request your help.
    Regards,
    Subhra

    When defining your message in the WF Builder, there are two tabs, one for 'Text Body' and one for 'HTML Body'.
    The contents of 'Text Body' is used to determine the content of messages that will appear to the user through email messages
    when their NOTIFICATION_PREFERENCE is either 'MAILTEXT' or 'MAILATTACH'.
    The contents of 'HTML Body' is used to determine the content of messages that will appear to the user through email messages
    when their NOTIFICATION_PREFERENCE is 'MAILHTML', it will also be used to display the message body in the notifications page
    on the web.
    If you want to format your messages for the notifications web page and for the mailer (for users with 'MAILHTML' NOTIFICATION_PREFERENCE)
    then you can use '<P>' and '<BR>'.
    The '<P>' gives you a new line then a blank line.
    The '<BR>' simply gives you a new line.

Maybe you are looking for