<?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: reg : one selection screen object ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930300#M385435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;parameters : p_file like rlgrap-filename.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.

  CALL FUNCTION 'F4_FILENAME'
       EXPORTING
            program_name  = v_repid
            dynpro_number = syst-dynnr
            field_name    = 'P_FILE'
       IMPORTING
            file_name     = p_file.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 15:24:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T15:24:01Z</dc:date>
    <item>
      <title>reg : one selection screen object ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930299#M385434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends..&lt;/P&gt;&lt;P&gt;in my selection screen there is 2 radio button..&lt;/P&gt;&lt;P&gt;and one parameter..&lt;/P&gt;&lt;P&gt;by click the first button.. i want to select one file from application server&lt;/P&gt;&lt;P&gt;                                    (i.e)path in the parameter&lt;/P&gt;&lt;P&gt;by click the second button.. i want to select one file from presentation server&lt;/P&gt;&lt;P&gt;                                    (i.e)path in the parameter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 15:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930299#M385434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T15:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: reg : one selection screen object ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930300#M385435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;parameters : p_file like rlgrap-filename.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.

  CALL FUNCTION 'F4_FILENAME'
       EXPORTING
            program_name  = v_repid
            dynpro_number = syst-dynnr
            field_name    = 'P_FILE'
       IMPORTING
            file_name     = p_file.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 15:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930300#M385435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: reg : one selection screen object ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930301#M385436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;this is for application server

AT SELECTION-SCREEN ON VALUE-REQUEST FOR f_app.
 

  DATA: c_fnh_mask TYPE dxfields-filemask VALUE '*.*',
  search_dir TYPE dxfields-longpath VALUE '/sapglobal/users',
  file_path LIKE dxfields-longpath.
 
  CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
    EXPORTING
      i_location_flag = 'A'
      i_server        = ' '
      i_path          = search_dir
      filemask        = c_fnh_mask
      fileoperation   = 'R'
    IMPORTING
      o_path          = file_path
    EXCEPTIONS
      rfc_error       = 1
      OTHERS          = 2.
  IF sy-subrc EQ 0.
    f_app = file_path.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 15:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930301#M385436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T15:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: reg : one selection screen object ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930302#M385437</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;Use the following routine to provide F4 help depending on a parameter that tells you if the file is on application server or presentation server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
form f4_value_request_for_file using file type c.
 
  if p_local = 'X'.
*-- F4 for desktop file
    call function '/SAPDMC/LSM_F4_FRONTEND_FILE'
         exporting
              pathname         = ' '
         changing
              pathfile         = file
         exceptions
              canceled_by_user = 1
              system_error     = 2
              others           = 3.
    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.
    endif.
  else.
*-- F4 for server file
    call function '/SAPDMC/LSM_F4_SERVER_FILE'
         exporting
              directory        = ' '
              filemask         = ' '
         importing
              serverfile       = file
         exceptions
              canceled_by_user = 1
              others           = 2.
    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.
    endif.
  endif.
 
endform.                     " F4_VALUE_REQUEST_FOR_FILE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 15:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-one-selection-screen-object/m-p/1930302#M385437</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-01T15:33:56Z</dc:date>
    </item>
  </channel>
</rss>

