Chaging the sender address in the function module

Hi All,
Can we change the sender address in the function module 'SO_NEW_DOCUMENT_SEND_API1' .
Thanks & Regards
Warun Kumar todimala

Hi Vijay,
Ima getting sy-subrc as 5 document_error when iam using this function module.
Regards
Warun

Similar Messages

  • Change sender address when use function SO_NEW_DOCUMENT_SEND_API1

    The requirement need change the sender address when use function   SO_NEW_DOCUMENT_SEND_API1.
    for example,the fixed sender  is '[email protected]'. how to change the sender address. could you please
    provide a instance?

    Hi 莫言,
    As explained in mail home wiki here, this function module is obsolete and complex to use, please use CL_BCS instead. You can find lots of example there. And it is pretty easy to change sender address using CL_BCS instead.
    Best regards,
    Jerry

  • Maintaining Constant Sender Address in the Email of Batch Job

    Hi,
    I have created a smartform whcih will be sent via Batch job at a partcular time .And everytime the Sender Id is "BATCH.JOB". 
    Actually the businesswants the sender address to be XYZ.com instead of BATCH.JOB
    Iam using the below FM to send email.
    Can anyone help in this issue.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              document_data              = l_doc_data_objl
             document_type              = 'RAW'
              put_in_outbox              = 'X'
         IMPORTING
              sent_to_all                = l_sent_all
         TABLES
              object_content             = l_contents
              receivers                  = l_receivers
         EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
    Helpful answers will be rewarded.
    Regards
    Naveen

    Hi,
    Sorry for the delay. We can create a Outlook Inbox rule to achieve it. Please click Inbox > Rules > Manage Rules & Alerts > New Rule to create a rule with the following conditions and actions:
    Please change “people or public group” to [email protected] and edit a specific template by clicking “a specific template” in the action part.
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

  • 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.

  • IPhone 6 is unable to send email because the sender address was rejected by the server

    When I try to send emails from my Microsoft Outlook for Mac, I get a message that says "Unable to Send Email.  A copy has been placed in your Outbox.  The sender address was rejected by the server."  I've checked all the settings (it is a POP account).  I've deleted and re-installed.  Any suggestions??

    Please see this article on setting up an email account using the shaw mail server.
    https://community.shaw.ca/docs/DOC-2181
    Good luck Friend.

  • 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.

  • Hi! How can I change the shipping address for the program of replacement of the 1 generation ipod nano? I've already received the empty box and now I should send back the old ipod but I'd like to receive the new one to another address. Thank you.

    Hi! How can I change the shipping address for the program of replacement of the 1 generation ipod nano? I've already received the empty box and now I should send back the old ipod but I'd like to receive the new one to another address. Thank you.

    I would contact Apple directly and have them work with to get the iPod shipped to a new/different address.
    http://www.apple.com/contact/
    B-rock

  • E-mail error:  Cannot Send Mail:  The sender address was invalid

    I can receive e-mail but cannot send it. Everything goes to my outbox. I did not change any settings. Nothing has changed that I know of. For months I could send e-mail -- now I cannot. I even e-mailed myself, and it says the sender address is invalid. Can anyone help? Thanks!

    The "Recipient addresses are invalid" message is misleading.
    Most ISP's don't allow you to send email through their SMTP server unless you are A) on their network (e.g. connected via wi-fi to a cable connection provided by your ISP) or B) you authenticate to their SMTP server.
    On Blueyonder here in the UK (my ISP), you can send via their SMTP server from the iPhone over 3G as long as you authenticate to it. I setup my Mac mail to authenticate on outbound email sent via smtp.blueyonder.co.uk and it works fine. I then synced the mail settings to my iPhone and it works fine (although a little slow to send).
    Alternatively your cellular provider usually runs their own SMTP server to which you will also have to authenticate, and you can send through it. For the iPhone in the UK O2 are the exclusive provider, and they have the smtp.02.co.uk gateway.

  • What is the difference between subroutine and function module?

    What is the difference between subroutine and function module?

    Hi,
    they can both return values.
    FMs are mainly used when a routine is to be performed by many programs.
    Subroutines (forms) are generally only executed within one program.
    You can perform routines from other programs, but it's not often done.
    both forms and FMs are reusable modularization units.
    To distinguish we generally say that forms are used for internal modularization and
    FMs are used for external modularization.
    To decide on which to implement, consider whether you need the content to be used just for a limited program
    or wheteher it can be called from many independent programs.
    For the first purpose it is better to implement a form whereas for the second we implement an FM.
    However, ABAP does not isolate the usage context.
    That is; you can call a form from another program within whose code the form is not actually implemented.
    However, this requires attention since the form may utilize global variables.
    The same issue holds for FMs.
    FMs are encapsulated in function groups and function groups may have global variables that can be globally
    used by all FMs inside it.
    Thanks,
    Reward If Helpful.

  • How to know the changes done in one function module??

    Hi All,
    Could you please let me know how can I know the changes done in one function module?
    I am not a technical expert..I can just jump into SE37 to access the function module.. but would like to know if there are any logs for the function module screen which tells us about the versions and changes done from time to time?
    Thanks,
    Ramya

    Hi Ramya,
    There are ways to look at the modification overview for a function module
    1) In se37, after selecting the function module, click on Ctrl + Shift + F2
    2) Other way is the menupath ie Edit > Modification operations > Modification overview.
    Hope this helps you.
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • I am not able to send mails through Yahoo APP.It gives me an error msg :"the sender address has ben rejected by the server ".I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.

    I am not able to send mails through Yahoo APP. It gives me an error msg :"the sender address has ben rejected by the server ".
    I tried adding username and password in the SMTP server settings,But those optiopns are greyed out.
    So, i am not able to enter anything in fields under SMTP server settings

    You probably have changing settings disabled in Restrictions.

  • I want to get the IP address to the sender of an email

    I received an email and would like to obtain the IP address of the sending party. Can that be done with any of the add-ons or does Mozilla provide any features like that?

    to do that, power off the printer and then press the Select button and power on, maintain the select button during start up.
    But after that, I don't know how to setup a new IP adress
    dwalker2 wrote:
    I want to set the IP address back to default on a HP LJ 4000n how do I do that?  The I/O would not let me or maybe just don't know how.
    dwalker2 wrote:
    I want to set the IP address back to default on a HP LJ 4000n how do I do that?  The I/O would not let me or maybe just don't know how.
    , is anybody can help us?

  • HT2486 How do I remove the grey "contact" selection highlight?  This contact always appears as the email address for the group I want to send to.

    How do I remove the grey "contact" selection highlight?  This contact always appears as the email address for the address book group I want to send to.

    The group is "undisclosed" there are 6 contacts in the group. The contacts are listed in 2nd column entitled "name", one of these contacts remains highlighted or selected in grey. I can't remove the grey selection of the contact.   When you select the "undisclosed" group as the "to" address the contact highlighted in grey appears in the email address box.  The group name should appear in the email box, but it doesn't.  This began to happen after I upgraded to IOS 10.6.8.  However I'm not sure that has anything to do with the problem?  I do not have "show all member addresses selected."  Your help is appreciated.

  • 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.

Maybe you are looking for

  • Can't open Acrobat 9 Pro or Distiller after installation

    All seemed fine: Installation by Drag and Drop, done Entering the Product key, Done Entering Registration Informations, Done But since that Acrobat 9 Pro does nothing. I only see the "buisy" mouse pointer, which is the turning watch, but Acrobat does

  • To Find the instance name in RMAN catalog

    Hi , I have rman catalog which got registered 150 databases. Am able to get the dbname,id for the 150 databases but not able to get the server name (host name) of the correspoding databases in catalog views as well as in db views. Kindly revert us if

  • HT1338 My new magic mouse will not one finger scroll left and right

    I am up to date with software but after connecting my new magic mouse it will not one finger scroll left and right. It does scroll up and down. Any ideas on what may be wrong??

  • How can i block users for a particular transaction???

    Hi SAP Experts, wishes for the day. TDS related entries should be passed from the accounting side but the tds entry has passed from MM side (while preparing miro) at my client place.and now they want to restrict the tds kind of entries to the MM user

  • Creating java doc

    i had ever used even a single comment in my program.. now i learned the java documentations theariticaly .. please give me a guide how to create it . iam using myeclipse ide.. say me what are the steps i have to follow in the following example.. * cl