<?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: Further options when composing e-mails, thry BCS. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123296#M109504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to bold and other formats set the type to HTM like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;                      i_type    = 'HTM'&lt;/P&gt;&lt;P&gt;                      i_text    = text&lt;/P&gt;&lt;P&gt;                      i_length  = conlengths&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can pass html string as content (in the above example variable name text.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example for bold you can pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;lt;b&amp;gt;This is bold text&amp;lt;/b&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Feb 2006 10:53:32 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2006-02-18T10:53:32Z</dc:date>
    <item>
      <title>Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123292#M109500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear SAP World,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using BCS (Business Communication Services) methods, to compose and send some e-mail messages directly from an ABAP program, to an user's Outlook inbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions, tough:&lt;/P&gt;&lt;P&gt;1. How can i add an address to the "Carbon Copy" field, so that the message is sent to two addresses, at the same time?&lt;/P&gt;&lt;P&gt;2. Is there any way to format the message body, so that, for instance, i can send a sentence highlighted as bold?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep up the good work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hugo Ferreira&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2006 18:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123292#M109500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-17T18:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123293#M109501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are using this FM..&lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can send the CC , using &lt;/P&gt;&lt;P&gt;for this you need to append the table parameter&lt;/P&gt;&lt;P&gt;RECEIVERS.&lt;/P&gt;&lt;P&gt;append two record with copy = '', then &lt;/P&gt;&lt;P&gt;for the id which you want as specify copy = 'X'.&lt;/P&gt;&lt;P&gt;append it.&lt;/P&gt;&lt;P&gt;now you have one id with out copy, and the other CC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for making extra features like html..then check this thread...&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="87960"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2006 18:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123293#M109501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-17T18:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123294#M109502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In function module SO_OBJECT_SEND, table sparameter RECEIVERS has field SNDCP and SNDBC which you can set to mark as a copy or blind cc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check this out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2006 18:55:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123294#M109502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-17T18:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123295#M109503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure to check out this weblog by Thomas Jung.  I believe that this will show you what you need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pay close attention to the ADD_RECIPIENT method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Add recipient with its respective attributes to send request
        CALL METHOD send_request-&amp;gt;add_recipient
          EXPORTING
            i_recipient  = recipient
            i_express    = recipients_line-i_express
            i_copy       = recipients_line-i_copy
            i_blind_copy = recipients_line-i_blind_copy
            i_no_forward = recipients_line-i_no_foward.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2006 19:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123295#M109503</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-02-17T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123296#M109504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to bold and other formats set the type to HTM like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;                      i_type    = 'HTM'&lt;/P&gt;&lt;P&gt;                      i_text    = text&lt;/P&gt;&lt;P&gt;                      i_length  = conlengths&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can pass html string as content (in the above example variable name text.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example for bold you can pass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&amp;lt;b&amp;gt;This is bold text&amp;lt;/b&amp;gt;'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2006 10:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123296#M109504</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-02-18T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123297#M109505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rich. Thanks for your answer. However, the I_COPY parameter of method ADD_RECIPIENT, only indicates if it should send or not a carbon copy, thru a flag type field. But, where do i indicate the e-mail address for the carpon copy, assuming that the I_RECIPIENT parameter stands for the main recipient of the e-mail message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hugo Ferreira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 10:42:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123297#M109505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T10:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123298#M109506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this line&lt;/P&gt;&lt;P&gt;recipient = cl_cam_address_bcs=&amp;gt;create_internet_address( recipients_line-c_address ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is actually assigning the email address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the entire process is in loop.Endloop,if you are passing the recipient for blind carbon copy,that address will come in bcc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are passing,blind copy and carbon copy parameter,that address will be in to field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check it out and kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 11:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123298#M109506</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-02-21T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Further options when composing e-mails, thry BCS.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123299#M109507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to call&lt;/P&gt;&lt;P&gt;CALL METHOD send_request-&amp;gt;add_recipient&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            i_recipient  = recipient&lt;/P&gt;&lt;P&gt;            i_express    = recipients_line-i_express&lt;/P&gt;&lt;P&gt;            i_copy       = recipients_line-i_copy&lt;/P&gt;&lt;P&gt;            i_blind_copy = recipients_line-i_blind_copy&lt;/P&gt;&lt;P&gt;            i_no_forward = recipients_line-i_no_foward.&lt;/P&gt;&lt;P&gt;as many times as there are recepients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose you have three recepients. first one without i_copy and the other ones with i_copy = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 11:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/further-options-when-composing-e-mails-thry-bcs/m-p/1123299#M109507</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-02-21T11:21:24Z</dc:date>
    </item>
  </channel>
</rss>

