Change the Sender email address in the FM : SO_NEW_DOCUMENT_ATT_SEND_API1

Hi All,
I am using FM : SO_DOCUMENT_SEND_API1 to send emails . When I provide the sender_address option , this FM is returning with error 6 and doesnt send emails.
          data: w_sender_addr like  SOEXTRECI1-RECEIVER.
          w_sender_addr = my personnel mail id.
         call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          call function 'SO_DOCUMENT_SEND_API1'               " changed only to have sender address option
            exporting
              DOCUMENT_DATA              = W_DOC_CHNG
              PUT_IN_OUTBOX              = C_X            "X
              SENDER_ADDRESS             = W_SENDER_ADDR
              commit_work                = 'X'
            tables
              PACKING_LIST               = IT_OBJPACK
              OBJECT_HEADER              = WA_OBJHEAD
              CONTENTS_BIN               = IT_OBJBIN
              CONTENTS_TXT               = IT_OBJTXT
              RECEIVERS                  = IT_RECLIST
            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.
Please help
Rgds,
Madhuri
Edited by: madhuri sonawane on May 14, 2009 1:51 PM
Edited by: madhuri sonawane on May 14, 2009 1:51 PM

Hi Madhuri,
The code which I sent you worked perfectly for me. Because, when I get the sap user id, the ADRC table will have the details like its mail id. And so, I passed the mail id retrieved from User ID.
Thanks,
-Syed.

