<?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: Parameters used for file input in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855951#M47209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   What a perfect way of technically quoting point by point.&lt;/P&gt;&lt;P&gt;Thanx a lot for sharing your information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ragards,&lt;/P&gt;&lt;P&gt;Hello SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2005 20:46:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-16T20:46:01Z</dc:date>
    <item>
      <title>Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855945#M47203</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;PARAMETERS : P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY&lt;/P&gt;&lt;P&gt;PARAMETERS : P_FNAME LIKE IBIPPARMS-PATH OBLIGATORY&lt;/P&gt;&lt;P&gt;PARAMETERS : P_HFILE LIKE FILENAME-FILEINTERN OBLIGATORY&lt;/P&gt;&lt;P&gt;PARAMETERS : P_NAME TYPE APQI-GROUPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above are the various ways of decalring the parameters for file input... can u tell me what is the difference between them &amp;amp; the situations or condition when, which one has to be used ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;- Hello SAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 15:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855945#M47203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855946#M47204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure that there is a big difference between them, other than maybe field length(i haven't checked).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually use the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

PARAMETERS: P_FILE1 TYPE LOCALFILE DEFAULT
         'C:Test.txt'.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE1.
  CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
       EXPORTING
            STATIC    = 'X'
       CHANGING
            FILE_NAME = P_FILE1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 15:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855946#M47204</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-02-16T15:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855947#M47205</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;RLGRAP-FILENAME ,IBIPPARMS-PATH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both are of same component type LOCALFILE (length 128)&lt;/P&gt;&lt;P&gt;so actually therez no difference between them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other two are of smaller length..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME-FILEINTERN uses a check table...&lt;/P&gt;&lt;P&gt;Thats it I suppose..!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Immanuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 15:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855947#M47205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855948#M47206</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;   That was a good insight for the query. Can u tell me the decision criteria for which one to use when ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Hello SAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 17:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855948#M47206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855949#M47207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to use LOCALFILE(or any of the 128 character), if you are planning to allow the user to do a drop down to look for  a file.  To intferface to the FM above, the field must be 128 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 17:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855949#M47207</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-02-16T17:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855950#M47208</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 am assuming you are using the parameters to upload/download a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what they will do for you. Let us see the following file name parameter.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;PARAMETERS : P_FNAME LIKE RLGRAP-FILENAME OBLIGATORY&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Defining the parameter this way will help you in using the obsolete function modules of WS_DOWNLOAD, WS_UPLOAD as their interface requires the filename to be defined this way. But the new replacement for them GUI_DOWNLOAD and GUI_DOWNLOAD defined the filename as a string. Also F4 function modules used for browsing through desktop directories for a file like KD_GET_FILENAME_ON_F4 also use the parameter of this type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you are using a function module like the ones above, then you are better of with this parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us see this definition.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;PARAMETERS : P_FNAME LIKE IBIPPARMS-PATH OBLIGATORY&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;This is no different from the one above, so it makes no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next.&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;PARAMETERS : P_HFILE LIKE FILENAME-FILEINTERN OBLIGATORY&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;This is typically used for a logical file name, not a physical filename and path. What a logical filename does is that it allows you to define logically define filenames and use them in your programs at the same time giving you(or your network team) the flexibility to change the directory structure. When they change the directory structure, all you have to do is to change your logical path definition, rather than changing every single program that uses the path. FILE is the tcode for this area. Length of this is just 60 and so it may not be sufficient for the filename and path. But if you are using it as a logical file name, then it is useful when using function modules like FILE_GET_NAME which will read in a logical file name and give you the string containing the physical path and file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the last one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;PARAMETERS : P_NAME TYPE APQI-GROUPID.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not at relevant for files. This is used in batch input and this is the name of the batch input session. It is 12 characters long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, if not please let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 19:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855950#M47208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T19:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters used for file input</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855951#M47209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   What a perfect way of technically quoting point by point.&lt;/P&gt;&lt;P&gt;Thanx a lot for sharing your information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ragards,&lt;/P&gt;&lt;P&gt;Hello SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 20:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-used-for-file-input/m-p/855951#M47209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T20:46:01Z</dc:date>
    </item>
  </channel>
</rss>

