Sending mail to Internet or Sap office users id -required settings

Hi All,
Here I am having requirement that I need to send one mail format to email id of the employees. For this I have used FM .
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
        document_data = maildata
        document_type = 'RAW'
        put_in_outbox = 'X'
        commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
        TABLES
   object_header = mailtxt
        object_content = mailtxt
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
        receivers = mailrec
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.
But its not sending mail. It's giving error  the  ' DOCUMENT_NOT_SENT = 2'  due to connection error(final).
Please let me know solution. Thanks for reading this and Verymuch thankful if you send any solution.
Thanks&Regards,
Prakash.

Hi Prakash,
firstly you should check that sending email messages works okay from SAP Office. If you can't send messages from there then you have no chance doing it from a program.
Then, if you want to send email externally, you need to ensure the SMTP plug-in is properly configured. http://help.sap.com/saphelp_47x200/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm covers this.
Then, yet again, ensure you can send messages to external recipients <b>and receive their replies</b> in SAP Office before trying to do it from a program.
There are lots of weblogs and forum messages on sending email from ABAP. I very much prefer using the BCS Interface to do this. Check out one of Thomas's great web logs at /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers
Graham

Similar Messages

  • Sending mail to Internet address from SAP system

    Hi...
    My requirement is to send a mail to an internet address say ABC@companyid from SAP.
    I have used a FM So_New_Document_Send_API1 for the purpose.For this I have provided
                 e_mailrec-receiver = w_emailid.
                  e_mailrec-rec_type = 'U'.
                  APPEND e_mailrec.
    But I get an error msg in SOST, that the route from (SAP server) to (mail id) not found.
    Instead of internet address when I give rec_type as B i.e. SAP USER it sends a mail to my SAP inbox.
    I have also checked SAPConnect, and it is fine.
    Is the above FM only for sending mails to SAP id, then wats the FM for sending mails to internet address? Its just sending a 1 line mail without attachment.
    P.S: I have gone through search in sdn so please don't provide me with links to other threads.
    Reply only if you can actually help and know wats this about.
    Thnaks and Regards.

    These are the FM for sending external email :-
    SO_DOCUMENT_SEND_API1
    Send new document with attachments via RFC
    SO_NEW_DOCUMENT_ATT_SEND_API1
    (In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
    Send new document with attachments via RFC
    Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
    SO_NEW_DOCUMENT_SEND_API1
    Send new document
    For Code
    http://www.forum.saptechies.com/viewtopic.php?t=5562

  • Unable to send mails to outlook from sap system through workflow

    Hi ,
    Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is  there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
    Please find the errors belows that  traced from sost t code
    02/13/2012     17:50:12     0380 MIME_MESSAGE_GENERATE     G     Error when generating MIME flow
    02/13/2012     17:50:12     0382 MIME_MESSAGE_GENERATE     G     Required 'From' header is initial
    02/13/2012     17:50:12     0167 SO_OBJECT_MIME_GET     G     Error during MIME Generation
    02/13/2012     17:50:12     0777 UPDATE_SOSC     G     Cannot process message in SAP System
    Regards
    RAGHAVENADAR

    Hello,
    Actually i checked the mail ID for WF-BATCH  using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
    But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
    So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
    ABAPer is sending mails through work flow.
    Regards
    RAGHAVENDAR M

  • Configuring SMTPPlugin for sending mail to Internet

    Hi I have a WEB 640 system, and i need to send SMTP mails to yahoo and other internet smtp adresses via Lotus Domino server which is on the Internet.
    Steps done to send mail:
    1. In RZ10, Instance profile :- icm/server_port_1 with value: PROT=SMTP,PORT=8025,TIMEOUT=180
    2. go to sicf and enable smtp node (sapconnect)
    3. create a user "smtp_user" as service user and attach profile "s_a.scon"
    4. in sicf, double click the sapconnect node and maintain the service tab for logon data details
    5. under scot, maintain the domain name, and schedule a job for processing the mails
    On trying to send a mail to an internet mail address the following error occurs:
    Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 505 505Authentic
    I understand that something needs to be done on Lotus domino server. Can anyone suggest if either anything else is required in SAP or something that needs to be done on lotus domino.
    Any inputs / help is highly appreciated.
    Thanks,
    Chetan

    Hello Chetan,
    you have done the configuration for incoming emails to the SAP Server. You have to configure outgoing mail in transaction SCOT.
    To test if the Domino Server accepts SMTP to send emails try "telnet <DominoServerIP> 25" and this commands:
    helo Domino
    mail FROM: <[email protected]>
    rcpt TO: <[email protected]>
    data
    TEst
    Regards
    Gregor

  • Unable to send mail, but only at my office (!)

    This one is really strange. Lots of information gathered over the last 10 days or so, on which I can't send mail through two of my accounts.
    I got this new MacBook Pro with Snow Leopard factory-installed. This is not an upgrade problem.
    I imported my user account from a Time Machine backup, but did not import any apps or system files. I had to install all my 3rd party apps, configure networking for my two locations (Home and Office), etc.
    The problems started on 10.6.0. Mail couldn't send messages through any of my accounts. Receiving has always been OK. Updated to 10.6.1 and problems went away.
    Since the 10.6.2 update, I can't send mail again, but in very special circumstances:
    - Only two of my mail accounts, hosted at my hosting provider, have this problem. Gmail works flawlessly, though I feel a little lag before actual mail is sent, specially at my office;
    - Only when I am at my office, where we use public IP addresses on the LAN. Everything works perfectly at home or other places (public hotspots, other networks, etc.) where private IP addresses are used on the LAN!
    All other Macs at the office, which use Leopard (10.5), work fine and dandy. We don't use DHCP. All computers are configured manually and connect to the same wireless network. I already checked my firewall and both the ISP and hosting provider.
    I already did everything mentioned in other threads here: repair permissions, rebuild mailboxes, everything! I even created another user account on my Mac and configured everything from scratch. I didn't re-install Mac OS X, though.
    Any ideas?
    Message was edited by: fdonadio

    Barry,
    I did that. I also tried deleting that plist and reconfiguring all my mail accounts, but that didn't work.
    Then I thought I could get the problem solved by creating a new user account on my Mac -- a clean home folder should eliminate the culprit --, but it didn't work either.
    I decided to give up on that, now that I can send mail anyway. I will let this question as unanswered so people can suggest possible fixes.
    Thanks for caring and trying to help!
    One more piece of info that can help:
    - Connection Doctor showed me a red bubble for these accounts, telling me to check the username and password.
    - Looking at the details (log drawer of Connection Doctor), I saw that my mail server was responding with a 250 code, but Mail waited 30 seconds to send the EHLO command. By that time, the server had timed out.
    - Mail would then try again, but this time it would send a HELO command, which my mail server does not accept.

  • Need help: Sending mail to internet address without commit work statement

    Dear Experts,
            I have a problem in sending mails from sap to internet address.Am using the function module
    SO_NEW_DOCUMENT_SEND_API1 and am passing parameters like,
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_TYPE  = 'RAW'
              DOCUMENT_DATA  = DOC_CHNG
              PUT_IN_OUTBOX  = 'X'
         TABLES
              OBJECT_CONTENT = OBJCONT
              RECEIVERS      = RECLIST
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              OPERATION_NO_AUTHORIZATION = 4
              OTHERS                     = 99.
    submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
    My problem here is,with the commit work statement after FM, the mail is triggering correctly.but if, am not using the commit work statement,at the very first time of execution mail is not triggering, and the second time of execution first mail is triggering like wise it is going.The status of the message is waiting in queue.
    i have refresh receiver's list also.I want to use this concept in badi.So anyone can pls help me,how to send a mail without commit work statement.
    Thanks in advance.

    There is a parameter Commit_Work pass it as 'X'
    <code>
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    DOCUMENT_TYPE = 'RAW'
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    commit_work = 'X'
    TABLES
    OBJECT_CONTENT = OBJCONT
    RECEIVERS = RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    </code>
    Edited by: Saravanan Ramasamy on Nov 11, 2009 1:31 PM

  • Send BDC session link via SAP Office

    I know I've seen this somewhere.  If you have some code I can use, that would be wonderful.  If you even know a way to generate a SAP Office message with a link in it to process a BDC session, I'll debug it myself to figure it out and repost here.
    Basically, I'm doing a Call Transaction in a background process, if it fails, it will write to a BDC session.  I'd like to instantly send a SAP Office message to a group with a link in it to process the specific session that was generated.
    Thank you for any suggestions, code snippets, or references to where something like this is currently done in SAP.  I know I've seen it somewhere!

    Hi Ivan,
    I'm not sure of the exact details but I believe you have to change the processing type of the email action. I think there is a method call that you can select to send a mail to the SAP office mail.
    regards,
    Jason

  • Sending mail to OUTLOOK from SAP when error encountered in MM creation

    Hi ,
    I am able to send a message to SAP inbox which i can view from SBWP. But as well i need to send mail to the OUTLOOK  .How can i send this OUTLOOK .
    I have configured the mail id in SCOT.
    Even i configured in SCOT with BASIS team i m not able to send mail to outlook.I even checked in SOST their is no entry in that .
    Is their a need for writing separate logic for sending mail to OUTLOOK as well?
    Regards,
    Ranjith ,
    +91-8431858286.

    HI  Modak,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.

  • Sending Mail to Internet Address Maintained in Infotype 105

    Hi All,
    I have a requirement wherein I have to send mail to the Internet Address of the employee which is maintained in Infotype 0105. Now I have gone through the SDN where in they have said that using select or FM get the Employee details and pass it to a container which will be added in the Send Mail step. I have understood all this thing. But Since I am new to workflow Concepts. Can someone guide me where to write this peice of code to fetch email id from INfotype 0105 and how to get that value in a workflow container.
    If anyone has done this scenario , I will be very grateful if you can guide me step by step how to do it.
    I am an Abaper and understands ABAP OO and BOR Concepts very well.
    Regards,
    Akhil Rai

    I am an Abaper and understands ABAP OO and BOR Concepts very well.
    Createa a method in the BOR and impor the employee number for whom you need to determine the EMAIL ID by using the FM HR_READ_INFOTYPE pass the infotype as 0105 and subtype as 0010 to get the email Id.
    and once the email ID is determined then export the email back to workflow by using binding concept
    Pass the pernr from WORKFLOW  ---> TASK  ---> method container ( For importing into method )
    Pass any value METHOD ---> TASK ---> Workflow Container ( for exporting to workflow )..
    and if possible instead of using send mail step call the standrad FM and mention the address type as U external address and pass the email ID and content...

  • Sending mail to internet ID

    Hi All,
    I am trying to send a mail to an external id from SAP.
    I am using the code given below. After executing the code i am getting mail in my sap mail box but not in external mail id.  Also I am not able to see the sent mail in tcode <b>SOST</b> .
    At the same time, if i am sending mail from <b>SO01</b> it is coming to <b>SOST</b> . From <b>SOST</b> if i am doing "start send process" (ie Ctrl+F7 ), I am able to get mail in external ID. How can I do it directly from the program? Please help me.
    DATA: WA_DOCUMENT_DATA  TYPE SODOCCHGI1.
    DATA: IT_OBJECT_CONTENT LIKE SOLISTI1 OCCURS 5 WITH HEADER LINE.
    DATA: IT_RECEIVER       LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: ENTRIES LIKE SY-TABIX.
    DATA: NAME(20).
    Fill the document
    WA_DOCUMENT_DATA-OBJ_NAME = 'URGENT'.
    WA_DOCUMENT_DATA-OBJ_DESCR = 'Notification !'.
    WA_DOCUMENT_DATA-SENSITIVTY = 'P'.
    WA_DOCUMENT_DATA-OBJ_LANGU  = SY-LANGU.
    IT_OBJECT_CONTENT = 'Hey this is test message !!!'.
    APPEND IT_OBJECT_CONTENT.
    IT_OBJECT_CONTENT = 'Please reply !'.
    APPEND IT_OBJECT_CONTENT.
    DESCRIBE TABLE IT_OBJECT_CONTENT LINES ENTRIES.
    READ TABLE IT_OBJECT_CONTENT INDEX ENTRIES.
    WA_DOCUMENT_DATA-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( IT_OBJECT_CONTENT ).
    Fill the receiver list
    CLEAR IT_RECEIVER.
    IT_RECEIVER-RECEIVER = SY-UNAME.
    IT_RECEIVER-REC_TYPE = 'B'.
    IT_RECEIVER-EXPRESS = 'X'.
    APPEND IT_RECEIVER.
    CLEAR IT_RECEIVER.
    IT_RECEIVER-RECEIVER = '[email protected]'.
    IT_RECEIVER-REC_TYPE = 'U'.
    IT_RECEIVER-EXPRESS = 'X'.
    APPEND IT_RECEIVER.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = WA_DOCUMENT_DATA
       DOCUMENT_TYPE                    = 'RAW'
       PUT_IN_OUTBOX                    = ' '
      COMMIT_WORK                      = ' '
    IMPORTING
      SENT_TO_ALL                      =
      NEW_OBJECT_ID                    =
      TABLES
      OBJECT_HEADER                    =
       OBJECT_CONTENT                   = IT_OBJECT_CONTENT
      CONTENTS_HEX                     =
      OBJECT_PARA                      =
      OBJECT_PARB                      =
        RECEIVERS                        = IT_RECEIVER
    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
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks in advance
    jaison

    Hai
    Go through the following Code
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DOC_CHNG-OBJ_NAME = 'TEST'.
    DOC_CHNG-OBJ_DESCR = 'Test-Dokument fur API1 Test'(001).
    OBJTXT = 'Mindestgebot : $250000'.
    APPEND OBJTXT.
    OBJTXT = 'Eine Abbildung des zur Versteigerung stehenden Bildes'.
    APPEND OBJTXT.
    OBJTXT = 'wurde als Anlage beigefugt.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * ERSTELLEN DES EINTRAGS ZUM KOMPRIMIERTEN DOKUMENT
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    * ERSTELLEN DER ANLAGE FUR DAS DOKUMENT
    OBJBIN = '\O/ '. APPEND OBJBIN.
    OBJBIN = ' '. APPEND OBJBIN.
    OBJBIN = ' / \ '. APPEND OBJBIN.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'picasso.txt'. APPEND OBJHEAD.
    * Erstellen des Eintrags zur komprimierten Anlage
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'TXT'.
    OBJPACK-OBJ_NAME = 'ANLAGE'.
    OBJPACK-OBJ_DESCR = 'Abbildung Objekt 138'.
    OBJPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND OBJPACK.
    * Fullen der Empfangerliste
    RECLIST-RECEIVER = SY-UNAME.
    RECLIST-REC_TYPE = 'B'.
    APPEND RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = OBJPACK
    OBJECT_HEADER = OBJHEAD
    CONTENTS_BIN = OBJBIN
    CONTENTS_TXT = OBJTXT
    RECEIVERS = RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    Regards
    Sreeni

  • Can't send mail error 550 and 554--unrecognized user or relay denied

    I've done a clean install of server 10.4.11. When I try to send mail from my mobile me account tot he server I am getting one of two different errors: 550 unknown user, or 554 relay access denied. I'm dog tired after an all-nighter and not thinking clearly.
    Here is my postconf -n output:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = $myhostname,localhost.$mydomain,localhost,mail.trinidadchroniclenews.com,trinid adchroniclenews.com
    mydomain = mail.trinidadchroniclenews.com
    mydomain_fallback = localhost
    myhostname = mail.trinidadchroniclenews.com
    mynetworks = 127.0.0.0/8
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient sbl-xbl.spamhaus.org rejectrblclient list.dsbl.org rejectrblclient bl.spamcop.net permit
    smtpdpw_server_securityoptions = login
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_keyfile =
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    TIA
    Rob

    The MX record for trinidadchroniclenews.com points to mail.trinidadchroniclenews.com which.
    Telnetting to this host on port 25 I get:
    220 orionwebhost.com ESMTP Exim 4.62 Fri, 28 Aug 2009 09:03:54 -0700
    Since Mac OS X Server runs Postfix and not Exim, either your DNS records are wrong or your ISP is intercepting port 25.
    HTH,
    Alex

  • Can't send Mail since internet connection via USB key

    I now access internet via a USB key and although I receive mail as normal into my Mac 'Mail' from my email account when on line, all mail I now try to send sits in the outbox with the following error message:
    This message could not be delivered and will remain in your Outbox until it can be delivered.
    5.7.1 service refused. Client host 80.10.46.95 blocked for spamming issues. Adresse IP source
    80.10.46.95 bloquee pour incident de spam. Ref http://r.orange.fr/r/Oassistance_adresserejetee .
    I presume since changing my way of connecting to the internet it has thrown up some server problem and I need to change something in my preferences on Mail...but what?
    Any help would be appreciated as it's driving me mad!
    Many thanks.

    Hi Han71, and a warm welcome to the forums!
    Start with these three, check SpamCop or SpamHaus to see if your IP is there...
    http://spamcop.net/bl.shtml
    http://www.spamhaus.org/lookup.lasso
    http://www.spamhaus.org/zen/
    Sometimes an ISP will bloc a whole other ISP too, if it's the source of too much SPAM.
    Might also see this post by Gallomimia...
    http://discussions.apple.com/message.jspa?messageID=9465359#9465359

  • Sending Mail Affecting Internet Browsing

    I've noticed a couple of times that when I'm sending large eMail messages, my Safari browser comes up with "You are not connected to the internet" messages. Now I know that when sending data it can have a slowing effect on inbound data speeds, but should this affect Safari in this way ?
    Anyone else seen this?

    These are the FM for sending external email :-
    SO_DOCUMENT_SEND_API1
    Send new document with attachments via RFC
    SO_NEW_DOCUMENT_ATT_SEND_API1
    (In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
    Send new document with attachments via RFC
    Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
    SO_NEW_DOCUMENT_SEND_API1
    Send new document
    For Code
    http://www.forum.saptechies.com/viewtopic.php?t=5562

  • How i can send a mail to the user SAP Office mailbox through the spool.

    hi all,
    I have created an report and scheduled for background and it generated a spool now how i can send a mail to the user SAP Office mailbox through that spool.
                          please provide me the sample code if possible.
                   thanks.

    Read the spool number with this...
        SELECT RQIDENT
        INTO (T_TSP01-RQIDENT)
        FROM TSP01
        WHERE RQOWNER EQ SY-UNAME
          AND RQCLIENT EQ SY-MANDT.
        APPEND T_TSP01.
        ENDSELECT.
    Use this FM RSPO_IRETURN_RAW_DATA to read the content of the spool into an Internal Table...
    Finally use this FM SO_OBJECT_SEND to send the mail to an SAP Office user...
    Greetings,
    Blag.

  • Send mail to sap office and outlook at same time

    Hi guru,
    Is it possible to send a mail from workflow to sap office and outlook at the same time?
    Thanks in advance
    Regards

    No you can do with one.
    You have to do this configuration.
    Go to SO16-> Mail Sy Grp->Select Send to home addresses of users
    Use
    The messages that are sent to users in this SAP System are forwarded to the users' home addresses. The home address of a user can be the Internet address of their mailbox in an external mail system (for example, Microsoft Outlook or Lotus Notes).
    Dependencies
    The home address of each user is specified in the address management for every communication method used. In the case of a mail system group, only the home address that is specified for the standard communication method of a user is of importance. The messages are forwarded to this address.
    You have to reset the address buffer on the tab page Adressing in order for address changes to become effective directly.
    Thanks
    Arghadip

Maybe you are looking for

  • Error in creating CUP request on GRC AC 5.3 SP12

    -- Request dump for Action Path is scrTopNav.cfg 2010-09-27 20:14:00,416 [SAPEngine_Application_Thread[impl:3]_13] DEBUG  AEFrameworkServlet.java@541:logRequest() : initTabName:0::config_request_type# 2010-09-27 20:14:00,416 [SAPEngine_Application_Th

  • Iphone 4s not recognized after ipod connected

    I connected an ipod to itunes.  Then I tried to connect my iphone 4s and my iphone is no longer recognized by itunes.  I have tried rebooting my iphone - - deleting and reinstalling itunes, but nothing works.

  • Hinge is stiff

    Hi All, my 12" pb is getting harder and harder to fold closed. I searched the archives and there was one similar post in may that was never answered. I am worried about damaging the screen. When closed, the side next to the power cord is bowed. I've

  • 5D3 AFM bug setting all lenses to ALL-8

    When the 5D3 came out it had a bug. AF microfocus would default to ALL-8 for all lenses. FW 1.2.1 was suppsoed to have corrected this. I knew all AFM setting were at 0 becuase the EXIF data shows this. I sent my camera to Canon in early June. I got i

  • Wireless change in Macbook Pro?

    So I recently moved my wireless router to the back room in my house. I have two Macbook Pros, one the first version of the new unibody design, the other the old version bought probably about 1 year prior to the unibody design introduction. Both up-to