Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FUNCTION MODULE.

Former Member
0 Likes
398

hi folks,

what does this function module useful for

'F4_DXFILENAME_TOPRECURSION'. CAN U CLEAR ME PLZ.

3 REPLIES 3
Read only

Former Member
0 Likes
372
Read only

Former Member
0 Likes
372

Hi Vinay,

The above FM is used to get F4 help for Application Server


parameters:  p_file1 type dxfields-longpath .

at selection-screen on value-request for p_file1.

  call function 'F4_DXFILENAME_TOPRECURSION'
    exporting
      i_location_flag = 'A'
      filemask        = '*.*'
      fileoperation   = 'W'
    importing
      o_path          = p_file1
    exceptions
      rfc_error       = 1
      error_with_gui  = 2
      others          = 3.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.

Edited by: Chandrasekhar Jagarlamudi on Feb 12, 2008 9:01 PM

Read only

former_member156446
Active Contributor
0 Likes
372

Award points if helpful:

Text

F4 Help Files

The device is an aid for selecting the file.

This may indicate whether the file on the presentation or application server, application server, which is used to be (if elected application server) and what path it should use.

If this information (in this hierarchy), only partially transferred, the remaining data.

Furthermore, can still file a mask with wild cards and the upcoming file transfer operation.

The output you get the selected the server, server and path / filename. If the selection canceled without the user has selected a file, it will be returned (and the input values in the output cut).

Parameters

O_LOCATION_FLAG

O_PATH

O_SERVER

ABEND_FLAG

FILEMASK

FILEOPERATION

I_LOCATION_FLAG

I_PATH

I_SERVER

Exceptions

RFC_ERROR

ERROR_WITH_GUI