Change PO message sender address

I have asked a similar question before but with no luck...
We have set up external send email from purchase order. This works fine for normal PO but when a PO needs to be approved via ME28 the external send gets triggered from the approver email and not the PO creator! I need to change this logic somehow, Is there a easy way to do this via userexit or something similar?

Hi,
I had a similar requirement and achieved it in program LMEDRUCKF1O and found the following enhancement-point:
ENHANCEMENT-POINT lmedruckf10_02 SPOTS es_saplmedruck.
In this enhancement point I check nast-nacha to ensure that the output medium is "External Send" (email) and then call function module 'CONVERT_COMM_TYPE_DATA' as follows:
        CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
        EXPORTING
          pi_comm_type              = lvs_comm_type
          pi_comm_values            = lvs_comm_values
          pi_country                = lfa1-land1
          pi_repid                  = xprogramm
          pi_snast                  = intnast
          pi_mail_sender            = lv_po_creator      "<-- this is the username of the new sender
        IMPORTING
          pe_itcpo                  = itcpo
          pe_device                 = xdevice
          pe_mail_recipient         = lvs_recipient
          pe_mail_sender            = lvs_sender
        EXCEPTIONS
          comm_type_not_supported   = 1
          recipient_creation_failed = 2
          sender_creation_failed    = 3
          OTHERS                    = 4.
This overwrites the sender information for the mail request.  Note that the sender email address must be attached to a SAP user, so it might not exactly fit your requirement but hopefully you can get it from there.
Cheers
Alex
Edited by: Alex Cook on Feb 17, 2010 11:30 PM - corrected program name

