Problem with sender name CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

Hi All ,
I am using below function module to send a mail to external email Id's  , Everything is working perfectly  .
But  in the sender address I have passed text as 'infomation '  , In email which i am recieving sender address is like text and '@xyz.com' .
Any idea from where this @xyz.com is picking  ? .
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
            document_data              = gd_doc_data
            put_in_outbox              = 'X'
            sender_address             =  'Information'
            sender_address_type        = 'INT'
            commit_work                = 'X'
       IMPORTING
            sent_to_all                = gd_sent_all
       TABLES
            packing_list               = it_packing_list
            contents_bin               = it_attachment
            contents_txt               = it_message
            receivers                  = it_receivers
       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.

Hi All ,
I am using below function module to send a mail to external email Id's  , Everything is working perfectly  .
But  in the sender address I have passed text as 'infomation '  , In email which i am recieving sender address is like text and '@xyz.com' .
Any idea from where this @xyz.com is picking  ? .
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
            document_data              = gd_doc_data
            put_in_outbox              = 'X'
            sender_address             =  'Information'
            sender_address_type        = 'INT'
            commit_work                = 'X'
       IMPORTING
            sent_to_all                = gd_sent_all
       TABLES
            packing_list               = it_packing_list
            contents_bin               = it_attachment
            contents_txt               = it_message
            receivers                  = it_receivers
       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.

