<?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: FM SO_NEW_DOCUMENT_ATT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329260#M1228113</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;I've chcked the settings and the RAW is set as TXT only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any other settings ahve to be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2009 08:54:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-09T08:54:27Z</dc:date>
    <item>
      <title>FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329250#M1228103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sending a mail using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 with an Excel as an attachment and some text in the body of the mail.I have given the DOC TYPE as "ASC"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, the program wroks fine on D system, but on Q system the body of the mail comes as an attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if anyone has the solution.&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;Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:17:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329250#M1228103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329251#M1228104</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;Go to TCODE SCOT in Quality system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on SMTP node&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on &lt;STRONG&gt;Set&lt;/STRONG&gt;  against internet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under "Output format for SAP document"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAW Text must be &lt;STRONG&gt;TXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check if other SCOT settings are same as development&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329251#M1228104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329252#M1228105</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;objpack-transf_bin = 'X'. --&amp;gt; Will get content from contents_bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objpack-transf_bin = ' '. --&amp;gt; Will get content from contents_txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329252#M1228105</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-03-09T06:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329253#M1228106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The good way to know the reason is debugging .&lt;/P&gt;&lt;P&gt;Put the break point on the FM:SO_NEW_DOCUMENT_ATT_SEND_API1 and how the same is differing from D to Q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mean while you can check whether the necessary parameters were populated properly or not like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              document_data              = lv_doc_chng&lt;/P&gt;&lt;P&gt;              put_in_outbox              = c_x&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              packing_list               = it_objpack&lt;/P&gt;&lt;P&gt;              object_header              = it_objhead&lt;/P&gt;&lt;P&gt;              contents_bin               = it_ty_ty_tab_objbin&lt;/P&gt;&lt;P&gt;              contents_txt               = it_objtxt&lt;/P&gt;&lt;P&gt;              receivers                  = it_reclist&lt;/P&gt;&lt;P&gt;            EXCEPTIONS&lt;/P&gt;&lt;P&gt;              too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;              document_not_sent          = 2&lt;/P&gt;&lt;P&gt;              operation_no_authorization = 4.&lt;/P&gt;&lt;P&gt;above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram Kumar.Madisetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:28:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329253#M1228106</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-03-09T06:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329254#M1228107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to implement the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;  Declaration of variables for Excel &amp;amp; Email&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;                                               .&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_packing_list  LIKE sopcklsti1 OCCURS  0 WITH HEADER LINE                    ,&lt;/P&gt;&lt;P&gt;      i_object_header LIKE solisti1   OCCURS  0 WITH HEADER LINE                    ,&lt;/P&gt;&lt;P&gt;      i_contents      LIKE solisti1   OCCURS  0 WITH HEADER LINE                    ,&lt;/P&gt;&lt;P&gt;      i_receiver      LIKE somlreci1  OCCURS  0 WITH HEADER LINE                    ,&lt;/P&gt;&lt;P&gt;      v_tab_lines     LIKE sy-tabix                                                 ,&lt;/P&gt;&lt;P&gt;      wa_doc_data     LIKE sodocchgi1                                               ,&lt;/P&gt;&lt;P&gt;      v_attachment    TYPE string                                                   ,&lt;/P&gt;&lt;P&gt;      i_attachment2   TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE              ,&lt;/P&gt;&lt;P&gt;      i_attachment3   TYPE STANDARD TABLE OF solix INITIAL SIZE 0 WITH HEADER LINE  ,&lt;/P&gt;&lt;P&gt;      v_mail         TYPE c                                                        .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    constants:       c_tab                  TYPE c                   VALUE cl_abap_char_utilities=&amp;gt;horizontal_tab,&lt;/P&gt;&lt;P&gt;           c_cret                 TYPE c                   VALUE cl_abap_char_utilities=&amp;gt;cr_lf,&lt;/P&gt;&lt;P&gt;           c_u                    TYPE c                   VALUE 'U'                      ,&lt;/P&gt;&lt;P&gt;           c_x                    TYPE c                   VALUE 'X'                      ,&lt;/P&gt;&lt;P&gt;           c_xls(3)               TYPE c                   VALUE 'xls'    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creating the document to be sent&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_doc_data-obj_name = text-043.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;subject&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_doc_data-obj_descr = p_subj.&lt;/P&gt;&lt;P&gt;  i_contents-line = text-061.&lt;/P&gt;&lt;P&gt;  APPEND i_contents.&lt;/P&gt;&lt;P&gt;  i_contents-line = ' '.&lt;/P&gt;&lt;P&gt;  APPEND i_contents.&lt;/P&gt;&lt;P&gt;  i_contents-line = text-029.&lt;/P&gt;&lt;P&gt;  APPEND i_contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE i_contents LINES v_tab_lines.&lt;/P&gt;&lt;P&gt;  READ TABLE i_contents INDEX v_tab_lines.&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    wa_doc_data-doc_size = ( v_tab_lines - 1 ) * 255 + STRLEN( i_contents ).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creating the entry for the compressed document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR i_packing_list-transf_bin.&lt;/P&gt;&lt;P&gt;  i_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  i_packing_list-head_num   = 0.&lt;/P&gt;&lt;P&gt;  i_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  i_packing_list-body_num   = v_tab_lines.&lt;/P&gt;&lt;P&gt;  i_packing_list-doc_type   = c_raw.&lt;/P&gt;&lt;P&gt;  APPEND i_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;build your xls_data_table.&lt;/P&gt;&lt;P&gt;  DATA: lv_sy_datum  TYPE string,&lt;/P&gt;&lt;P&gt;        lv_datuv(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_andat(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_aedat(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_rldat(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_mime_type(34) TYPE c VALUE 'APPLICATION/MSEXCEL; charset=UTF-8',  &amp;lt;----&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;        lv_row_text TYPE string,&lt;/P&gt;&lt;P&gt;        lv_row_hex TYPE xstring,&lt;/P&gt;&lt;P&gt;        lv_date(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_emailname(50) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONSTANTS: lc_name1(25) TYPE c VALUE 'XXX',&lt;/P&gt;&lt;P&gt;             lc_name2(5)  TYPE c VALUE '.XLS',                                &amp;lt;----&lt;/P&gt;&lt;HR originaltext="---------------------" /&gt;&lt;P&gt;             lc_tag     TYPE c VALUE '_'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creating the entry for the compressed attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  i_packing_list-transf_bin = c_x.&lt;/P&gt;&lt;P&gt;  i_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  i_packing_list-head_num   = 1.&lt;/P&gt;&lt;P&gt;  i_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  i_packing_list-body_num   = v_tab_lines.&lt;/P&gt;&lt;P&gt;  i_packing_list-doc_type   = c_xls.&lt;/P&gt;&lt;P&gt;  i_packing_list-obj_name   = c_xls.&lt;/P&gt;&lt;P&gt;  i_packing_list-obj_descr  = lv_emailname.&lt;/P&gt;&lt;P&gt;  i_packing_list-doc_size   = v_tab_lines * 255.&lt;/P&gt;&lt;P&gt;  APPEND i_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sending the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      document_data              = wa_doc_data&lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work                = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      packing_list               = i_packing_list&lt;/P&gt;&lt;P&gt;      object_header              = i_object_header&lt;/P&gt;&lt;P&gt;      contents_hex               = i_attachment3&lt;/P&gt;&lt;P&gt;      contents_txt               = i_contents&lt;/P&gt;&lt;P&gt;      receivers                  = i_receiver&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      parameter_error            = 5&lt;/P&gt;&lt;P&gt;      x_error                    = 6&lt;/P&gt;&lt;P&gt;      enqueue_error              = 7&lt;/P&gt;&lt;P&gt;      OTHERS                     = 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    MESSAGE s034(zxxxmf) WITH text-048.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329254#M1228107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329255#M1228108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Please search in the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[FM SO_NEW_DOCUMENT_ATT_SEND_API1|https://www.sdn.sap.com/irj/scn/advancedsearch?adv=true&amp;amp;cat=sdn_all&amp;amp;cat=sdn_library&amp;amp;query=ids&amp;amp;start=91&amp;amp;searchmode=similar&amp;amp;similardocsuri=/forumsrm/1_category/42_category/50_forum/194688_thread/2168911_message ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:29:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329255#M1228108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329256#M1228109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajvansh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the below code as 'ASC' and not 'RAW'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR g_t_objpack-transf_bin.&lt;/P&gt;&lt;P&gt;  g_t_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;  g_t_objpack-head_num = 0.&lt;/P&gt;&lt;P&gt;  g_t_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;  g_t_objpack-body_num = g_f_tablines.&lt;/P&gt;&lt;P&gt;  g_t_objpack-doc_type = 'ASC'.              &lt;/P&gt;&lt;P&gt;  APPEND g_t_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mail format on Q system is same as 'RAW'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pleaase help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329256#M1228109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329257#M1228110</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;Have you compared in settings in Development and quality ? Is there a difference ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume your code is right as you said it works fine in development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In TCODE SBWP you can create a test message and check if it works in quality&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajvansh Ravi on Mar 9, 2009 7:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329257#M1228110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329258#M1228111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a repeated question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check the setting in SCOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to t code SCOT --&amp;gt; selet SMTP and click on dipaly from the applitool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then from the popup window click on SET of Internet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;their you can see in out put should be in TXT mode . then only u'll get mail in body and not in attachemnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might be this settig is not made in quality and only done in development&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 06:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329258#M1228111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T06:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329259#M1228112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajvansh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked the settings and the RAW is set to TXT only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other setting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:53:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329259#M1228112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: FM SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329260#M1228113</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;I've chcked the settings and the RAW is set as TXT only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if any other settings ahve to be made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2009 08:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-so-new-document-att-send-api1/m-p/5329260#M1228113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-09T08:54:27Z</dc:date>
    </item>
  </channel>
</rss>

