<?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: Regarding FM Execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828021#M920566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeram,&lt;/P&gt;&lt;P&gt;Application server file name is case sensitive. So u have to pass the file name with proper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare one parameter in ur program and add the addition LOWER-CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: PARAMETERS: po_file(120) TYPE c LOWER-CASE DEFAULT 'UR default file path name'..&lt;/P&gt;&lt;P&gt;This parameter will act as case sensitive. Now use this parameter. Also it is irrelavent whether it is constant/variable u r using. U cant use TRANSLATE file TO LOWER CASE because file may contain MIX of upper and lower cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur file path is constant then u can hard code it. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I feel first option will be flexible and makes sense.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 06:18:56 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-05-20T06:18:56Z</dc:date>
    <item>
      <title>Regarding FM Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828019#M920564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM: ARCHIVFILE_SERVER_TO_CLIEN.&lt;/P&gt;&lt;P&gt;With the parameters:&lt;/P&gt;&lt;P&gt;Path = /tmp/TEST EMP COMP COE ECM_MB_07.txt&lt;/P&gt;&lt;P&gt;And target Path = c:\Bonusbudget\TEST EMP COMP COE ECM_MB_07.txt&lt;/P&gt;&lt;P&gt;While executing this FM , if I checked the uppercase/lower case checkbox, I am getting the proper results otherwise I am getting the error that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error in opening file /TMP/TEST EMP COMP COE ECM_MB_07.TXT for reading (No such file or directory).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I am calling this in my program and getting the above error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here by dig into the issue,I came to know that if I pass the Parameters as constant values for the above FM ,I am getting the proper results and if I take the parameters as variables, I am getting the errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please suggest me the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me any alternate FM or the mechnism to convert Variable to Constant at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points are assured for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 06:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828019#M920564</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2008-05-20T06:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FM Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828020#M920565</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 there is no need for passing the constant values for the function module as most of the programs which are using the function module are using the parameters only.I think you might have declared the variable directly.It is converting the lower case into upper case also.You can use the option of lower case with parameters to get the lower case also in the parameters.Otherwise it will convert it into upper case as you enter the values in the selection-screen.Refer to the function module ARCHIVOBJECT_GET_DT_VIA_SERVER where he is passing the parameters only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 06:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828020#M920565</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-05-20T06:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FM Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828021#M920566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sreeram,&lt;/P&gt;&lt;P&gt;Application server file name is case sensitive. So u have to pass the file name with proper case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare one parameter in ur program and add the addition LOWER-CASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: PARAMETERS: po_file(120) TYPE c LOWER-CASE DEFAULT 'UR default file path name'..&lt;/P&gt;&lt;P&gt;This parameter will act as case sensitive. Now use this parameter. Also it is irrelavent whether it is constant/variable u r using. U cant use TRANSLATE file TO LOWER CASE because file may contain MIX of upper and lower cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ur file path is constant then u can hard code it. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I feel first option will be flexible and makes sense.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 06:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828021#M920566</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-20T06:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FM Execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828022#M920567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 08:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-fm-execution/m-p/3828022#M920567</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-04-21T08:46:55Z</dc:date>
    </item>
  </channel>
</rss>

