<?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 Attachment Names in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647081#M287740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nazim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PACK_LIST table of the FM the field OBJ_DESCR specifies the file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So change the name of the file append to this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2006 11:59:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-13T11:59:29Z</dc:date>
    <item>
      <title>Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647079#M287738</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 the FM&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; to send data from the program to the user's email Id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a small issue I am facing. The report has two different files to be emailed and the code seems to be fine. But when the email is delivered, both the files have the same names (attachment1.txt &amp;amp; attachment1.txt). The contents of the two files are diferent as per the expected results but only for the attachment names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this case would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647079#M287738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647080#M287739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please cut-paste the code which populates the packing_list internal table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel the issue is with the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please cut-paste the code so that we can put forth the suggestions !!&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anurag Bankley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:56:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647080#M287739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647081#M287740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nazim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PACK_LIST table of the FM the field OBJ_DESCR specifies the file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So change the name of the file append to this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 11:59:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647081#M287740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647082#M287741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here are the parameters we will pass when we use the Fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lt_packing_list-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;  lt_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  lt_packing_list-head_num = 0.&lt;/P&gt;&lt;P&gt;  lt_packing_list-body_start = lv_start.&lt;/P&gt;&lt;P&gt;  lt_packing_list-body_num = tab_lines.&lt;/P&gt;&lt;P&gt;  lt_packing_list-doc_type = lv_extension.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;lt_packing_list-obj_name = it_attach_data-attch_name.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  lt_packing_list-obj_descr = it_attach_data-attch_desc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we write an append statements, so in your case, when &lt;/P&gt;&lt;P&gt;filling the second time, you need to send the different file name, so pass the new name, ans also look the same in Debugging mode, it should come correct ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 12:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647082#M287741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T12:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647083#M287742</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;Thanks for the reply. But the PACK_LIST table has two different entries for the two file names I need to send.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC   OBJ_NAME     OBJ_DESCR &lt;/P&gt;&lt;P&gt;RAW   Non Upstream  11/13/2006 06:25:03 Non Upstream   &lt;/P&gt;&lt;P&gt;RAW   Upstream         11/13/2006 06:25:03 Upstream&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 12:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647083#M287742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T12:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Attachment Names</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647084#M287743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this weblog, this ll help you give you better idea about sending the mail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2006 13:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-attachment-names/m-p/1647084#M287743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-13T13:11:22Z</dc:date>
    </item>
  </channel>
</rss>

