Standardizing "From" Field Value of an SAP Generated Email

Hi Experts,
I understand that standard behavior dictates that the "From" field of an email SMTP emails generated by SAP is populated with value stored in the "Email Address" field of the triggering users' SAP account (tcode SU01). In the case where this email address field is empty, the system concatenates the triggering user's ID with the value stored in "Default Domain" (tcode SCOT).
However, I would like to know if there is a SAP configuration that allows me to specify a standard system email address in the "From" field for ALL SMTP emails originating from the system and NOT to use the triggering users' email address as described in the previous paragraph.
Any help on this query is very much appreciated. Thanks.
Regards,
Lionel

Hi Macy Lo,
           Check the <b>Data types</b> of BDCMSGCOLL-MSGID &
BDCMSGCOLL-MSGNR.
           It fails because the datatypes doesn't matches.
You can check this with <i>sy-subrc</i> statement after the read statement.
Hope it helps.
Regards,
Maheswaran.B

Similar Messages

  • How to assign custom tab field value to corresponding standard tab field value.

    Dear friends,
                         I want  assign a field value ( advice code , advice code description ) in a custom tab  to corresponding field value in standard tab (advcode ,).   in me51n. 
    following screen shot are given below

    Hi SK,
    It looks both the tabs are custom ones. In that case, you can either use Export/Import statement or you can use Set/Get Parameter ID for  setting value.
    If one is standard subscreen, you can export value from custom subscreen and use line item level user-ext/enhancement to assign the value on standard subscreen.
    Hope this helps.
    Regards,
    Naveen

  • How to remove target node if source field value is empty SAP PI Mapping

    Hello,
    how to remove target node if source field value is empty in graphical Mapping.
    Like if
    MIddle name in source filed is empty, I would like to eliminate target field from out put XML.
    Thank you
    John

    Hi Jhon,
    If you want to remove all empty tags and you dont to complicate your message mapping, you can use a XSL, after the message mapping,  to remove all the empty tags:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:template match="node()|@*">
            <xsl:copy>
                <xsl:apply-templates select="node()|@*"/>
            </xsl:copy>
        </xsl:template>
        <xsl:template match="*[not(@*|*|comment()|processing-instruction())
         and normalize-space()='' ]"/>
    </xsl:stylesheet>
    Regards

  • EDI IDOC Idoc no from field values

    Hi,
    I have got abt 2000 idoc segment field values.
    But in WE09 i am able to enter only one field value.
    How can i get idoc no for number of field values at one shot.
    Thanks and regards,
    Jatinder Mehta

    Hi,
    Have you tried removing the check box option Max one segment per idoc option in fast search mode.
    Regards,
    Sharath

  • Mac Mail displaying incorrect name to the "To" and "from" field of all of my Hotmail emails

    When Hotmail is viewed via Mac Mail, the To: field displays the recipient’s name & Hotmail address. There is a serious problem with my incoming Hotmail … instead of displaying my name and Hotmail email address it displays my friend’s name (initials are RB) alongside my Hotmail email address ... for every Hotmail email that is sent to me no matter who emails me.  My contact/address book entries for my name and my friend are correct in Mac Address Book and Hotmail Contacts. Very strange.
    Mac Mail seems to be adding recipient name to the To:  field of all of my Hotmail emails & putting in the wrong name next to my email address!  I say this because the officialwww.hotmail.com site only displays a recipient email address in the To:  field (no name appears).  This error is only happening in Mac Mail with my Hotmail emails (not happening with my Gmail and Yahoo emails).
    How/why is a wrong name/my friend's name displayed next to my email address in every Hotmail message I view in Mac Mail?
    This error is only occurring in incoming Hotmail messages addressed to me.  Emails that I send using my Hotmail show my name & email address correctly in the From field.
    Thank you

    Mail has Smart Addresses that will display the name and email address under Preferences > Viewing, but your issue sounds like a different issue.
    Did you setup an outlook.com alias in Outlook.com when it made the transition? If not, add an alias and see if that helps. You can also test sending from the outlook.com alias to see if the results are as expected.
    For example if your Hotmail email is [email protected] then setup an alias [email protected]
    If that fails, test in a new User.
    Create a new User in System Preferences.
    Log into your new User.
    You can skip the Apple ID setup unless you are testing iCloud.
    Select Don't Sign in > Continue > Skip
    Open Mail and enter your Hotmail account.
    Does the problem go away?

  • SAP generated Emails to workflow adminitrator: Changing the text

    Hello all.
    We have configured the 'Event Queus Administration' to send an email to the Workflow Administration if there is an Even Linkage error. My question is does anyone know where SAP sources the mail content from. I need to change the body text so that it is more user friendly to the end user.
    Many Thanks
    Paul Swinnerton.

    Thanks for your reply.
    My workflow is not generating the email. It is SAP standard to send an email if an event linkage error is caught by the "Event Queue Administarion' tool. I just want to know where SAP gets the text that is contained in the body of the email. I'm guessing it may be stored in a table somewhere or there is a specific task with placeholders embedded into the task description. Am bleeding profusely after repeatedly hitting my head agianst the wall with this one.
    Many Thanks
    Paul

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • FormMail-Configuring the 'from' field

    I currently can get formmail to work using the
    nms-cgi.sourceforge script. I'm trying to find out if I can
    configure what appears in the return email in the 'FROM' field. It
    currently defaults to: [email protected]
    Thanks

    > I'm
    > trying to find out if I can configure what appears in
    the return email in the
    > 'FROM' field.
    http://nms-cgi.sourceforge.net/formmail_compat-3.14c1/README
    If you want it set to a value you are collecting in the form,
    such as the
    visitor's email address- name that field exactly email
    As well as all these hidden inputs, there are a couple of
    non-hidden
    inputs which get special treatment:
    email - If one of the things you're asking the user to fill
    in is their
    email address and you call that input 'email', formmail will
    use
    it as the address part of the sender's email address in the
    email.
    realname - If one of the things you're asking the user to
    fill in is their
    full name and you call that input 'realname', formmail will
    use
    it as the name part of the sender's email address in the
    email.
    >It currently defaults to: [email protected]
    Set this value in the script to the address you want as the
    default FROM, it
    will be used if not overridden by a field named email
    $postmaster - The envelope sender address to use for all
    emails
    sent by the script. This address will recieve bounce
    messages if any of the emails cannot be delivered. If
    in doubt, put your own email address here.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • AME From Field

    Hello,
    In the AME notifications, is there any way to change the FROM field of the notification from SYSADMIN to any other custom user?
    Thanks
    --Kumar                                                                                                                                                                                                                                                                                                                           

    Hi Kumar,
    If you want to set a From field value for a specific workflow instance you can use the below API.
    wf_engine.SetItemAttrText(<itemType>, <itemKey>, 'FROM_ROLE', <from value>);
    If you want to set From field value for all notifications of particular type(eg:AME), you can add a special message attribute '#FROM_ROLE' to that wft file and specify its value.
    Edited by: sarojak on Jun 13, 2012 3:42 AM

  • Change "Return-From" field in mail.app messages

    I need to be able to change the "Return-From" field in some of my outbound emails using the mail.app. I can't find a way to do this. Can anyone help? Here is what I am basically trying to accomplish:
    I need recipients of the email to be able to select Reply and have the email come back to the same email address as the From field, but if they have an out of office turned on, or if the email is no longer a valid email address, I need those messages to go to a different email box so they don't clutter up the real messages that need to be worked.
    Any suggestions or ideas are appreciated.

    You can add any headers you want to Mail, with the defaults write com.apple.mail UserHeaders command in Terminal. However, it is easy to get it wrong, particularly if you already have added headers, so I would suggest you try Cricket's Applescripts for Mail, which includes one for doing it.
    That said, is there a Return-From header? I cannot recall having noticed one.
    AK

  • Aliases missing in 'FROM" field

    My Mail "FROM" field used to have my .mac email plus my email aliases.
    Now (after 10.6.5) I have lost the aliases, but have gained a .me email.
    Is there a way to add the aliases back to the "FROM" field?
    Thanks.

    Again, there are two obvious possibilities, and you'll have to debug this
    to figure out which one it is.
    First possibility is that the Unicode characters in your Java String object
    are wrong. Try putting m_strFrom in the Subject field and see if that
    displays properly in your mail reader.
    If it does, then the characters are correct and the problem is that your
    mail reader isn't displaying the same characters in the From field
    correctly.
    If it doesn't, then however you've read those characters to compose
    that String is wrong.

  • Steps for replicating GR custom field values from EBP to SAP R/3

    Dear SRM Gurus,
    We wre using SRM 5.0 extended classic scenario..
    We are having 3 custom fields for GR in SRM, we want to replicate these values to 3 other standard fields in SAP R/3..
    Can you pls tell us the Procedure, Steps and standard objects that has to be changed for replicating the GR field values from SRM to SAP R/3(4.6C).
    Thanks in advance,
    Chandra Sekhar.

    Hi
    <b>Please go through the following links -></b>
    Re: Confirmation screen field to be mapped to backend field
    Re: Creating Confirmations in SRM - What is the preferred method
    Re: GRN IDOC Transfer to ERP  - MBGMCR01 ( 2 IDOCS created)
    Re: Problem to send idoc for a Good Receipt created
    GR IDOC Number
    Re: Idoc error in Goods confirmation - urgent
    Re: Delete goods confirmation in SRM3.0
    Re: SRM / MM integratuion: goods receipt
    IDOC MBGMCR01: CO Ctd-pedido exceeded by 1 UN:
    <b>Some useful SAP OSS Notes to refer -></b>
    Note 521488 - FAQ: MB_CREATE_GOODS_MOVEMENT
    Note 521427 - FAQ: IDocs for goods movements
    Note 521488 - FAQ: MB_CREATE_GOODS_MOVEMENT
    Hope this will definitely help.
    Regards
    - Atul

  • Extracting Values of a Field from a Database Table in SAP ECC System

    Hi,
    I downloaded Extracting Values of a Field from a Database Table in SAP ECC System Using MII 12.0
    senario from sdn. I'm trying to do that senario in MII 12.05. But I have problem with section 6 in page 7 (you can supply senario from sdn)
    "6- Under the loop of Repeater, use action u2018Rowu2019 to append just the string part of the WA which will display only values for field u2018Batchu2019"
    I did not find WA elemen in Output element of Repeater_0
    How can I create WA element?
    Thanks.

    Cemil,
    Set up a SAP JCo Interface action block.  Use the RFC name RFC_READ_TABLE.
    In the link editor map the table to "MARA", set RowCount to something small (20 is good sample size) and create an xml transaction property named FIELDS and copy the following into it:
    <?xml version="1.0" encoding="UTF-8"?><FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET/>
            <LENGTH/>
            <TYPE/>
            <FIELDTEXT/>
          </item>
        </FIELDS>
    Then link the Transaction.FIELDS to SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/TABLES/FIELDS}.  You may run into problems with two other fields and optionally they can be removed (set link type to remove xml).  I usually remove them initially for testing.  The two fields are:
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/NO_DATA}
    SAP_JCo_Interface_0.Request{/RFC_READ_TABLE/INPUT/DELIMITER} (or you can set this to something like a semicolon,";" or tilda,"~".  I find it easier to caclulate position by length, but that is my own idiosyncrasy.)
    Once you get this one working, we can explore how to do filtering on the dataset.  Your output should be something like this:
    <?xml version="1.0" encoding="utf-8"?>
    <RFC_READ_TABLE>
      <INPUT>
        <DELIMITER />
        <NO_DATA />
        <QUERY_TABLE>MARA</QUERY_TABLE>
        <ROWCOUNT>20</ROWCOUNT>
        <ROWSKIPS>0</ROWSKIPS>
      </INPUT>
      <TABLES>
        <DATA>
          <item>
            <WA>000000000000000023ROH 00000000</WA>
          </item>
          <item>
            <WA>000000000000000038HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000043HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000058HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000059HIBE 00000000</WA>
          </item>
          <item>
            <WA>000000000000000068FHMI 00000000</WA>
          </item>
          <item>
            <WA>000000000000000078DIEN 00000000</WA>
          </item>
          <item>
            <WA>000000000000000088FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000089FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000098HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000170NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000178NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000188NLAG 00000000</WA>
          </item>
          <item>
            <WA>000000000000000288HALB 00000000</WA>
          </item>
          <item>
            <WA>000000000000000358HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000359HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000521HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000578FERT 00000000</WA>
          </item>
          <item>
            <WA>000000000000000597HAWA 00000000</WA>
          </item>
          <item>
            <WA>000000000000000598VERP 00000000</WA>
          </item>
        </DATA>
        <FIELDS>
          <item>
            <FIELDNAME>MATNR</FIELDNAME>
            <OFFSET>000000</OFFSET>
            <LENGTH>000018</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Number</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>MTART</FIELDNAME>
            <OFFSET>000018</OFFSET>
            <LENGTH>000004</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Material Type</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>BSTME</FIELDNAME>
            <OFFSET>000022</OFFSET>
            <LENGTH>000003</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Purchase Order Unit of Measure</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>XCHPF</FIELDNAME>
            <OFFSET>000025</OFFSET>
            <LENGTH>000001</LENGTH>
            <TYPE>C</TYPE>
            <FIELDTEXT>Batch management requirement indicator</FIELDTEXT>
          </item>
          <item>
            <FIELDNAME>DATAB</FIELDNAME>
            <OFFSET>000026</OFFSET>
            <LENGTH>000008</LENGTH>
            <TYPE>D</TYPE>
            <FIELDTEXT>Valid-From Date</FIELDTEXT>
          </item>
        </FIELDS>
        <OPTIONS />
      </TABLES>
    </RFC_READ_TABLE>
    Add a repeater sourced on:
    SAP_JCo_Interface_0.Response{/RFC_READ_TABLE/TABLES/DATA/item}
    Link your repeater output to a tracer with this:
    Repeater_0.Output{/item/WA}
    What you will see in each tracer message is a single line of data with all the fields contents concatenated together.  You can look up what each field in the string represents by the length of the field as returned in the Response segment of the RFC_READ_TABLE rfc.  Then you can parse out the data you are interested in.
    Give this a try and let me know how you succeeded.
    By the way, I could not find the scenario you referred to.  Can you post a link?
    Regards,
    Mike
    Edited by: Michael Appleby on Jan 12, 2009 5:16 PM

  • How to merge key field from external source system with SAP R/3 master

    Hi,
    In SAP BW 7.0 system, our scenario is Master Data for 0GL_ACCOUNT is coming from SAP R/3 alongwith the Transactional data records for standard FI cubes. Then, one more set of transaction data is coming from external source system, a flat file, into another custom DSO(ZDSO_FI), which also has this GL Account field.
    This flat file's GL account, GL_file, has to be basically mapped/merged with the standard 0GL_ACCOUNT field so that at the time of loading the transactional data for custom DSO, ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), system automatically refers to the 0GL_ACCOUNT master data to load these incoming transactional values, from the external flat file system. How can this be done?
    To illustrate the scenario, say I have 5 records in 0GL_ACCOUNT, loaded from SAP R/3 into SAP BW-
    0GL_ACCOUNT      Short Description     Source System
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    Now suppose if my flat file has following sample transactional data, to be uploaded in SAP BW  ZDSO_FI-
    GL_file      Key Figure1
    400          789
    200          567
    Then after uploading this transactional data in ZDSO_FI (with transformation mapping GL_file > 0GL_ACCOUNT), the 0GL_ACCOUNT data becomes as below-
    0GL_ACCOUNT      Short Description     Source System
    400
    200
    100                                   D1                          R/3
    200                                   D2                          R/3
    300                                   D3                          R/3
    400                                   D4                          R/3
    500                                   D5                          R/3
    So note that the system did not refer the incoming GL's from flat file, although the field is mapped to 0GL_ACCOUNT in transformation, to the already available master data. Rather created 2 new data rows for the GL accounts coming from external system. Because of this I am not able to perform the calculations common from standard FI cube and ZDSO_FI, with GL account as key field. I need to synchronise these data values based on GL Account to proceed with further calculation and am badly stuck.
    Request if anyone can please throw some light on how to achieve this seemingly simple requirement?
    Thanks in advance.
    Nirmit

    Better post this thread is in the [Enterprise Data Warehousing|Data Warehousing; forum.

  • Set the default field value to transaction code field, when calling from WD

    Hi all,
    Can we pass the value in a input field of a standard transaction calling from WD application. Suppose we are calling a transaction VA03 in an external window, then how will be pass the value in the VBAK_VBELN screen field.
    Is there any way to pass the value to this transaction field. I have also tried out to set the parameter ID 'AUN' for VA03 transaction VBELN field. But it did not work for me.
    Is there any way to set the default field value to transaction code field, when calling from WD?
    Please suggest, if anyone have any idea.
    Thanks
    Sanket

    Hi,
    I am using the below code to open a standard transaction. It will help you to explain my point more easily.
    DATA: url TYPE string,
              host TYPE string,
              port TYPE string.
    *Call below method to get host and port
      cl_http_server=>if_http_server~get_location(
         IMPORTING host = host
                port = port ).
    *create URL
      CONCATENATE 'http'
      '://' host ':' port
      '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'VA03'
       INTO url.
    *get the window manager as we are opening t code in external window.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_window TYPE REF TO if_wd_window.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
    call the url which we created above
      lo_window_manager->create_external_window(
      EXPORTING
      url = url
      RECEIVING
      window = lo_window ).
      lo_window->open( ).
    Note*
    One more query I want to add to this thread, that is there any possibility to call a custom transaction as well?

Maybe you are looking for

  • How can I add credit to my account via PayPal? I don't have a credit card? Thanks.

    How can I add credit to my account via PayPal? I don't have a credit card? Thanks.

  • Error while sending an APDU 6d 00

    Hello, I'm testing Javacard and i just want to send vie smartcard io an apdu command 0x80 0x07 0x00 0x00. As an response i should get: a simple string back. However, it doesen't work. After I selected more or less every ins byt eI'm sending results i

  • Restoring from Time Machine after complete reinstall

    Hi! I have some odd problems in my system. Can´t do capital K without using capslock, flickering images, mousepointer freezes when I connect an external drive etc. I have booted from another system which makes all the problems go away which leads me

  • Acrobat X Pro stop working on CS6 and requires a new serial number

    Hello all! I faced this problem several times running Window 8 Professional 64Bits. For a reason which I could not understand, in a certain momment Acrobat X Pro, installed under the CS Design & Web Premium package, stop working. It simplys could no

  • Java code to call methods in .ocx file

    dear friends, i have an .ocx file with me which is used to communicate with a specific device.it is an already existing one. i wish to know whether i can call method sin that .ocx file using java .using vb6 we can do this. if it is possible with java