<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: BCS  Recipient in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429259#M1245834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Uwe Schieferstein , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to send xls file to multiple recipient, i want to send to 2 recipients. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i written below coding but it's sending email to id1 and id2  twice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECIPIENT = CL_CAM_ADDRESS_BCS=&amp;gt;CREATE_INTERNET_ADDRESS( ' id1' ).&lt;/P&gt;&lt;P&gt;RECIPIENT1 = CL_CAM_ADDRESS_BCS=&amp;gt;CREATE_INTERNET_ADDRESS( 'id2' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SEND_REQUEST-&amp;gt;ADD_RECIPIENT( I_RECIPIENT = RECIPIENT ).&lt;/P&gt;&lt;P&gt;     SEND_REQUEST-&amp;gt;ADD_RECIPIENT( I_RECIPIENT = RECIPIENT1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ---------- send document ---------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SENT_TO_ALL = SEND_REQUEST-&amp;gt;SEND( I_WITH_ERROR_SCREEN = 'X' ).&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is send mail to id1 and id2 once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srinivas rathod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2009 09:38:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-14T09:38:28Z</dc:date>
    <item>
      <title>BCS  Recipient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429257#M1245832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stand on the hose ;-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to send email bye Outlook and if i can't find the Email adress send bye internal SAP Mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:  lr_recipient      type ref to if_recipient_bcs.

            lr_recipient = cl_cam_address_bcs=&amp;gt;create_internet_address(
            'misterx.at.com' ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outlook works great,  i don't know how could i create the internal Adress because these dident works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lr_recipient = cl_cam_address_bcs=&amp;gt;create_direct_address( sy-uname ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 12:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429257#M1245832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-01T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: BCS  Recipient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429258#M1245833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are indeed up a blind alley because CREATE_DIRECT_ADDRESS is a &lt;EM&gt;private&lt;/EM&gt; static method.&lt;/P&gt;&lt;P&gt;However, I believe you are looking for method &lt;STRONG&gt;CREATE_USER_HOME_ADDRESS&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  lo_recipient    TYPE REF TO if_recipient_bcs.  " CL_CAM_ADDRESS_BCS


  CALL METHOD CL_CAM_ADDRESS_BCS=&amp;gt;CREATE_USER_HOME_ADDRESS
    EXPORTING
      I_USER = syst-uname
      I_COMMTYPE = 'INT'
   RETURNING
      RESULT = lo_recipient.   
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it may be necessary to define the variable of TYPE REF TO cl_cam_address_bcs and do the casting to the interface afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 18:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429258#M1245833</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-04-01T18:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: BCS  Recipient</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429259#M1245834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Uwe Schieferstein , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to send xls file to multiple recipient, i want to send to 2 recipients. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i written below coding but it's sending email to id1 and id2  twice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECIPIENT = CL_CAM_ADDRESS_BCS=&amp;gt;CREATE_INTERNET_ADDRESS( ' id1' ).&lt;/P&gt;&lt;P&gt;RECIPIENT1 = CL_CAM_ADDRESS_BCS=&amp;gt;CREATE_INTERNET_ADDRESS( 'id2' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SEND_REQUEST-&amp;gt;ADD_RECIPIENT( I_RECIPIENT = RECIPIENT ).&lt;/P&gt;&lt;P&gt;     SEND_REQUEST-&amp;gt;ADD_RECIPIENT( I_RECIPIENT = RECIPIENT1 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    ---------- send document ---------------------------------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SENT_TO_ALL = SEND_REQUEST-&amp;gt;SEND( I_WITH_ERROR_SCREEN = 'X' ).&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is send mail to id1 and id2 once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srinivas rathod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 09:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bcs-recipient/m-p/5429259#M1245834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-14T09:38:28Z</dc:date>
    </item>
  </channel>
</rss>

