<?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 please explain these Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348683#M518283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain me the use and the purpose of the following function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CLOI_PUT_SIGN_IN_FRONT.&lt;/P&gt;&lt;P&gt;2. file_get_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;phyrose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2007 07:45:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-04T07:45:56Z</dc:date>
    <item>
      <title>please explain these Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348683#M518283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please explain me the use and the purpose of the following function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CLOI_PUT_SIGN_IN_FRONT.&lt;/P&gt;&lt;P&gt;2. file_get_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;phyrose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:45:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348683#M518283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: please explain these Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348684#M518284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.It will place sign symbol in front of field value, as per standard sign symbol comes after the value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1000.00 - to -1000.00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2,it will get the list of file names.&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348684#M518284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: please explain these Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348685#M518285</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;Actually I can only explain the second one.&lt;/P&gt;&lt;P&gt;You use logical filenames to define filenames independently from the physical structure of the underlying system. So you can use the same program for different systems or change the final filename without changing the program.&lt;/P&gt;&lt;P&gt;The function module you mentioned is used to translate the logical filename into the final phyiscal filename.&lt;/P&gt;&lt;P&gt;For example you maintained a logical filename SALES_OVERVIEW in transaction FILE.&lt;/P&gt;&lt;P&gt;The function module will return the maintained physical path/filename like C:/Temp/SalesOverview.CSV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Timo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348685#M518285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: please explain these Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348686#M518286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Purpose of FILE_GET_NAME.&lt;/P&gt;&lt;P&gt;FU FILE_GET_NAME&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;Assign the Physical File Name Using a Logical File Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;R/3 applications run on various platforms with various file systems. This function module enables you to use platform-independent logical file names in your application programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on definitions maintained in customizing tables for platform-independent file names, the function module converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.&lt;/P&gt;&lt;P&gt;For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logical file name: MONTHLY_SALES_FILE &lt;/P&gt;&lt;P&gt;physical file name: VALUES&amp;lt;PARAM_1&amp;gt; &lt;/P&gt;&lt;P&gt;logical path: SALES_DATA_PATH &lt;/P&gt;&lt;P&gt;  physical path (UNIX): /usr/&amp;lt;SYSID&amp;gt;/&amp;lt;FILENAME&amp;gt; &lt;/P&gt;&lt;P&gt;  physical path (Windows): C:\SALES\&amp;lt;FILENAME&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 1&lt;/P&gt;&lt;P&gt;Get file name for UNIX platform&lt;/P&gt;&lt;P&gt;(current system: K11)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;      LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME = FILE&lt;/P&gt;&lt;P&gt;      FILE_FORMAT = FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;FILE = /usr/K11/VALUES&lt;/P&gt;&lt;P&gt;FORMAT = WK1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2&lt;/P&gt;&lt;P&gt;Get file name for UNIX platform, passing a parameter&lt;/P&gt;&lt;P&gt;(current system: K11)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;      LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'&lt;/P&gt;&lt;P&gt;      PARAMETER_1 = '_TST'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME = FILE&lt;/P&gt;&lt;P&gt;      FILE_FORMAT = FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;FILE = /usr/K11/VALUES_TST&lt;/P&gt;&lt;P&gt;FORMAT = WK1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 3&lt;/P&gt;&lt;P&gt;Get file name for WINDOWS platform, with file name extension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;      LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'&lt;/P&gt;&lt;P&gt;      WITH_FILE_EXTENSION = 'X'&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME = FILE&lt;/P&gt;&lt;P&gt;      FILE_FORMAT = FORMAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;FILE = C:\SALES\VALUES.WK1&lt;/P&gt;&lt;P&gt;FORMAT = WK1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;All definitions needed for the platform-independent assignment of file names are maintained client-independently with transaction FILE. Logical file names (but not logical file paths) can also be defined specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following concepts are used in the platform-independent assignment of file names:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logical file name&lt;/P&gt;&lt;P&gt;A descriptive name for a file which is associated with these values:&lt;/P&gt;&lt;P&gt;physical file name&lt;/P&gt;&lt;P&gt;file format&lt;/P&gt;&lt;P&gt;logical file path.&lt;/P&gt;&lt;P&gt;If no logical file path is specified, the function module returns the physical file name only; placeholders are substituted by current values.&lt;/P&gt;&lt;P&gt;Physical file name&lt;/P&gt;&lt;P&gt;The physical file name may contain placeholders.&lt;/P&gt;&lt;P&gt;Logical file path&lt;/P&gt;&lt;P&gt;A descriptive name for a path which is associated with these values:&lt;/P&gt;&lt;P&gt;syntax groups (groups of operating systems)&lt;/P&gt;&lt;P&gt;physical file paths.&lt;/P&gt;&lt;P&gt;Physical file path&lt;/P&gt;&lt;P&gt;The physical file path is defined for a particular syntax group. It must contain the reserved word &amp;lt;FILENAME&amp;gt; as a placeholder for the file name. It may also contain other placeholders.&lt;/P&gt;&lt;P&gt;Operating system&lt;/P&gt;&lt;P&gt;Presentation server and application server can run under different operating systems. The current value for the application server can be obtained from the system field SY-OPSYS, the value for the presentation server by calling function module WS_QUERY.&lt;/P&gt;&lt;P&gt;Both operating systems must be defined and assigned to a syntax group.&lt;/P&gt;&lt;P&gt;Syntax group&lt;/P&gt;&lt;P&gt;Group of operating systems with a common syntax for file and path names (e.g. HP-UX and SINIX).&lt;/P&gt;&lt;P&gt;Placeholder&lt;/P&gt;&lt;P&gt;Reserved words, set in angle brackets, which can be included in physical file and path names (e.g. &amp;lt;DATE&amp;gt;, &amp;lt;FILENAME&amp;gt;). You can find information on possible reserved words in the online help (F1 help) for the fields physical file name and physical file path when maintaining platform-independent file names with transaction FILE.&lt;/P&gt;&lt;P&gt;If the logical path associated with a logical file name does not specify a physical path for the current operating system (syntax group), the path stored in the profile parameter DIR_GLOBAL of the current system is used for generating a complete platform-specific file name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.CLOI_PUT_SIGN_IN_FRONT&lt;/P&gt;&lt;P&gt;This FM accepts only the character type variable.It will not accept the field symbol that you have used.&lt;/P&gt;&lt;P&gt;Declare a variable of type char and assign your value to that variable and then pass this variable to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use like this.&lt;/P&gt;&lt;P&gt;Data : l_data(10) Type c.&lt;/P&gt;&lt;P&gt;l_data = &amp;lt;fs&amp;gt;-value.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;VALUE = l_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348686#M518286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: please explain these Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348687#M518287</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;FILE_GET_NAME:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/3 applications run on various platforms with various file systems. This function module enables you to use platform-independent logical file names in your application programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on definitions maintained in customizing tables for platform-independent file names, the function module converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.&lt;/P&gt;&lt;P&gt;For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOI_PUT_SIGN_IN_FRONT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just pu the trailing negative sign in front the variable.&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;v = 123-, then after passing through the Fm it becomes.&lt;/P&gt;&lt;P&gt;-123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:58:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/please-explain-these-function-module/m-p/2348687#M518287</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-06-04T07:58:46Z</dc:date>
    </item>
  </channel>
</rss>

