<?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: PDF Filename in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-filename/m-p/2228523#M479282</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;I think you need to run the FTP command FM..&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FTP_COMMAND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the command the directiory path for the arcive in command parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get the result in data table parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now looping on the result table you search for the '.pdf'&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move that offset into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you can get the file name into your work area..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope am not wrong with your question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&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;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2007 08:55:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-26T08:55:43Z</dc:date>
    <item>
      <title>PDF Filename</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-filename/m-p/2228522#M479281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus!&lt;/P&gt;&lt;P&gt;  I have uploaded file through archivelink. It generates an object id automatically.&lt;/P&gt;&lt;P&gt;May i know how can i get filename? like &lt;/P&gt;&lt;P&gt;a.pdf i am uploading , i want to retrieve 'a' (name).&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-filename/m-p/2228522#M479281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: PDF Filename</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-filename/m-p/2228523#M479282</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;I think you need to run the FTP command FM..&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FTP_COMMAND'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the command the directiory path for the arcive in command parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get the result in data table parameter..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now looping on the result table you search for the '.pdf'&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;move that offset into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you can get the file name into your work area..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope am not wrong with your question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&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;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pdf-filename/m-p/2228523#M479282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:55:43Z</dc:date>
    </item>
  </channel>
</rss>

