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

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

  • 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

  • Mail the internet address when alert occured

    Hi,gurus:
       I want to mail the internet address after the alert trigger,but it throws exception "CL_SMTP_RESPONSE ESMTP " and the error "530 530 5.7.0 No AUTH command".I think it is the cause of the authentication of the mail server.What do you think of that? In the blog "FAQ in Business Communication area" I saw this problem:
    Q4. How does the R/3 System authenticate at the Mail Server.
    A4. The R/3 System can only use domain based authentication. Authentication with username + password is not possible. /* It is also not planned to implement this feature. */
    Workaround: You can install an additional SMTP hop, what only accepts mail from the SAP System, and sends these mails to your "productive" SMTP Server. /* With authentication */
    So is the problem the same to mine?
    I have configured relavant work in scot,sicf,su01...
    Any help will be appreciated!Thanks in advance.

    hi,
    check the below threads with same issue
    configuring SMTPPlugin for sending mail to Internet
    SCOT - error
    problem send email
    <removed by moderator>
    regards
    kummari
    Edited by: Mike Pokraka on Jul 24, 2008 1:00 PM

  • When I try to send mail to multiple addresses, it tells me it cant send with selected server.  It sends mail to one address fine.

    When I try to send mail to multiple addresses, it tells me it cant send with selected server.  It sends mail to one address fine.

    contact your email service provider and ask them (it might treat multiple e-mails as SPAM)

  • 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

  • Workflow send mail to email addresses

    Hi,
    I have created a workflow wherein i have insrted a user decision node and 2 output is there one is accept and another one reject.
    I have added send mail node on both accept and reject and the thing is that in recipient address is put as email address. The email address that i put is for accept is workflow inititor and for reject is my own gmail address.
    Now when i execute workflow and click on accept button and check workflow log i get details for step where i found that background work item is created and agent name. Why is it so and where i can get the result ? and when i click on agent in that there is pushbutton for communication where there is no email address is maintained how can i maintain it ?
    Please help me out..even for reject tab i have given  my own gmail address. What will happen if i click on reject tab?
    Thanks
    Parag

    Hi,
    In your case what will happen is:--
    1> when you recieve the workitem in the sap inbox and you click on it.....it will show decision buttoons.
    2> As you have put send mail task in both accept & rejevt branch ...it should trigger mail based on your
         action and send it to extenal mail id.
    3> Now if you click on accept button ....... and the mail task which you have inserted will trigger mail to
         id which you have maintained.
    4> When you click on the reject button............ it will send mail to id which you have maintained in
         task.    
    5> If u you have set mail id to sap id of user then you can see it in Tcode SBWP.If you are sending mail
        to external mail id( outlook, gmail etc)........it will be visible in your external mail inbox if SCOT
         configuration are properly set in your system for SMTP node.You can still see the external mail in
         sap system in Tcode SOSG.

  • Can't send Mail with AOL address-out of ideas

    hello,
    I can recieve mail just fine. It's only when I try to send it. I've tried changing the outgoing server to smtp.aol.com and 4.78.166.10.
    changed the ports from 25 to 587 to 1024.
    I appreciate your help. thanks in advance.
    -Seth
    powermac g4   Mac OS X (10.3.9)  

    My girlfriend and I are RoadRunner customers and RR allows using an SMTP server outside of their network as long as the SMTP server is authenticated.
    I set up my girlfriend's AOL account in Tiger Mail (and the only email account she uses) on my old TiBook that I loaned her until she purchases her own Mac and she sends mail with her AOL account with no problems.
    The AOL SMTP server settings are as follows:
    Outgoing Mail Server: smtp.aol.com
    Server Port: 587
    Use Secure Sockets Layer (SSL): Off or not selected.
    Authentication Type: Password
    User Name: Your AOL screen name or the portion of your AOL email address in front of the @ sign only.
    Password: The password for this screen name/email account - the same used for checking the account for new mail.
    If your settings are the same, try deleting and recreating the account in Mail.
    If this doesn't work and it should since it works for my girlfriend, you can select/use the RR SMTP server to send mail with your AOL account which is invisible to all recipients.

  • Can't send mail to specific address

    I am having problems sending mail to my brother from my ibook. When I send it from .mac it is fine but when I send it from the Mail application (postage stamp) it appears in my sent items as normal but never arrives with my brother. This is the only address (that I know of) that is affected by this. Any ideas ?

    Webmail access does not use an SMTP server as does an email client such as the Mail.app.
    Not too long ago, Microsoft's incoming mail server for Hotmail accounts was capturing messages sent by the Mail.app under Tiger. The received messages were not marked as junk by Hotmail's incoming mail server and were not delivered to the recipient with no bounced back error message or a notification of any kind to the sender or recipient.
    Microsoft quietly acknowledged this problem (programming errors at the incoming mail server) which was eventually resolved.
    Long story short, if you are using .Mac's authenticated SMTP server to send messages with your .Mac account via the Mail application, the recipient's incoming mail server may be flagging any messages sent by .Mac's SMTP server as junk/spam. I would ask your brother to contact his ISP or email account provider for his email account to inquire if his email account provider has blacklisted either the .Mac SMTP server or a range of computer IP addresses for which you may fall under.

  • Send mail to external address using send mail step.

    Hi all,
    I have one question.
    In a send mail step of workflow, when the recipient type is a Organizational Object and Org Unit, the mail is only sent to workplace? I would need to send the mail to external address from all users of Org Unit. Is possible it?
    Thanks
    Regards,
    David.

    Hi,
    1) In the Recipient type select the E-Mail address from the drop down
    2) And give the email id (in the text box)
    3) Then save & test it.
    4) Once it execute goto t.code SOST and see the email entry.
    5) If entry not found, the SCOT settings is not done then check with Basis Team
    6) If found, select it and execute.
    7) And check you email
    Regards,
    Surjith

  • Unable to send mail to some addresses after move to Leopard

    I am not sure, whether I am in the right forum with my question. If not, please tell me where I should go.
    I am traveling a lot for work and have clients in many countries. Since 2004, I have been using Mac laptops and have not encountered any problems sending mail through clients' LANs, from my own place to clients, or from any number of hotels to clients. I migrated from Tiger to Leopard on the day the latter OS became available.
    Since the move, I am experiencing a problem sending mail to one specific client. I can no longer send mail to my various contacts within that client's premises (all of whom share the same domain name) from outside. I also cannot send mail to any of those contacts when I am hooked up to the client's network (but not the domain) whilst within the client's premises.
    I use Mail and a mac.com address. I do not use web-mail. It is further noteworthy that messages from my side without attachments will sometimes (perhaps 20% of the time) go through. However, messages with attachments never go through. I have discussed the matter at length with the two IT-experts at the client (a government office) and we have not been able to come up with suggestions.
    Since I am now forced to use a USB-stick to exchange info with my client, I would much welcome your suggestions as to the cause of the problem and possible solutions. Many thanks in advance.

    Thank you for taking up the issue, Type17. The mails do not disappear, they remain in my outbox (on my Mac). The intended recipient does not get a message. I, for my part, see a box with the message 'Cannot send the message using the server 'smtp.mac.com: myloginname'. The server name is highlighted in blue in a box below and I get the choices: 'Edit message', 'Try later' and 'Try with selected server'. None of these resolves the problem. The last option, i.e. 'Try with selected server', is a bit strange, because pressing the button 'Edit server list', shows only the server already mentioned. I have tried 'Connection doctor' several times over the past months, but this consistently gives me a green light against the smtp and the message: 'Connection and login to server successful'.

  • What's the terminal command to insert the text that appears when I send mail to Bcc addresses?

    I remember there was a cool add-on to some mail clients like Eudora years back where one could juggle the text that people receive instead of the addresses if you send mail in Bcc... Is there any possibility to change what Apple Mail sends?
    What if, insetad of the usual "undisclosed recipients" I want something else like "omissis" to appear?

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • TS3276 I cannot send mail to multiple addresses, my provider is RoadRunner.

    I can send mail individually to the same address.

    Read the threads over in the "More Like This" column over here.----------->
    Have you contacted Roadrunner and Outlook tech support?  If not, why not?

  • Cannot send mail to work address

    i cannot send mail to my work e-mail account.
    error message is that the address does not appear to be a valid address. my g5 did not have a problem but this new pro does. any suggestions?

    worked it out..

  • Can't Send Mail To Outside Addresses In Mail Applications

    I am currently running mac os x server 10.4 and using the mail server. I started out using WebMail. It worked fine, I could send and receive to and from anyone. Now hat i have multiple addresses it is easier to use a client like mail.app or mozilla thunderbird. I can send and receive mail to and from addresses hosted by my server fine. I can only receive mail from outside addresses i cannot send mail to them. Does anyone know what I can do to fix this?

    Without knowing more about your configuration it's hard to say.
    Most likely your client computer is not in the allowed networks (while webmail running of your server was). But that is a guess.
    If you need more info, please post the unmodifed output of postconf -n and some log snippets.
    Alex

Maybe you are looking for

  • How can i create a connectionPool in BMP?

    How connectionPolling handled in BMP?Application server is websphere.

  • Generic question about generating & saving XML

    I need to write a process that will generate an invoice as XML, then store this entire XML document in a CLOB. I will have multiple stored functions and/or procedures that build various sections of the invoice. The process needs to be flexible enough

  • Making/receiving a call, mic problems

    Hi, I understand there are two mics on the iphone 4, which would explain my problem. I need a DIY fix if possible please. When I'm making a call, the person im speaking to can only hear a extremely faint voice from me, so faint they would need to be

  • Photobook ordering

    I've created a photobook in Elements 6 and according to a user manual, the button I should press to have a book printed and bound by Kodak should be on the 'floating' button area which also has the add page, next page etc. However on my version the b

  • Sound File Read and Express Play WaveForm.

    Hi, all I am trying to control the volume on the Play WaveForm express vi, but have not been able to make this happen. Does any one have suggestions that I can run with. Thank you.