<?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: Finding function modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228518#M479279</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;The replacements are sometimes documented by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not, just post here your EXACT wish, which FM do you want to upgrade, and someone will surely tell you within a few minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 May 2007 12:52:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-06T12:52:00Z</dc:date>
    <item>
      <title>Finding function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228516#M479277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Frnds,&lt;/P&gt;&lt;P&gt;                     I have a query regarding Funtion modules. Actually i m working in newer version so i want to know the replacement  for the older version.&lt;/P&gt;&lt;P&gt;Suppose earlier for uploading flat file data we used "ws_upload". But now in newer version we are using "GUI upload". So can anyone help me that how to find the new replacement function modules for the older ones.&lt;/P&gt;&lt;P&gt;i.e in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanking u all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 12:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228516#M479277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Finding function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228517#M479278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Refer the following code:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  upload_file
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*

FORM upload_file  USING    p_filename TYPE any
             CHANGING p_local_table TYPE t_local_table.

* To get the input data from desktop file


    DATA:  l_file TYPE string.
    CLEAR: l_file,
           p_local_table.

    l_file = p_filename.

    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = l_file
        filetype                = 'ASC'
      TABLES
        data_tab                = p_local_table
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE e002 WITH l_file.
    ENDIF.
  
ENDFORM.                    " upload_file&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here  l_file is the desktop file path and p_local_table is the internal table where the data is to be uploaded from the local file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 12:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228517#M479278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T12:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228518#M479279</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;The replacements are sometimes documented by SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If they are not, just post here your EXACT wish, which FM do you want to upgrade, and someone will surely tell you within a few minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 12:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228518#M479279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Finding function modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228519#M479280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no specific way. You can 'Function Module documentation' in SE37. You can get some help.Ex: For 'WS_UPLOAD' , 'Function Module documentation'  clearly says that : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FU WS_UPLOAD&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;OBSOLETE: Transfer Presentation Server File to Internal Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploads a file from the presentation server into an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obsolete. Use class CL_GUI_FRONTEND_SERVICES.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, If you dont find a FM in newer version, You can search a FM which does the similar task in the newer version. Such as in the newer version for uploading flat file :&lt;/P&gt;&lt;P&gt;1. Open SE37&lt;/P&gt;&lt;P&gt;2. Write '&lt;STRONG&gt;UPLOAD&lt;/STRONG&gt;' in the Functional module name&lt;/P&gt;&lt;P&gt;3. Then press F4&lt;/P&gt;&lt;P&gt;4. From the help you can find a appopriate FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some 'Function Module documentation'  also, you will find a SAP recomendation for replacement of a older FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 May 2007 13:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-function-modules/m-p/2228519#M479280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-06T13:00:34Z</dc:date>
    </item>
  </channel>
</rss>

