<?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: Dynamically file name in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765147#M1117079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Concatenate 'US' 'Filename' 'EXT' into lv_path.

open dataset lv_path in text mode....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2008 18:03:11 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2008-10-31T18:03:11Z</dc:date>
    <item>
      <title>Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765145#M1117077</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 getting the file name from /SAPDMC/LSM_PATH_FILE_SPLIT table . But i need to pass this file in the Application Server path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to pass the file name Dynamically.  Please help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 17:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765145#M1117077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T17:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765146#M1117078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if a table name be such big.&lt;/P&gt;&lt;P&gt;can u post more details and clearly..so that u can get help ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 17:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765146#M1117078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T17:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765147#M1117079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi check this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Concatenate 'US' 'Filename' 'EXT' into lv_path.

open dataset lv_path in text mode....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765147#M1117079</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-10-31T18:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765148#M1117080</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 have two parameters in the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One presentation Srver file path:&lt;/P&gt;&lt;P&gt; C:\Documents and Settings\RRR\Desktop\test1.xls&lt;/P&gt;&lt;P&gt;One Application Server fiel Path:&lt;/P&gt;&lt;P&gt;sapfeeds/interface/test1.xls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from above filename &lt;STRONG&gt;test1.xls&lt;/STRONG&gt;, i need to fill in the Application Srver file path dynamically in selection scree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i carry the file name to the second parameters (Application Server fiel Path) input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765148#M1117080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T18:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765149#M1117081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to follow some standard filename always and find the string length of the whole file name and pick the last few cahracters of the file name and concatenate for the app server path.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765149#M1117081</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-10-31T18:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765150#M1117082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you already asked how to get the file name from that string, I'll continue from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of writing it like I did in my answer, use the same type of string reading for puting it into a variable, as in file_name = file+0(cont).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have the file name in the variable file_name, so you just concatenate the string for your new path with this variable into another variable, and can pass it dinamically to the presentetion server in the form of this new variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765150#M1117082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T18:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765151#M1117083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay I wrote some logic which ill work for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA lv_line TYPE i.
DATA: lv_p TYPE string VALUE 'sapfeeds/interface/test1.xls'.
DATA: lv_junk TYPE string.
lv_line = STRLEN( lv_p ).

IF lv_p CS '/'.
  DO 2 TIMES.
    SPLIT lv_p AT '/' INTO lv_junk lv_p.
  ENDDO.
  WRITE / lv_p.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765151#M1117083</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-10-31T18:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765152#M1117084</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;You can populate the values dynammically at selection screen event. Here you need to call the function module 'DYNP_VALUES_READ' which reads the contents on the selection screen and then u need to call another function module 'DYNP_VALUES_UPDATE' which updates the contents the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your case read the file name using fisrt function module and then use the second functionmodule to update the path in the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Preetham S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765152#M1117084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765153#M1117085</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 have 2 input 's on the selection screen . I am giving the C:\ravi\test1.txt in first input. After that I am reding the filename text1.txt bysuing the FM. I am kepping in one variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This valiable should come in second input automatically. My problme is this Valiable not carrying to the second input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 18:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765153#M1117085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T18:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765154#M1117086</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;How are u entering the values manaully or by f4 help. If you populate manually then u will have to trigger the even manually. I suggest u to populate the values using F4. So in that value request event you can populate the second field as well using the function module i mentioned in my previous post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;preetham s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 19:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765154#M1117086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T19:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically file name</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765155#M1117087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved By Me thQ yoo all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ajay reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2008 19:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-file-name/m-p/4765155#M1117087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-31T19:42:09Z</dc:date>
    </item>
  </channel>
</rss>