Similar Messages

  • Error message 'sender address rejected by server' w/MacMail

    I receive email ok but all of a sudden I cannot send email or reply to email using Mac Mail. The error message says:
    Message could not be delivered and will remain in outbox,
    The sender address xxx@xxx was rejected by the server.
    What's up Apple server?
    Thanks
    Chas
    G3 B+W 450 Rev.2-ram 448mb-OS X on Cheetah disk   Mac OS X (10.3.9)  

    The security update didn't break any of my email accounts and I access several with Mail that are not provided by my ISP.
    Is this email account you were having problems sending messages with provided by your ISP - AT&T or other?
    I have a .Mac account and I also access my employer provided POP account with Mail and although I have no problems sending messages with either account and associated SMTP server since both SMTP servers are authenticated and my ISP does not block the use of SMTP servers that are outside of their network or not provided by my ISP on Port 25 as long as the SMTP server is authenticated, I use my ISP's SMTP server to send messages with both accounts when connected to my ISP at home.

  • Change Oracle Workflow Sender address?

    Dear all,
    Now the oracle workflow send out email to users with the sender (From) *Oracle Workflow OBS [[email protected]]*
    Does anyone know how can I change to Sender (From) *Oracle Workflow OBS [[email protected]]*
    Please advice,
    Amy

    After bounce all workflow service, it takes the effect.
    Original
    # From: value of the from field in the header of mail message sent
    # by the Oracle Workflow Mailer
    FROM=Oracle Workflow OBS
    Modify To
    # From: value of the from field in the header of mail message sent
    # by the Oracle Workflow Mailer
    FROM=Oracle Workflow OBS
    The header of the email change from "Oracle Workflow OBS [[email protected]]" to "Oracle Workflow OBS 2 [[email protected]]" . But the [[email protected]] didn't change.
    Please advice,
    Amy

  • New user, I get my mail on the phone, but can't send...message" sender address was rejected by server..Help please

    New user, I get mail on the phone but can't send...message "senderaddress was rejected by server. Pleas help.

    http://support.apple.com/kb/ts1426

  • Changing sender address using  FM  :  SAMPLE_PROCESS_00002040

    Hi All ,
    I am using the BT FM SAMPLE_PROCESS_00002040 for sending emails in PDF form to email addresses . Is there any method thru which I can change the sender email address in this . SAP currently takes the sender address from the user master settings . I need to change it to something else . Is this possible and how ?
    Any help would be appreciated ..
    Thanks

    Hi Ankit,
    Please refer the OSS notes 988859, 989043 for the below requirement.
    1.     Snote 988859: Adding a new field INTUSER in the structure FINAA for sender address.
    2.     Snote 989043: Code changes for variable sender address for payment advice notes by email.

  • Sender address rejected by server - Help!!

    I have been unable to send mail all morning - I can receive mail, but when I try to reply or send a new message altogether, I get the error message "Sender address [email protected] rejected by server." I searched these forums and tried sending messages through my mail on mac.com, but that didn't work either.
    I don't know if this is a widespread apple problem as the boards indicate has happened before, or the result of something i've done. last night, preparing to go on vacation, i attempted to set an "out of office" reply via preferences>rules. I did it wrong and ended up sending my auto reply to every existing message in my inbox (several hundred - some people got dozens of the auto response - very embarrasing as this is my business e-mail!). I deleted the "rule" to stop the process, but i don't know if that has something to do with my new problem. I'm working remotely and need my e-mail - please help!!!!!

    I tend to agree with Austin's explanation. One work-around might be to change your SMTP port from 25 to 587.
    Another explanation is that by sending out all those mistaken replies yesterday that your are temporarily blocked as a spammer. Most ISPs (including Apple) put limits on the number of outgoing mail messages in a 24 hour period.

  • Sending email: sender address rejected by server?

    Hi People
    On an iphone 5s I have email accounts already set up and working fine but am trying to set a new one. It will receive but not send - I am getting message "sender address is rejected by the server". Have checked settings numerous times and have tried changing outgoing server port settings 465 with SSL and 25, 80 and 3535 without as recommended. Spoke to mobile and email provider - both said to try those things again (plus delete account and reinstall which I have done) Getting fed up with it now. Any suggestions much appreciated while I still have hair!
    Thanks v much

    No you're right..will be a problem with me not the phone! Am using the pop settings not IMAP. Outgoing I am using is smtpout.europe.secureserver.net but I have also tried it without the "europe."
    Thank you for your help so far...I have to go out now (boozing time in the UK) but will catch up tomorrow. Cheers for now.

  • Sender address rejected by server smtp.freeserve

    I have minimal [Read NO] understanding of how this all works so please bear that in mind.
    Recently I have been trying to send emails from the Mail App on the iMac version 10.6.8. (I'm guessing that's snow leopard).
    I keep getting the message: sender address rejected by server smtp.freeserve.co.uk.
    I do not understand why this is happening.
    My accounts and mail are all connected and logged in to the internet/server, there are no mistakes in my
    email address or anything so I just don't understand what could possibly be going on.
    Please help, I need possible problems (and explanations) and I definitely some possible solutions.
    Thank you so much in advance.

    You shouldn't post an e-mail address in a public forum.
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • How can i change my e-mail address color from blue to black when i send a new message

    How can i change my e-mail address color from blue to black when i send a new message

    Hi Steven, if you send to yourself does it come through blue?
    Is this in the Header or a Signature?

  • F110 - Pre-notification by E-Mail: How to change the sender address

    Hi experts,
    by executing pre-notifications in F110 an e-mail is generated. The sender e-mail address is set from sap user (master data) who has executed pre-notification. This is the current setting.
    Now the sender e-mail address has to be a static e-mail address not the address from user master data. Independent from user who is executing f110 there has to be the same (static) sender address.
    I tried to use business transaction events, 2040. So I copied the standard function modules, assigned them to the events and set some breakpoints in the function modules without any success.
    Additionally I executed F110 (pre-notification) in debugging mode and set dynamical breakpoints at the new created function modules - again without any success.
    Does anyone has an idea what's going wrong?
    Thanks in advance,
    Tan
    Message was edited by: Tan Yildiz
    In P/S-Modules i cannot select event 2040, message: entry not available in TBE01 - how can I get event 2040 selected?

    Thanks for the help and guidance.
    I ran that command
    [PS] C:\Windows\system32>Get-OrganizationConfig | fl MicrosoftExchangeRecipien*
    and it shows similar to the expected putput.
    We are migrating currently to 0365 so we have a cloud entry also but it looks the same.
    MicrosoftExchangeRecipientEmailAddresses            : {smtp:[email protected],
    smtp:MicrosoftExchange329e71ec88ae4615bbc36ab6ce41109e@domainclou                                                   
    d.mail.onmicrosoft.com, SMTP:MicrosoftExchange329e71ec88ae4615bbc                                                    
    [email protected], smtp:MicrosoftExchange329e71ec88ae4615bbc3                                                     
    [email protected], X400:C=US;A= ;P=ATS;O=COS;S=Micr                                                     
    osoftExchange329e71ec88ae4615bbc36ab;}
    MicrosoftExchangeRecipientReplyRecipient            :
    MicrosoftExchangeRecipientPrimarySmtpAddress        :
    [email protected]
    MicrosoftExchangeRecipientEmailAddressPolicyEnabled : True
    I am nervous about changing anything with the set-organizationconfig cmdlet so if there are other ideas I could try first please help.
    Thanks again
    Brian

  • Cannot send e-mail - "The sender address invalid" error message

    Today I keep getting this error message "The sender address is invalid - when i try to send e-mail. I checked my settings and they are the same as always - my e-mail address hasn't changed; the outgoing and incoming server information is the same. I went through the Troubleshooting steps and still nothing. Also it's taking a really long time to connect to check for incoming e-mails. Any clues on why this is happening or what I should try next? The e-mail is via Roadrunner does that matter (althoug it didn't a couple of days ago)

    This message means that your outgoing email server is not letting you connect to send email. Maybe RR changed their policy. You should be able to send using home WiFi, but when using 3G RR will not allow connections from outside their network.
    One easy way around this, is to use the built-in AT&T SMTP server for outgoing email.
    Or, check the RR FAQs and see if they allow an authenticated account to send email - maybe you just need to add SSL and username/pwd on the RR outgoing email server settings.
    BTW - this is asked almost daily - the "Search Discussions" box to your right would have given you many hits with the same answer.

  • I cannot send email - error message as follows : 'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk.' I can send email from other apple devices, and the email settings are identical. Any ideas?

    For some reason I cannot send email - all was working fine, but now I get the following error message when I try to send email:
    'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk'
    I can receive incoming mail ok and I can send email from other Apple devices. The problem seems confined to my Mac Book Pro.
    Ant ideas?

    Hello there, Pablo639.
    The following Knowledge Base article offers up some great steps for troubleshooting mail issues on your Mac:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/TS3276
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • For FaceTime, can you add an additional e-mail that is not your Apple ID e-mail?  Everytime I try to do this on my iPad it sends me a verification e-mail saying I am trying to change the e-mail address associated with my apple ID and wants me to verify.

    I am trying to add another e-mail address to FaceTime, but do not want to change the e-mail address associated with my Apple ID.  Everytime I try to add the e-mail address in my FaceTime settings, it send me a verification e-mail asking me to verify that I want to change to this new e-mail address for my apple ID.  I do not.  I just want to have an additional e-mail address for people to contact me via FaceTime. Does anyone know how to do this?

    You can have multiple addresses associated with your apple id. You will have to verify any changes before they can be added and this is done by sending you an email. This is to protect you from someone else makeing changes to your account.
    You can make any changes and view all your info here:
    My Apple ID
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

  • Trying to send e-mail and error message " a copy has been placed in your outbox. the sender address was rejected by the server"

    trying to send e-mail and error message " a copy has been placed in your outbox. the sender address was rejected by the server"

    i have the same problem with my 3gs and tried to add my email acc+pass in the outgoing server but it got rejected.
    just bin on the phone(45min) with my carrier support about this issue they are pretty much scratching there head, the settings i should use gets verified with no problems when i add the outgoung server, but still cant send mails.

  • HT4519 sometimes when I send a mail it will go regardless of location or whether it has attachments, but more often than not they won't go and the message " a copy has been placed in your outbox. The sender address "my email blah blah was rejected by the

    Sometimes when sending a mail it will go more often it won't go, it doesn't seem to be relevant  to my geographic position and the message" a copy has been placed in your Outbox. The sender address" my email blah blah" was rejected by the server"     . Any ideas?

    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

