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

Similar Messages

  • Change sender Address when using SAP Mail via Exchange

    Hi,
    I'm using FM  ZSO_DOCUMENT_SEND_API1 to send email with .pdf attachment. all works fine but the recipient sometimes replies to the email which I dont want to happen, so I need the email to appear to have come from an alternative address than mine.e.g. from 'saphelpdeskatxxx.com' 
    ....code I have tried to change is Originator here...
    CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
              EXTERN_ADDRESS             = ' '
              FOLDER_ID                  = ' '
              FORWARDER                  = ' '
                OBJECT_FL_CHANGE           = OBJECT_FL_CHANGE
                OBJECT_HD_CHANGE           = OBJECT_HD_CHANGE
              OBJECT_ID                  = ' '
                OBJECT_TYPE                = OBJECT_TYPE
                OUTBOX_FLAG                = PUT_IN_OUTBOX
                ORIGINATOR                 = ORIGINATOR  <----
                ORIGINATOR_TYPE            = ORIGINATOR_TYPE
              OWNER                      = ' '
              STORE_FLAG                 = ' '
           IMPORTING
                OBJECT_ID_NEW              = OBJECT_ID_NEW
                SENT_TO_ALL                = SENT_TO_ALL
                ORIGINATOR_ID              = SENDER_ID
    but that doesnt work.
    Is this something I need to do with Exchange and not SAP?
    Any help appreciated.
    Steve

    Hi Aditya,
    I took a copy of the SOI1 function group, called it ZSOI1. Copied Function  SO_NEW_DOCUMENT_ATT_SEND_API1 to Z version. In there there's a call to FM ZSO_DOCUMENT_SEND_API1
    In call arguments set SENDER_ADDRESS to desired static email address, then set SENDER_ADDRESS_TYPE = 'SMTP' - it was that statement that I was stuck on for months
    Hope that helps,
    Steve

  • 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

  • Can't send mail when using mobile broadband

    Hi
    I am getting quite frustrated as I can't send mail when using my mobile broadband modem! I can receive mail, and surf the internet etc, but mail just wont send!(i get the usual cannot send try later/resend options). I thought this might be an issue with my mobile broadband but have recently reinstalled it. When at home on a wireless network I have no such issues.
    Any help appreciated
    Charlie

    Cgienke wrote:
    I am not using a SMTP it is a Pop3 domain name account from freeparking and uses mail.'NAME'.com for incoming and outgoing mail!
    Even though your e-mail service uses the same URL for POP3 and SMTP servers, in the software sense you actually do have separate POP3 and SMTP servers, although they may be hosted on the same machine, or the requests are routed via some "smoke and mirrors" to the right host.
    It is not related to my ISP at home, which is Virgin media. My mobile broadband provider is 3. I was thinking it might be that I need to change the port settings in mail when using my mobile modem, but don't know what to change them too(or how to do it!) or configure the modem differently but again not sure what to do there!
    Check with the freeparking online help to see if it supports port 587 or some such.
    Also try Mail's "Connection Doctor" (under the Window menu) when you're away from home to see if that shows anything useful.
    Since you can send e-mail from that SMTP server when you're at home but not when you're using your mobile broadband, I think one of two possibilities is likely: (a) Your mobile broadband provider is blocking your attempts to access the freeparking SMTP server and/or port. (b) The freeparking SMPT server for some reason doesn't like being communicated with via your mobile broadband provider. I'd check with each of them to explore these options.
    Does your mobile broadband provider have an SMTP server that you can use instead of the freeparking one?
    My modem(Huawei E220) is not particularly Mac friendly as it is, and I believe Mail can be quite sensitive when servers don't respond immediately?
    Yes. Mail seems to have a fixed time-out value for server responses.

  • My Photosmart D100a wireless printer keeps changing IP Address when router reboots.

    My Photosmart D100a wireless printer keeps changing IP Address when router reboots.
    This question was solved.
    View Solution.

    Let's set a static IP address for the printer:
    - Print a Network Config Page from the front of the printer. Note the printer's IP address.
    - Type that IP address into a browser to reveal the printer's internal settings.
    - Choose the Networking tab, then Wireless along the left side, then the IPv4 tab.
    - On this screen you want to set a Manual IP. You need to set an IP address outside the range that the router automatically sets (called the DHCP range). If you do not know the range, change the last set of numbers (those after the last '.') to 250
    - Use 255.255.255.0 for the subnet (unless you know it is different, if so, use that)
    - Enter your router's IP (on the Network Config Page) for the gateway.
    - Enter 8.8.8.8 for the first DNS and 8.8.4.4 for the second DNS.
    - Click 'Apply'.
    Now, shut down the router and printer, start the router, wait, then start the printer.
    After this you may need to redo 'Add a Printer' using the new IP address.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Error ORA-06502 When using function REPLACE in PL/SQL

    Hi,
    I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length)
    variable var_a is of type CLOB
    and the assignment statement where it gives the error is
    var_a := REPLACE(var_a, '^', ''',''');
    Can anyone please help!
    Thanks

    Even then that shouldn't do so:
    SQL> select overload, position, argument_name, data_type, in_out
      2  from all_arguments
      3  where package_name = 'STANDARD'
      4  and object_name = 'LPAD'
      5  order by 1,2
      6  /
    OVERLOAD   POSITION ARGUMENT_NAME                  DATA_TYPE                      IN_OUT
    1                 0                                VARCHAR2                       OUT
    1                 1 STR1                           VARCHAR2                       IN
    1                 2 LEN                            BINARY_INTEGER                 IN
    1                 3 PAD                            VARCHAR2                       IN
    2                 0                                VARCHAR2                       OUT
    2                 1 STR1                           VARCHAR2                       IN
    2                 2 LEN                            BINARY_INTEGER                 IN
    3                 0                                CLOB                           OUT
    3                 1 STR1                           CLOB                           IN
    3                 2 LEN                            NUMBER                         IN
    3                 3 PAD                            CLOB                           IN
    4                 0                                CLOB                           OUT
    4                 1 STR1                           CLOB                           IN
    4                 2 LEN                            NUMBER                         INI wonder what happened?

  • I am having problems sending emails when using apps. I dont receive any emails when I try to send documents such as pdf or pictures. I tried sending it to my other email account but I don't get any email. What is wrong?

    I am having problems sending emails when using apps. I dont receive any emails when I try to send documents such as pdf or pictures. I tried sending it to my other email account but I don't get any email. What is wrong?

    System Preferences > Network > your-connection-medium > (Assist me) > ( Diagnostics )
    This sometimes provides additional helpful information, sometimes not so much.

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

  • E-mail button changes email address when submitting

    Hello,
    For some reason when I try to e-mail my form when I hit the submit by e-mail button in the Send Form that pops up the e-mail address that the form is supposed to be sent to is different than what I have set it up to be on the form. I have tried creating the e-mail submit button using the e-mail button from the standard library and by using a regular button and changing it to a submit button, but it does not make a difference.
    Can anyone tell me how to get it to not change the e-mail address when I try to submit my form? The e-mail address I have entered it to be sent to is: [email protected] but when I go to submit when testing my form it adds an "a" onto the end of association so the e-mail address is changed to: [email protected]
    this means that when I submit it the form does not go to my inbox because the email address is wrong, even though the e-mail address is entered correctly in the Object palette in LiveCycle Designer.
    Thanks
    Tamara

    Hi Tamara,
    It seams to be a glitch with your version of LiveCycle Designer. It should work if you manually change the auto-generated script instead of using Designer's dialog. Here's how you can do that:
    1) Select your email submit button and open the Script Editor (Ctrl+Shift+F5)
    2) Make sure you select the 'click' event or 'Events with Scripts' filter at the top left of the script editor window next to 'Show:'
    3) Near the end of the script (line 57 and 59) you will see 'mailto:' followed by the faulty email address you were seeing.
    4) Change it to what you need it to be (both lines)
    I have an earlier version of Designer, so I can't test it myself, so let me know how it works for you.
    You can also find it edited here. I also made your tables flow for you.
    Kyle

  • Is it possible to change sender address from internal to external

    Hi
    I'm trying to find a way to send emails with exchange 2010 sp1 and change the from address
    for example i want to block send address [email protected] and send it as [email protected]
    Both email addresses existing as users (not alias)
    i want to assign the bb*@conto.com  email addresses to blackberries and droids
    Any ideas?
    Regards

    As a rule, you cant change the FROM: when sending from clients when using Exchange, except when using POP or IMAP, or two separate mail-enabled accounts that the user has SEND AS permissions for, or if you use 3rd party products such as ChooseFrom:
    http://www.ivasoft.biz/choosefrom2007.shtml
    If you want to do this from a mobile device, you will need to contact support for that device and ask them if that is possible in an Exchange environment.
    P.S. 2010 SP1 is no longer supported. 
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • PDFG IPP Printer --- Change Sender Address

    We have recently purchased LiveCycle ES PDFG and want to use the built-in IPP printing functionality. We have it working for the most part but the process fails at our SMTP server. Our SMTP servers only accepts senders address with valid domains. The error is as follows: <br /><br />2009-03-10 15:49:34,379 INFO  [com.adobe.ipp.pdfgclient.EmailSender] EmailSender error : 553 5.1.8 <serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address serviceaccount@LIVECYCLESERVERNAME does not exist<br />2009-03-10 15:49:34,379 INFO  [STDOUT] java.lang.Exception: 553 5.1.8 <sa-serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address sa-serviceaccount@LIVECYCLESERVERNAME does not exist<br /><br />I've configured the following services with a valid domain ID to authenticate to our SMTP server (Email 1.0; EmailService 1.0; provider.email_sendmail_service 1.0) and populated the "from" field in Email 1.0 with a valid domain account as well. Restarted all the services, rebooted the server... still no luck.<br /><br />Forgive me, but I don't have much experience with this product.  We have a very short turnaround to roll this out and any help would be appreciated. Cheers.

    We have recently purchased LiveCycle ES PDFG and want to use the built-in IPP printing functionality. We have it working for the most part but the process fails at our SMTP server. Our SMTP servers only accepts senders address with valid domains. The error is as follows: <br /><br />2009-03-10 15:49:34,379 INFO  [com.adobe.ipp.pdfgclient.EmailSender] EmailSender error : 553 5.1.8 <serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address serviceaccount@LIVECYCLESERVERNAME does not exist<br />2009-03-10 15:49:34,379 INFO  [STDOUT] java.lang.Exception: 553 5.1.8 <sa-serviceaccount@LIVECYCLESERVERNAME>... Domain of sender address sa-serviceaccount@LIVECYCLESERVERNAME does not exist<br /><br />I've configured the following services with a valid domain ID to authenticate to our SMTP server (Email 1.0; EmailService 1.0; provider.email_sendmail_service 1.0) and populated the "from" field in Email 1.0 with a valid domain account as well. Restarted all the services, rebooted the server... still no luck.<br /><br />Forgive me, but I don't have much experience with this product.  We have a very short turnaround to roll this out and any help would be appreciated. Cheers.

  • Send Address Mail Uses

    I have multiple email accounts set up. When I compose a new message, it always uses the send address of the message that is selected in the open window. Is there anyway to set a particular address as default or better yet don't pick an address and force me to select one from the pull down list?
    Doug Eaton

    DougEaton, Welcome to the discussion area!
    Well, this is a Tiger discussion area. That is why you got a Tiger answer.
    You may want to post in the Mac OS X v10.3 Panther & earlier > Mail & Address Book discussion area.

  • It's happening again...trouble sending email when using 3G

    I had this problem in the past...probably over a year ago and it seemed to resolve itself on its own. Cox is my isp so I'm sure that has something to do with it.
    when trying to send email over wifi from home, it's great. But switching to 3G, out of the house, I seem to have problems. I get the message "The sender address is not valid". Now the weird part is if I go into settings and turn on SSL, it MIGHT send after that...but it doesn't happen all the time. Sometimes, I'll turn SSL on...then go back and turn it off again and mail will send. Then sometimes, neither works. Is this a known issue?
    I recently upgraded to 3.0 on a 3G. That's when the problem came back.
    Message was edited by: Jovi Guitarist

    Hi,
    my problem seems to be solved very easy. It seems, that Aplle switch off the servers on mac.com (wich was used for me.com), without any annocment :-))) But MobileMe configuration still was the same like at the beginning and it use mac.com servers
    I deleted MobileMe account on my iPhone and after thet add once again.

  • Error message when using function module HRIQ_TESTRESULTS_CREATE

    Hi,
    I need your help, I'm trying to use function module HRIQ_TESTRESULTS_CREATE to create external test results, I've used this function before without subscores, now I need to create subscores, but I get the message: "Grading scale UBID applies".
    The test type EXAM_UB_ING has assigned the UBID academic scale, which has a range from 1 to 677. Test type EXAM_UB_ING has 3 subtests (grammar, listening and reading) which also have the UBID academic scale assigned.
    I think this isn't a customizing problem because I can create test results with subscores using the PIQST00 transaction, the error message happens just when using the function module.
    I'm using this import parameters:
    STUDENT:
    PL:           01
    OT:          ST
    OBJID:     Student ID
    TESTRESULTS_HEADER:
    ISSUEDATE                      08.02.2010
    VALIDDATE                      30.04.2010
    TEST_GUID
    TESTEO                         50000269
    TRANSEO                        00000000
    TESTTYPE                       EXAM_UB_ING
    SESSIONID                      T1
    SESSIONYEAR                    2010
    ENTRYDATE                      08.02.2010
    TESTPASSFAIL
    TESTTOTRES                     458
    TESTSCALE_ID
    TOTALPERCENT1                   0,00
    TOTALPERCENT2                   0,00
    ENTRYMODE
    SUBTY
    Table TESTRESULTS_SUBSCORES:
    SUBTESTID            GRAMMAR
    SUBTESTTRES      GRAMMAR
    SUBT                     203
    SUBTESTID            READING
    SUBTESTTRES      READING
    SUBT                     120
    Does anybody know which could be the error? Or any other function module which I can use? (with HRIQ_TESTRESULTS_PROCESS_DATA I get the same error message).
    Thanks in advance!
    Araceli

    Araceli,
      I just noticed. You are populating SUBTESTSCALE_ID in subtest result structure.That's the reason it's throwing this error. it is trying to match Scale ID from test with value in sub test result scale ID.
    Prabhat Singh

  • Track Changes in Pages when using Voiceover

    Has anyone successfully used theTrack Changes feature in Pages when using Voiceover? I can find out how many changes there are and navigate to them, but it's not good at telling me what the change is so I can decide to accept or reject. Has anyone got any tips for using this feature? I'm using Pages 5.2.

    TC,
    You might enjoy reading Chapter 4 of the Pages User Guide PDF. You can download it from the help menu.
    Jerry

Maybe you are looking for

  • Session in ATG

    Hi,   For what functionality session is used in ATG, i.e what is the use of session in ATG. and how is it achieved in ATG???? Components : session scoped Repository : Transient properties   Session cookies: ???? Regards

  • Getting Errors setting up BC Email

    Hi, I'm receiving an error message when trying to set up an email address with Business Catalyst. The primary domain for this website is www.weddingphotography-temecula.com  and I also have anthonydavid.photography setup to be the "Default Domain" fo

  • I would like to change the font size (make it larger) in the Finder SIDEBAR

    I would like to change the font size (make it larger) in the Finder SIDEBAR in Leopard.

  • Oracle collection

    Is it possible to call a PL/SQL procedure from Java with a PL/SQL table as a parameter? thanx

  • Sun 8: ClassCastException from ManagementHome

    I am trying to use JMX from Sun 8 using a java application client. When I tried: Context ctx = new InitialContext(properties); Object objref = ctx.lookup("ejb/mgmt/MEJB"); ManagementHome home = (ManagementHome) PortableRemoteObject.narrow(objref, Man