<?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: Problem with SO_NEW_DOCUMENT_ATT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898772#M375528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the same way which i have given all the inputs to the FM but Still i am getting an attachment ...... For the first time i am not getting the attachment if i am running the RFC for the second time Then it is display an attchment.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-RECEIVER = INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND RECLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-RECEIVER = AUTHORITY1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND RECLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          DOCUMENT_DATA = DOC_CHNG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          PUT_IN_OUTBOX = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          COMMIT_WORK   = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          PACKING_LIST  = OBJPACK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OBJECT_HEADER = OBJHEAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CONTENTS_BIN  = OBJBIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CONTENTS_TXT  = OBJTXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          RECEIVERS     = RECLIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          TOO_MANY_RECEIVERS = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          DOCUMENT_NOT_SENT  = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OPERATION_NO_AUTHORIZATION = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OTHERS = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    submit rsconn01 with mode = 'INT' and return.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ramana Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Jan 2007 12:21:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-20T12:21:40Z</dc:date>
    <item>
      <title>Problem with SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898770#M375526</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 am using SO_NEW_DOCUMENT_ATT_SEND_API1 this FM for sending mails but I am having small problem... When i am running a RFC  which is having this FM first time it is sending mail without any attachment..... But when i am executing second time the same RFC i am getting an attachment ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me what is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 11:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898770#M375526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T11:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898771#M375527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murthy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out are you passing all below mentioned parameters or not. If yes put a break-point before this function module &amp;amp; check weather data is populated in all the structures &amp;amp; tables or not. If not there may be some problem with filling the structures.&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              = 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               = it_pcklist&lt;/P&gt;&lt;P&gt;      contents_txt               = it_mess&lt;/P&gt;&lt;P&gt;      contents_hex               = it_table&lt;/P&gt;&lt;P&gt;      receivers                  = it_receivers&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;      document_type_not_exist    = 3&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;Ashven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 12:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898771#M375527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T12:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SO_NEW_DOCUMENT_ATT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898772#M375528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the same way which i have given all the inputs to the FM but Still i am getting an attachment ...... For the first time i am not getting the attachment if i am running the RFC for the second time Then it is display an attchment.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-RECEIVER = INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND RECLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-RECEIVER = AUTHORITY1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECLIST-REC_TYPE = 'U'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND RECLIST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          DOCUMENT_DATA = DOC_CHNG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          PUT_IN_OUTBOX = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          COMMIT_WORK   = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          PACKING_LIST  = OBJPACK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OBJECT_HEADER = OBJHEAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CONTENTS_BIN  = OBJBIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CONTENTS_TXT  = OBJTXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          RECEIVERS     = RECLIST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          TOO_MANY_RECEIVERS = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          DOCUMENT_NOT_SENT  = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OPERATION_NO_AUTHORIZATION = 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          OTHERS = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    submit rsconn01 with mode = 'INT' and return.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ramana Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jan 2007 12:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-new-document-att-send-api1/m-p/1898772#M375528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-20T12:21:40Z</dc:date>
    </item>
  </channel>
</rss>

