<?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: F4 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227118#M138219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;  I am writing a BDC. I am searching for a FM which will open a window so that user may select a file and return the path of the selected file. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  The path returned by the FM will be provided to FM 'GUI_UPLOAD'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Is this is possible with this FM 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Apr 2006 06:18:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-18T06:18:28Z</dc:date>
    <item>
      <title>F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227112#M138213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;  I have to provide F4 help to a selection screen parameter, so that I may get file path of application server.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Is there is any Function Module for this.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  Thanks in Advance&lt;/P&gt;&lt;P&gt;  Punit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227112#M138213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227113#M138214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi punit,&lt;/P&gt;&lt;P&gt;check this fm..&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;check this program..&lt;/P&gt;&lt;P&gt;PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/EC5'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_filedir occurs 10.&lt;/P&gt;&lt;P&gt;include structure salfldir.&lt;/P&gt;&lt;P&gt;data: end of it_filedir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get Current Directory Listing for OUT Dir&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;call function 'RZL_READ_DIR_LOCAL'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;name = p_fdir&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;file_tbl = it_filedir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;List of files are contained within table it_filedir&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;loop at it_filedir.&lt;/P&gt;&lt;P&gt;write: / it_filedir-NAME.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if useful...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227113#M138214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227114#M138215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Punit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this thread, you will get the info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1362608"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:06:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227114#M138215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227115#M138216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Punit&lt;/P&gt;&lt;P&gt;you can assign F4 help to any parameter on selection-screen using&lt;/P&gt;&lt;P&gt;PROCESS ON HELP REQUEST FOR &amp;lt;field&amp;gt; event for that particular parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227115#M138216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227116#M138217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Punit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This question has been asked a number of times. Just check this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZJAYRA_FILEPROG                         .&lt;/P&gt;&lt;P&gt;data: it_tab type filetable with header line,&lt;/P&gt;&lt;P&gt;      gd_subrc type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: rlgrap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters file_nam type rlgrap-filename .&lt;/P&gt;&lt;P&gt;data: user_act type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for file_nam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    WINDOW_TITLE            = 'select a file'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   DEFAULT_EXTENSION       = '*.txt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    DEFAULT_FILENAME        = ''&lt;/P&gt;&lt;P&gt;    FILE_FILTER             = '*.txt'&lt;/P&gt;&lt;P&gt;    INITIAL_DIRECTORY       = ''&lt;/P&gt;&lt;P&gt;    MULTISELECTION          = abap_false&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   WITH_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    file_table              = it_tab[]&lt;/P&gt;&lt;P&gt;    rc                      = gd_subrc&lt;/P&gt;&lt;P&gt;    USER_ACTION             = user_act&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILE_ENCODING           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    FILE_OPEN_DIALOG_FAILED = 1&lt;/P&gt;&lt;P&gt;    CNTL_ERROR              = 2&lt;/P&gt;&lt;P&gt;    ERROR_NO_GUI            = 3&lt;/P&gt;&lt;P&gt;    NOT_SUPPORTED_BY_GUI    = 4&lt;/P&gt;&lt;P&gt;    others                  = 5&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if user_act = '0'.&lt;/P&gt;&lt;P&gt;loop at it_tab.&lt;/P&gt;&lt;P&gt;file_nam = it_tab-filename.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:08:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227116#M138217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227117#M138218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Punit,&lt;/P&gt;&lt;P&gt;  you can use MATCHCODE OBJECT in select options.&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:  S_MATNR   FOR  MARC-MATNR MATCHCODE OBJECT S_MAT1,&lt;/P&gt;&lt;P&gt;or,&lt;/P&gt;&lt;P&gt;You can use this function module&lt;/P&gt;&lt;P&gt; F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;In this function module you pass internal table values.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt; Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:08:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227117#M138218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227118#M138219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;  I am writing a BDC. I am searching for a FM which will open a window so that user may select a file and return the path of the selected file. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  The path returned by the FM will be provided to FM 'GUI_UPLOAD'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  Is this is possible with this FM 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227118#M138219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227119#M138220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai punit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4 help to get file path of application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function group name -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt; DX_FILE&lt;/P&gt;&lt;P&gt;Function MODULE----&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;F4_DXFILENAME_TOPRECURSION &lt;/P&gt;&lt;P&gt;Popup to select one file from the given application server directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;praba.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227119#M138220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227120#M138221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Use this Function Module and code to open application server file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS       : app_fp TYPE localfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR app_fp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Open Dialog Box for Application Server files&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      serverfile       = app_fp&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      canceled_by_user = 1&lt;/P&gt;&lt;P&gt;      OTHERS           = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Check error &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manoj B Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227120#M138221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227121#M138222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Punit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the method file_open_dialog&lt;/P&gt;&lt;P&gt;of the class cl_gui_frontend_services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will satisfy your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The path you selected will be stored in the parameter.&lt;/P&gt;&lt;P&gt;This can then be sent to other Function Modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:22:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227121#M138222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227122#M138223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;You can also try F4_FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rashmi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:27:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227122#M138223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227123#M138224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Punit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD, I don't think it will work for app servers. Please go through the thread I have referred in my earlier posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More over, CL_GUI_FRONTEND_SERVICES will NOT work for app servers as well as in the background. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please choose the right funciton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2006 06:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/1227123#M138224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-18T06:34:34Z</dc:date>
    </item>
  </channel>
</rss>