Maybe you are looking for

  • Ztable not updating in sales order user exit

    Hi Genius Abapers. We want to take text ID data of sales order into Ztable. For taking the data we have used user exit in sales order. Now the problem is if we go through debug mode then the Ztable is updating but if we remove the break point Ztable

  • Live Capture from Video Mixer

    I'm having a problem with getting my Powerbook to communicate with my Videonics MXPro Dv digital video switcher. The switcher has firewire out which works when I connect to a camera but I can't get Final Cut 5 to connect with it. I have set up my dev

  • How to call a stored procedure which has out parameter value

    my code is public Connection createConnection() {                Connection conn = null;                     try {                          Class.forName(DRIVER);                          conn = DriverManager.getConnection(URL,USER,PASS);            

  • Importing a journal voucher with GL Codes and BP Codes

    Hi Experts, I'm trying to get a DTW import for Journal Vouchers working on 8.8 PL05. I have a journal voucher template with GL Codes and BP Codes that I need to import as this is part of some integration. If I leave out the BP Codes it works fine but

  • Adding a Child

    Help! I'm not understanding how to add a child to a MovieClip. When I put in Oregon.addChild(Baker); where Oregon is a MovieClip converted to a symbol and Baker is also a MovieClip converted to a symbol and on the flash timeline, I get the following