<?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: FUNCTION MODULE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588288#M592472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module is to save the file in the specified file path.&lt;/P&gt;&lt;P&gt;Nowmally if u try to save a text document or word whatever may be it will open one \dialog box where u can specify the place where u want to store the file.&lt;/P&gt;&lt;P&gt;This functionj module is for the same purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WINDOW_TITLE: is the Title of the file Save dialog box.( Test window)&lt;/P&gt;&lt;P&gt;DEFAULT_FILE_NAME  : File name (TEST.TXT)&lt;/P&gt;&lt;P&gt;INITIAL_DIRECTORY  : Path ( C:\)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 05:35:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-24T05:35:15Z</dc:date>
    <item>
      <title>FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588285#M592469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;   GUI_FILE_SAVE_DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE ABOVE FUNCTION MODULE USE AND WHAT VARIABLE IS GOING TO PASS IN THAT.&lt;/P&gt;&lt;P&gt;LET ME KNOW .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588285#M592469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588286#M592470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module opens a pop-up requesting for a path where a file can be or is to be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the import parameters are optional. If there is a deafult file name, then it can be passed in the parameter DEFAULT_FILE_NAME. Similarly, if there is a default file type, it can be passed in the parameter FILE_FILTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export Parameters: &lt;/P&gt;&lt;P&gt;FILENAME: Returns the file name selected/entered in the pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATH: Returns the path selected in the pop-up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FULLPATH: Returns the full path. i.e. Path followed by filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark points if the solution was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588286#M592470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588287#M592471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in 4.6c this function module does not exist...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur system please check in where used list so u can know which parameters u have to pass....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;maheedhar.t&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588287#M592471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588288#M592472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module is to save the file in the specified file path.&lt;/P&gt;&lt;P&gt;Nowmally if u try to save a text document or word whatever may be it will open one \dialog box where u can specify the place where u want to store the file.&lt;/P&gt;&lt;P&gt;This functionj module is for the same purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WINDOW_TITLE: is the Title of the file Save dialog box.( Test window)&lt;/P&gt;&lt;P&gt;DEFAULT_FILE_NAME  : File name (TEST.TXT)&lt;/P&gt;&lt;P&gt;INITIAL_DIRECTORY  : Path ( C:\)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:35:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588288#M592472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588289#M592473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ramesh,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use it in this way&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
    IMPORTING
      FULLPATH                = V_FILENAME
      USER_ACTION             = V_RETCODE
    EXCEPTIONS
      OTHERS                  = 1.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ELSEIF V_RETCODE = 9.
    &amp;lt;b&amp;gt;MESSAGE E000 WITH 'Action cancelled'.&amp;lt;/b&amp;gt;
    EXIT.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:39:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588289#M592473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588290#M592474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: filename TYPE string.
DATA: path TYPE string.
DATA: fullpath TYPE string.


CALL FUNCTION 'GUI_FILE_SAVE_DIALOG'
 EXPORTING
   window_title            = 'Save a File'
   default_extension       = '.jpg'
*   DEFAULT_FILE_NAME       =
*   WITH_ENCODING           =
*   FILE_FILTER             =
   initial_directory       = 'C:'
 IMPORTING
   filename                = filename
   path                    = path
   fullpath                = fullpath
*   USER_ACTION             =
*   FILE_ENCODING           =
          .

WRITE:/ filename.
WRITE:/ path.
WRITE:/ fullpath.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/2588290#M592474</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-07-24T05:42:26Z</dc:date>
    </item>
  </channel>
</rss>