Similar Messages

  • Problem with variable name in ZXRSRTOP include (virtual KF)

    Hi all,
    I am coding a routine to use a virtual key figure in the BEx.
    I have just a little problem with the name of a variable:
    as explained in the documentation, I created the variable with the prefix G_POS_, the name of the infocube and the name of the infoobject all together:
    DATA: G_POS_BC_ST_003_C_DIV__C_COMPAR   type i.
    The problem is that this variable name is longer than 30 characters, so the system doesn't accept it.
    Is there a workaround, other than changing the name of the infoobject (which is a navigational attribute)?
    Any help would be appreciated.
    Loï

    Hello Marc,
    I understand that I have to use a concatenate function and a dynamic call of the variable with (variable) instruction, but i do not understand how to implement it.
    the infocube name is BC_ST_003
    the characterisdtic name is C_DIV__COMPAR
    So, in the include ZXRSRTOP the statement
    DATA : G_POS_BC_ST_003_C_DIV__COMPAR
    does not work due a length problem (see first post)
    But in the same include the statement
    +DATA: l_global_name type c.
    concatenate 'GPOS' 'BC_ST_003' 'C_DIV__C_COMPAR' into l_global_name separated by '_'.+
    drives to the following error : statement is not accessible.
    Could u please provide me with an example of the code in the include ZXRSRTOP, and in the include ZXRSRZZZ for the use of this variable.
    Thanks in advance.
    Loï

  • Mail and iPhoto Problems with sending photos.

    Mail and iPhoto Problems with sending photos.
    I have this problem that started a while ago and seems to be getting worse.
    Here are the different scenarios.
    -If I try to share a photo to email within iPhoto, it will insert the image file name in the mail message, but no image icon or opened image. In iPhoto Preferences under General I have chosen to use Email Photos using Mail.
    -If I choose to use iPhoto to send the photo, it will compose the message and the photo is viewable. If I send the message i can view the photo within the email I sent to myself. Nothing happens when I double click on the photo in the Mail message. Nothing happens when i control click on the photo in the mail message. Nothing happens when I try to drag the photo to the desktop from the mail message. When I try to save attachments from the email and choose a place to save it, the save button is grayed out and it cannot be saved. When I check the mail message it says there is an attachemnt but there is no file size listed.
    -If I use the stationary within Mail app I cannot drag a photo into the placeholder, I get a circle with a line through it symbol when I try. It happens if I try to drag a photo from the desktop or from the media browser within Mail app.
    -If I drag the photo to the desktop from iPhoto, I can double click it on the desktop and it will open in Preview.
    -If I then control click on the same photo on the desktop and scroll to share/email, the generic photo icon will be inserted in the mail message. If i double click the photo icon in the mail message  I get a message it can't be opened because it is empty.
    -If I drag that same image to the mail message body the same thing happens.
    -If I send that email to someone they cannot open the image file.
    What I can do:
    - I can drag that same image file on the desktop to my dropbox folder and  it will upload. From there I can go on my iPad and download the photo and send it through email just fine.
    -I can open the same image file on my desktop in Preview, I can copy and paste it into a mail message and the image will be viewable in the mail message by me and by the recipient.
    -I can drag that same image on the desktop to my safari browser window and it will be viewable in the page. i can then copy and paste that image into a mail message and it is viewable in the message.  I can then send that email message to myself and i can control click on the image and get all my options. It also shows as an attachment with the size of the image file in the mail message.
    I can send that message to someone and they can see the photo and open it fine.
    -If I send that same email to me I can see the photo within the mail.  If I then drag that photo to the desktop I cannot use it again to put in an email as the same problem happens again.
    I have tried all scenarios in my user account, another users account and in a guest account. The same happens in all. I am guessing because of this it is not a corrupt preference file, unless all of the preference files are corrupt. The guest user account I added a new email account so it was brand new and still had the problem.
    I am stumped, all and any help is appreciated.

    Another problem that may be related….
    I have Snapz Pro. I used to be able to save the snaps to my desktop or a folder. Now when I take a screenshot and try to save the file to my desktop or a folder on my desktop I get this message  "Files cannot be created in the selected location. You do not have permission to write to the selected location.   Please choose a different location."  I have found that i can only save the file to the clipboard.   I have repaired permissions many times and still I have this problem.

  • Problem with reserved names

    hi everyboody
    i have a problem with reserved names
    i have a table t
    drop table t;
    create table t
    t_id int,
    "DATE" date
    then i insert it
    insert into t values(1,'15.04.10');
    insert into t values(2,'16.04.10');
    select * from t;
    it'sw work correct
    T_ID DATE
    1 15.04.10
    2 16.04.10
    but when i try to create procedure for insert, like this
    create or replace procedure my_proc(p1 int,p2 date)
    as begin
    insert into t values(p1,p2);
    end;
    i receive error message
    i know that the problem is with the name of the second column called "DATE"
    and if we changed this name (for example "tDATE") the procedure will be work
    but i can't change this name
    if anybody knows the solution please help me

    Karthik:
    No, it is not a bug, it is just the way that Oracle works. The list of reserved words can be found in the view v$reserved_words. There is a column in that view called reserved. A word that is in the view and has Y in the reserved column is "really" reserved, that is you will get an error if you use it in an inappropriate place (like a column name) without quoting it. Words with N in the reserved column should not be used as object names, but because they either became special later in Oracle history or for other reasons can be used unquoted but shouldn't be.
    Although I don't know the exact internal mechanism, from experience, it appears to work this way. When Oracle stores the name of a table or column, it always makes it upper case, unless it is double quoted in which case the case is preserved. When it retireves the names, it does not make any changes to the name as it is stored, so always retieves the name as it was stored.
    In the OP's case, by using double quotes he got around the reserved word issue, but by using all upper case within the double quotes what ended up stored in the data dictionary was a reserved word. The sql statement probably worked in sql because it is just doing a string match to see if the specified column names are right, and in the absence of a column list, may even be just looking to see if the type and number is correct without actually looking at the name. I suspect this because it works even if you explicitly list the columns as long as DATE is double quoted.
    SQL> INSERT INTO t (id, "DATE") VALUES (1, sysdate);
    1 row created.
    SQL> roll
    Rollback complete.However, if you do not double quote the column, you get:
    SQL> INSERT INTO t (id, DATE) VALUES (1, sysdate);
    INSERT INTO t (id, DATE) VALUES (1, sysdate)
    ERROR at line 1:
    ORA-01747: invalid user.table.column, table.column, or column specificationIn the case of the PL/SQL, my quess would be that the compiler is retrieving the column names form the data dictionary, then barfing on something similar to the ORA-1747 error above in the compilation process.
    John

  • Problems with sending via url

    Hi there, I've got a problem with sending via an URL. If I send and receive something I use a method called connect. This method works well, I construct a URL, connect and receive an ObjectStream.
    But as I only want to set some values in another use case I do not want to receive anything,
    But it doesn't work - my servlet does not receive any request.
    Could anyone please help me to solve this?
    Thank you.
    Regards
    Tarik
    private synchronized static void connectOneWay(String data)
                throws IOException, ClassNotFoundException {
            try {
                URLConnection connection = null;
                URL testServlet = null;
                Class classLock = ServletConnector.class;
                while (locked)
                    classLock.wait();
                locked = true;
                testServlet = new URL(servletURL + data);
                if (MMSCMSTree.debug)
                    System.out.println("Servlet URL: " + testServlet);
                connection = testServlet.openConnection();
                connection.setDoInput(false);
                connection.connect();
                locked = false;
                classLock.notify();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

    Hi
    There was not a problem with this, the problem was on the server side, infinite loop ... :-)
    Regards
    Tarik

  • Problems with sending/receiving picture messages

    Does anyone know how to sort problems with sending/receiving picture messages on the iphone 4S?  I've gone through all the re-setting etc at the place I bought it and it still doesn't work!! Spoken to 02 and they said it's an issue with Apple software?? Any help appreciated.

    Can you send/receive SMS's? If so, and you can't send/receive MMS's, and MMS is turned on in Settings, 99.9% of the time the problem is on your carrier's end...most likely MMS is not provisioned properly on your account, regardless of what your carrier is telling you. Call back & have them remove MMS from your account & then re-provision your account for MMS.

  • Problem with sending text messages replies

    After update to OS 3.0 I have problem with sending text messages:
    - I CAN send new text message to someone but
    - When someone REPLY me, then I CANNOT send next message in conversation
    - If I DELETE someone's reply from that conversation text message sends fine.
    Anyone have this problem? I have iPhone 3g with OS 3.0 update, previously on 2.x the problem didn't appear. Carrier Orange in Poland

    no my girlfriend, was useing my old N75, now she is useing her old phone last night and today. we have been texting with no problems at all. ..so i'm back in the iphone, and we're going to get her a new phone tonight,or she's going to use one of my other back-up phones till we get one for her. called at&t today to see if she could get an early upgrade before oct. just to make me happy with all the BS i've been through (10 hours or more on the phone trying to fix the problem). but at&t came through with their great customer satisfaction!!! NOT!!! so, gonna try and get her a good phone out of contract and see after hers and mine are up might just jump from at&t. very unhappy with them as how they handled this whole thing.

  • Problem with Send and Receive Emal In SAP System

    Hi gurus!
    I have a following quote:
    Dear !
    I have a problem with send and receive email in SAP system following :
    I want to test send and receive email in local network at my company. I
    had two server
    Server 1 : I setup Exchange Mail Server 2007 with domain controller is
    fes.com
    Server 2 : I setup SAP ERP ECC 6.0
    On Server 1 : I created 2 account ( u1Afes.com and u2Afes.com ) and then I tested send and receive email between u1 and u2 in local network through Microsoft Outlook 2007 -> OK
    and then
    On Server 2: I had configured send and receive email on SAP system
    through tcode SBWP, SCOT and SOST as Note 455140 - "Configuration of
    e-mail, fax, paging or SMS using SMTP"
    for example :
    I logged in SAP system with user Basis01 (with email u1Afes.com ) -> then,using tcode SBWP -> new message -> send to u2Afes.com with Internet Mail type and then status message with green light -> sending ok
    and then I have used Microsoft Outlook 2007, I logged with account u2 ->check email -> Ok. I saw message which send from u1
    Finally, My problem is how can receive mail in SAP system without using Microsoft Outlook
    For example:
    Login system SAP with Basis01 account (with  u1Afes.com ) -> tcode SBWP ->New Message -> send to u2Afes.com
    and then
    Login system SAP with Basis02 account (with u2Afes.com ) -> tcode ??? ->
    To receive email from Basis01 (with u1Afes.com )
    Please help me now
    Thanks
    I replace "@" with "A" because of banning email of this forum.
    This quote is about sending email in local network. And we can't receive any email from the outside email address. Addition if I wanna send email to internal email in Internet (we've just tried with email address in local network) What should I config in SAP and Exchange ?
    By the way, Is SAP Server IP added to Relay Agent for sending or receiving mail ?
    Regards
    An NLP
    Edited by: An NLP on Apr 6, 2010 7:03 PM

    Hi,
    This problem is a classic problem of mail routing via Exchange. Exchange like most mail servers use the domain part of the email address as a means to route mails. So I will make an assumption that your main company mail addrss is "User @ fes.com".
    So when you send a mail to the "User @ fes.com mail" address the mail is delivered to your Outlook mail address as this is the default route for company.
    (Q) So how do you get your Exchange server to relay the mail into the sending SAP system?
    (A) The easiest way would be to setup and unique mail domain for your SAP system. I always recommend "user @ client.sid.company.com" which in your case would be "u1 @ 100.PRD.fes.com". You can then instruct Exchange to send any emails addressed to 100.PRD.fes.com domain to your SAP system. Also using this format of address you can configure multiple mail connections into multiple SAP systems.
    (A) Another answer would be to enter the "Full" email address (LOcal and Domain part of address) into the routing rule for Exchange e.g. "U1 @ fes.com" so that all emails addressed to this user will be delivered into SAP. However this method requires a lot of Admin as you will have to update Exchange with ALL email address that need to receive emails. Also if your corporate mail address is "U1 @ fes.com" then all mails will be forwarded to SAP.
    I would definitely NOT recommend this method but the decision is up to you.
    P.S. The IP address of the SAP system is entered into the mail header of the email. This is standard practice in SMTP relay. You can suppress this header in Exchange
    Hope this helps
    Michael

  • Problem with sending and receiving e-mail through exchange [GMail]

    Hello I have problem with sending and receiving e-mail.
    all is well set, username and password are correct, the server set m.google.com. verification of data is about like stepping into a post and want to check the post office gives me an error message: Can not Get Mail. The connection to the server has failed
    I have this problem on my two iPhone

    http://www.zdnet.com/google-drops-exchange-activesync-support-for-free-email-acc ounts-7000008836/

  • Problem with tpcall and tpgetrply functions

    Hi,
    I have a problem with tpcall() and tpgetrply() functions.
    In this example (invoke tpcall()):
    FBFR32 *buf;
    FLDLEN32 buflen;
    buf = a_buffer.getBuffer(); /* getBuffer() returns FBFR32* */
    buflen = a_buffer.getLongitud();
    /* at this point: buf == a_buffer.getBuffer() */
    if (tpcall(a_contenedor.getServname(),
    (char*)a_contenedor.getBufferPeticion()->getBuffer(),
    a_contenedor.getBufferPeticion()->getLongitud(),
    (char**)&buf,
    (long*)&buflen,
    0) == -1)
    if (tperrno != TPESVCFAIL)
    LANZAR_EXCEPCION(CADENA_WHAT_SB,
    "Error en funcion Execute(), llamada tpcall()",
    tpstrerror(tperrno))
    /* at this point: buf != a_buffer.getBuffer() */
    tpcall() function change the memory address of buf. What is the problem? Is wrong my code? Is a problem with tuxedo version?
    My tuxedo version is:
    tmadmin -vINFO: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 306
    INFO: Serial #: 650522264137-773290431251, Expiration NONE, Maxusers 150
    INFO: Licensed to: Telefonica Moviles Espa?a, S.A.
    INFO: 56-bit Encryption Package
    Thanks,
    ANTONIO.

    There's nothing wrong with your code or tuxedo. tpcall (and tpgetrply) can change the address of the return buffer if it needs to allocate more memory to hold the data. This is the reason why you pass a pointer to the buffer as the output buffer parameter to tpcall and tpreturn. Everything is working as expected.

  • I recently upgraded to Firefox 13.0.1 and I'm operating a Mac Powerbook Pro with OS of 10.6.8 (Snow Leopard). Now I'm having intermittent problems with sending

    I recently upgraded to Firefox 13.0.1 and I’m operating a Mac Powerbook Pro with OS of 10.6.8 (Snow Leopard).
    Now I’m having intermittent problems with sending emails where Firefox freezes up. There is often a yellow warning above suggesting 32-bit mode, sometimes I can click to shift it that way, sometimes not.
    Anyone having these problems?
    Any suggestions?

    I recently upgraded to Firefox 13.0.1 and I’m operating a Mac Powerbook Pro with OS of 10.6.8 (Snow Leopard).
    Now I’m having intermittent problems with sending emails where Firefox freezes up. There is often a yellow warning above suggesting 32-bit mode, sometimes I can click to shift it that way, sometimes not.
    Anyone having these problems?
    Any suggestions?

  • Having problem with siri on calling someone

    Hi.. i'm having a problem with siri when calling someone..it says " i can't call using that number "
    Im from Mauritius, our mobile number having been migrated into 8-digits since 1 month. I'd turn off siri, reset setting.. its the same!
    whats wrong with that?

    i"m from Mauritius also having the same problem when calling someone using siri.
    i think its because, of the 8 digits number.

  • Error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT

    error -43  when try playback on win7 64bits over the network QT that recide MacPro  osx 10.5 however i can play with VLC player, This happend when the QT is inside a Folder with name longer 8 chars other files has no problem with long names just the QT  nfs sharing

    Never mind, I already found the solution myself.
    What I did wrong was:
    - not copying the master image to the nbi folder
    - selecting the netinstall-restore.dmg image as source to copy to my HD.
    The thing is, when you create a netinstall image for 10.5, the image itself is already included in the netinstall image so you don't have to do anything else.
    With the 10.4 image however, you also have to copy the master image to the NetBootSP0 directory.
    In the *.nbi folder contains an netinstall-restore.dmg file. But that is only to boot you to netrestore, it's not the image itself.
    Other alternative is to copy the images to another folder that you share with AFP and adjust the configuration of netrestore like described in this manual:
    http://www.shellharbourd.det.nsw.edu.au/pdf/misc/osxrestoringnet.pdf
    This manual was also how I figured out that I forgot to copy the image to the NetBootSP0 folder.

  • I got problem with volume of calls...its on max and i still can hear person on other side really bad...i got 4s

    i got problem with volume of calls...its on max and i still can hear person on other side really bad...i got 4s

    Did you fix the problem? I have the same problem and it has been pain in the neck.

  • Problem with sending sms - nokia x3

    Hello,
    I've got a problem with sending sms in my nokia x3 - actually with recently used number. I sent messages, but the list is the same. There is only one number although I used many more. I removed this number from the list, but is still here. I also tried to turn off the phone and pull out the battery, restart factory setting but there's no change.
    Could somebody help me, please?
    p.s. Sorry, but my english isn't well. I hope the post is understood

    Check if there is any relation with the LOG... When you clear the log.. (selecting ALL).. is it removing details from the RECENTLY USED too...
    To confirm this select Clear Log.. and check if that one no. you are talking about still remains or not.. If its no more there means you must have cleared the log just before using the last no. that is appearing..
    --------------------------------------------------​--------------------------------------------------​--------------------------------------------------​--If you find this helpful, pl. hit the White Star in Green Box...

Maybe you are looking for

  • How can i stop iTunes from Auto rating my songs??

    How can i stop iTunes from auto rating my songs in my library?? I have my library very organized and 90% of the time when i listen to music i play "My Top Rated" Playlist on shuffle. The only time i give stars ratings to my songs is for my favourite

  • Where can I assign payment advice form

    Where can I assign Payment advice form in configuration.I have assigned in FBZP Next form. but its not printing.can any1 suggest me please?

  • Database in Gigabytes - Optimized Replication - Assistance please

    Hi, I ran into a problem and have to find a solution. We have two Oracle database servers. say X and Y. Both are on separate machines. Y is a subset of X. Periodically, Y need to update itself with the changes/updation of X. Estimate of amount of dat

  • To Run Selected Code in Batch or Asynchronous

    Hi All, I have a part of code in my program, which doesn't have dependency on any other place in the program. I need to run this part asynchronously so that I get better throughput time. Is it possible using ABAP. If so please advice how to do it.  T

  • Video Podcasts not showing on Source list!

    I'm having a problem with my iPod. I think it's because I deleted some playlists and smart playlists. Everytime I click Videos > Video Podcasts > My video podcasts seems to have disappeared! (This is on my iPod) I tried the help button on iTunes...an