Similar Messages

  • Changing sender email address via rewriting rules

    My objective is to change my sender email address. For example, suppose my OCS email address is [email protected] and I would to send an email to [email protected]
    John logs into yahoo mail and would see my mail. Upon opening my email, I would like John to see that the sender email address to be [email protected] so that whenever John replies my mail, the replied mail would go to [email protected] and not to [email protected]
    I read the email admin guide and I configure the Sender rewriting rules within SMTP_OUT. I have key in the following within the Sender rewriting rules: $*@test.abc.com.my,$[email protected]
    I restart the SMTP_OUT services and I check the log files in MIDTIER_HOME/oes/log/um_system/SMTP_OUT/12345
    I found out that the rewriting rules have take effect on one of the lines.
    Then I log into OCS as user Andrew with test.abc.com.my domain and send an email to yahoo.
    I open my yahoo mail, which I receive the email.
    However the sender email address remains unchanged which is [email protected]
    How can I change the sender email domain?
    thanks;
    andrew

    Your observation is very correct in terms of symptoms, not of behaviour. We have numerous ER's there enabling header rewriting, too. Obviously for you, envelope rewriting works well, without to achieve the target you want to address. Please forward your request to Support Services with an Enhancement Request for native header rewriting.
    Otherwise 3 ways:
    1 Milter C-SDK
    2 Milter general
    3 relay accomplishing this task.
    On 2,3 we have samples ready, for 3 in particular for postfix.

  • I am trying to change my primary email address for it has been compromised. the email address I am trying to change it to is my rescue email address? how do I change my primary email address?

    I am trying to change my primary address for it has been compromised. The email address I am trying to change it to is my "rescue" email address. How do I change my primary email address to my rescue email address? can I delete my rescue email address so I can use it as my primary?

    You will have to delete your rescue email address first, then go back and change your primary.
    Source: http://support.apple.com/kb/ht5312
    You can edit or delete your rescue email address at My Apple ID. To edit your rescue email address:
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so. 

  • I want to change my id email address, but I need to change it to the address that is my repair address and it will not let me do it.  How can I make the change?

    I need to change my id email address.  The address I need to use is also my repair address and it will not let me make the change.  Can someone help me. I cannot find a phone number to call that will help me with this problem.

    There isn't a phone number for iTunes Support.
    If you mean that the address is your rescue email address then follow the steps half-way down this page for changing it http://support.apple.com/kb/HT5312 :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.
    You can then try using it as your primary email address on your account (you may need to log out and back in after removing it as your rescue email address).

  • My ipod has had a previous owner How do I change my ipods email address so that when I try to down load anything it asks for the previous owners password but when I go to my account it says its my email my account but not when I try to download????

    My ipod has had a previous owner How do I change my ipods email address so that when I try to down load anything it asks for the previous owners password but when I go to my account it says its my email my account but not when I try to download can anyone please help me ????Plus it still has some of the previous owners pictures and videos on it that I want to delete and can't????? Also is there a way to kill the apps that u have used throughout the day the battery doesn't last long at all ??????

    - How did you dlete stuff from the iPod? If you have a 1G or 2G iPod and deleted the stuff by going to Settings>Genera.>Reset>Erase aall contents and settings without being connected to a power source, the battery dies before he erase was comleted since it can take hour.
    - In any event try the following:
    - Connect to a chaging sour for three hours.
    - Reset the iPod and then connect to the computer and try to restore va iTunes.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next try placing the iPod in recovery moe and then try to restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Last try DFU made and restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How can I change my iCloud email address when the account that is attached to my iCloud right now does not exist. I tried to delete the account attached to my iCloud on my iPhone but it requires a password. The password I type in does not work because I h

    help please

    If the old ID ("email address") is your ID, and if your new ID was created by editing the details of this old ID (rather than being an entirely new ID), go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I need to change my iCloud email address.  I changed it for my Apple id but I can't log out of iCloud to change it there.  Find my iPad is activated so I can't delete my iCloud account.  I don't have the email address the iCloud login has anymore.

    I need to change my iCloud email address.  I changed it for my Apple id but I can't log out of iCloud to change it there.  Find my iPad is activated so I can't delete my iCloud account.  I don't have the email address the iCloud login has anymore so I can't have the password sent there.  To sum it up, iCloud has an old email for the account log-in.  I don't remember the password for the old email.  I have Find My iPad activated so the iCloud account cannot be deleted.  And I am already logged out of iTunes & App Store. 

    If you mean that Find My Phone is asking for a password to a different Apple ID to your current Apple IDand that ID is a previous version of your current ID, not an entirely different one.
    This feature has been introduced to make stolen phones useless to those that have stolen them.
    However it can also arise when the user has changed their Apple ID details with Apple and not made the same changes to their iCloud account/Find My Phone on their device before upgrading to iOS 7, or if you restore from a previous back up made before you changed your details and some other circumstances.
    The only solution is to change your Apple ID back to its previous state with Apple at My Apple ID using your current password, you don’t need access to this address if it’s previously been used with your Apple ID, once you have saved these details enter the password as requested on your device and then turn off "find my phone" and delete the account from your device. It may take a short while to remove the account.
    You should then change your Apple ID back to its current state, save it once again and then log back in using your current Apple ID. Finally, turn "find my phone" back on once again.
    This article provides more information about Activation Lock.

  • HT204053 I changed my AppleID email address because my old address expired, and I can access it on iTunes, but whenever I try to log into iCloud from my MacBook it won't let me sign in under the new AppleID - the old ID keeps showing up. How do I change t

    I changed my AppleID / email address after my old email expired, and now whenever I go to sign into iCloud on my computer it still shows my OLD AppleID in the log-in and it won't let me change it. So I can't sign into iCloud! I can still sign into iTunes though from my iPhone and laptop, but iCloud isn't working anymore, where do I go to update my AppleID in the log-in for iCloud???

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • HT204053 how do i change my icloud email address from the one i already have input?

    how do i change my icloud email address from the one i already have input?

    Hi sparkie,
    You cannot change your iCloud email address. It is an @me.com address, and is associated specifically with that iCloud account. If you want a different @me address assigned, you have to delete the current iCloud account and set up a new one.
    Here is a link with all the support information for iCloud:
    http://www.apple.com/support/icloud/
    Hope this helps!
    Cheers,
    GB

  • HOw do I change my rescue email address?  I want to change my Apple ID and it's telling me that it can't be the same as my rescue email , even though I have already deleted "alternate email address"

    HOw do I change my rescue email address?  I want to change my Apple ID and it's telling me that it can't be the same as my rescue email , even though I have already deleted "alternate email address"

    See Kappy's previous write-up.
    Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities

  • Can I change my iCloud email address and keep all of my music, apps, files and mail in the cloud and on all of my devices?

         Ok, so here's the deal. I want to change my iCloud email address. Ultimately I want to keep the same Apple ID and simply edit the part before the '@icloud.com'. If this is not possible, can I make a new Apple ID and transfer all of music, apps, files, and mail to the new Apple ID and all of my other devices?
                        Thanks in advance, Scotty P.

    You cannot change your iCloud email address but you can setup a new alias: http://help.apple.com/icloud/#/mm6b1a490a
    You cannot transfer purchases from one AppleID to another.

  • I show and old defunct email address for my Apple ID on my APP store, iCloud, and iTune accounts and cannot log in.  I am told my ID or password is incorrect.  I did change my primary email address.  that is the app ID that is showing.

    How do I rename my App Store, iCloud, and iTunes accounts so i can update apps and software?  I have closed the original email address i started my App Store, icloud, and iTunes account and cannot log in unders that Apple ID.  I have tried going through device and my MacBook Air.  Where can i get on-line assistance?

    If you mean you are trying to delete your iCloud account in iOS 7 and you don't know the passwod for the old ID, do one of the following:
    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You should then be able to turn off Find My iPhone with your password. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back and change your primary email address and iCloud ID back to the way it was.  You will then be able to go to Settings>iCloud and sign in with your current ID and password to reconnect to your iCloud account.
    If you don't have access to your old email address, you will have to contact Apple to get them to reset the password for it so you can disable Find My iPhone and sign into your iCloud account.  You will have to prove your identity to them in order to do so.  You can either contact iTunes support for assistance with this (https://ssl.apple.com/emea/support/itunes/contact.html), or contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • I have released my rescue email address is not a valid address, ie it has been entered incorrectly.  how do i change my rescue email address when i can't remember the answer to my security questions???

    ... realised... sorry

    You won't be able to change your rescue email address until you can answer 2 of your questions - you will need to contact iTunes Support or Apple to get the questions reset.
    e.g. you can try contacting iTunes Support :http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then 'Forgotten Apple ID security questions'
    or try ringing Apple in your country and ask to talk to the Accounts Security Team :http://support.apple.com/kb/HE57
    When they've been reset you can then use the steps half-way down this page to update your rescue email address for potential future use : http://support.apple.com/kb/HT5312. Or you could change to 2-step verification : http://support.apple.com/kb/HT5570

  • How to i change my reduce email address if i do not know the answers to my security questions?

    I want to purchase an app off appstore however i do not know the answers to my security questions and my rescue address is wrong How do i cahnge my rescue email address?

    Go to https://appleid.apple.com. You want to Manage your Apple ID. Sign in with your Apple ID and password. You can change both your email address, your password and your security questions here.
    Best of luck.

  • Hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    hey I have a problem. I want to change my rescue email address as somehow apple has the wrong one but I don't know my security questions - but you need one to change the other. Any help?

    You can get your Security Questions reset by contacting iTunes Support at either of the two links below. Select the best options for your issue, or provide specific information. Let them know you are contacting them concerning Forgotten Security Questions. They will get back to you via your primary email address, usually within 24 hours. Once your Security Questions have been reset, you will be able to go in and reset your Rescue email address on your account:
    http://www.apple.com/support/itunes/ww/
    or by email:
    http://www.apple.com/emea/support/itunes/contact.html
    Cheers,
    GB

  • HT5312 Hello everyone, i need to change my rescue email address in order to retrieve the answers to my secret questions which I forgot. Any clues on how to do that? Thanks in advance

    Hello everyone, i need to change my rescue email address in order to retrieve the answers to my secret questions which I forgot. Any clues on how to do that? Thanks in advance

    If you can't remember your security questions go to  Express Lane , select iTunes from the list, then iTunes store.    On the next screen select account Management.    There, select iTunes store account security and write that you would like to reset your security questions and / or answers.
    You should get an eMail reply over the next 24 hours.

Maybe you are looking for

  • ISO vs UTF-8

    La migración de la BBDD de una aplicación desde un encoding ISO-8859-1 a otra con enconding UTF-8 puede presentar problemas durante el proceso de import debido al tratamiento que el encoding UTF-8 realiza de los campos CHAR, VARCHAR y VARCHAR2. El or

  • Compilation errors in default toolbox application in jdev 10g

    jdev version: 10.1.3.3 OA Framework version (as per the instance): 12.1.3 First of all I could not find OA Framework Dev Guide for 12.1.3. So I am referring to OAF 12.1.2 dev guide. Please let me know if this is ok. If not, please let me know where I

  • Edit in External Editor does not work

    Hi, I added as External Editor Photoshop CS3, but no matter what option I chose as file format, bit depth or color space, Lightroom will always apply the defaul setting in "Edit in Adobe Photoshop CS3" preference tab, rather than the one I select. Do

  • How to view data into Infocube

    Good Morning everybody. I would like to know if somebody have any document with informations about RSA1, as for example "How to create a Back Up Infocube?" "How to view data into infocube?" If you can send me dacampos at br.ibm.com Thanks a Lot Danie

  • RMI server exits after 10 minutes

    Hi I have a strange problem: The rmi server exits after about 15 minutes when using my own socket factories. The reason seems to be, that only daemon threads are left in the servers VM. If I add code like: while(true) { try { Thread.sleep(10000000);